Making Network Configuration
-
3. Login as SuperUser
Login as Super-User
This to make Commands shorter to Execute:sudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
-
4. Making Network Setup
Then to Make Network Configuration
Do:-
Get hostname:
hostname
-
Get IP:
/sbin/ifconfig
You will Find It Under the lo >> inet Section.
-
Check if Hostname is Already into the Enabled Hosts File.
cat /etc/hosts
If It’s Not Present then Insert it with:
nano /etc/hosts
Insert:
[myIP] [myHostname]
Example: ‘127.0.0.1 localhost.localdomain’
Ctrl+Shift+v to Paste Content on nano
Ctrl+x to Save and Exit from nano Editor :) -
Grant Connection to X Server
xhost +myIP
Example: # xhost +127.0.0.1
-
Contents