Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu server set static ip

/* Manual Configuration */
#open the /etc/network/interfaces file
` vim /etc/network/interfaces`
#add
iface enp0s3 inet static
	address `your ip 10.0.1.20/24`
    gateway '10.0.1.1`
    dns-nameservers 8.8.8.8
 #restart the server to apply changes
 `sudo systemctl restart`
 
 #verify
 `ip a`
 `ping google.com`
Comment

PREVIOUS NEXT
Code Example
Shell :: total disk space in linux 
Shell :: git force push to remote 
Shell :: edge download ubuntu 
Shell :: sound and video on cards will not function until mpv or mplayer is installed 
Shell :: configuring git ssh keys 
Shell :: how to open files from linux terminal 
Shell :: vagrant vbox guest additions install 
Shell :: increment in bash 
Shell :: powershell add user to remote desktop group 
Shell :: break line echo 
Shell :: kubernetes exec into pod 
Shell :: how to install homebrew on macos 
Shell :: check android studio path linux 
Shell :: powershell get-childitem 
Shell :: how to make a tarball in linux 
Shell :: bash load file into list 
Shell :: copy files out of docker 
Shell :: ssh copy folder from local to remote 
Shell :: scp ssh key 
Shell :: git tutorial remove branches on local that do not exist on remote 
Shell :: refresh prometheus configuration 
Shell :: brew install docker 
Shell :: docker-compose build 
Shell :: pycharm install face_recognition 
Shell :: git revert to commit 
Shell :: bash single vs double quotes 
Shell :: remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication 
Shell :: download entire website Linux terminal 
Shell :: git search all commits for string 
Shell :: linux whereis command 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =