Lin Bingwen Evankaka Original works. Reprint please specify the source Http://blog.csdn.net/evankaka
Operating system: Unbuntu14.04
Virtual machine: VMware10
First, network settings
1. Set up VMware Bridge Protocol
Local link, Properties->vmware Bridge Protocol Hook
2, then the host set static IP (if you have set the No tube)
3. VMware settings
Edit-"Virtual network editor"
4. Ununtu setting
Confirm off, next set Ubuntu IP and DNS, Terminal: (Alt+ctrl+t Open)
sudo vi/etc/network/interfaces
Then enter the following:
S (5) file used by Ifup (8) and Ifdown (8) Auto lo iface lo inet loopbackauto eth0iface eth0 inet staticaddress 10.75.4.25netm Ask 255.255.255.0gateway 10.75.4.254 dns-nameservers 10.75.210.1 107.5.210.2
Description
Iface eth0 inet Static indicates the use of static IP,
address10.75.4.25, set the IP address, and the IP of the computer on Windows in a network segment
Netmask 255.255.255.0 Set the mask to the IP of the computer on the windows in a network segment
Gateway 10.75.4.254 Sets the IP of the gateway to and the computer on Windows in a network segment
Dns-nameservers 10.75.210.1 107.5.210.2 Set the gateway, set DNS multiple spaces separated
There is also a way to set up DNS:
sudo vi/etc/resolvconf/resolv.conf.d/base
Add to:
NameServer 223.5.5.5
NameServer 223.6.6.6
Multiple rows down
Finally, it's good to restart the network.
sudo ifconfig etho down
and open it again.
sudo ifconfig etho up
Then open it and see if the IP address is set right.
5, verify whether the connection
Host Ping Virtual Host: Data returned successfully
Virtual Host Ping Host:
In fact, the best way is to open the browser directly on the OK: (if still not, please restart it)
Second, SSH login
SSH sub-client openssh-client and Openssh-server
If you just want to log on to another machine SSH only need to install Openssh-client (Ubuntu has default installation, if not then sudo
Apt-get install openssh-client), if you want the native SSH service to be installed Openssh-server
sudo apt-get install Openssh-server
Then confirm that the Sshserver is started:
Ps-e |grep SSH
If you see sshd that means Ssh-server has been activated.
1, the server installed and through the SECURECRT to connect to the Linux
Startup information
2. Client Connection
Then enter the IP (corresponding to the Linux IP, can use ipconfig view)
Finally, you can connect.
3.SFTP Login
With FileZilla, the installation process is simple. No more talking here. The difference between FileZilla and SECURECRT is a GUI interface, one without.
Copyright NOTICE: This article for Bo Master Lin Bingwen Evankaka original article, without Bo Master permission not reproduced.
Ubuntu14.04 Bridging network settings and SSH login