Ubunturoot Password Setting
Sudo passwd
[Email protected]:~$ sudo passwd
[sudo] password for LINUXIDC:
Enter a new UNIX Password:
re-enter the new UNIX Password:
passwd : The password was successfully updated
[Email protected]:~$
Note: This new password is Root password, which can be different from the current user's password.
enter in the terminal su Root , and then enter Root password, verify that the success can be switched to Root user. after the root user has finished the operation, the Exit command can be used to exit the root user and return the current logged-on user.
Ubuntu Setting up the Internet on both cards
in a virtual machine Exsi Virtual Exchange and virtual network cards are added
with Ifconfig–a View the status of your network card
the new virtual network card ifconfig eth1 up
Configure the two Web cards IP and add Routes
#vim/etc/network/interfaces
#The Primary Network Interface
Auto Eth0
Iface eth0 inet Static
Address x.x.x.x
Netmask 255.x.x.x
Network x.x.x.x
Broadcast x.x.x.x
#gateway x.x.x.x
#dns-*options implemented by the resolvconf package,if installed
Dns-nameservers x.x.x.x x.x.x.x
Dns-search x.x.x.com
Auto Eth1
Iface eth1 inet DHCP
Up route add x.0.0.0 netmask 255.0.0.0 GW x.x.x.254 Dev eth0
: Wq//Save and launch
Check out the following:
1. NETSTAT-NTLP = If no port is present, then SSH server is not installed by default
2. If you do not have an SSH server suite, please confirm that you can go to the public network and execute apt-get install openssh-server
3. after installation, make sure the firewall is turned on, and if so, turn it off .
iptables-l = look at the firewall setting state
Iptables- F = remove the settings from all firewalls
Iptables-save = Storage
This article from the "Linux Grow The Road" blog, declined to reprint!
First time installation ubuntu14.04.1 LTS X64 Server