Objective
Create two virtual Linux systems in a Windows environment, and then write code in terminal mode with a Xshell connection.
Native environment
WIN10 x64
12G Memory
Preparatory work
Virtual Machine Software VMS
Xftp 5 (slightly)
Xshell 5
CentOS 7 x64 System image
Action 1
1. VM Installation CentOS recommended minimum installation (name: server, create User: server, password 1234)
2. Clone virtual Machine (name: client, create User: client, password 1234)
Now get two units of "machine".
My configuration
Action 2
Below we use Xshell to connect via SSH.
1. Open the server
2. Log in with the server user,
3. Enter IP addr To obtain the current IP address
4. Create a connection in Xshell to fill in the host address, user name & password save
5. Make an SSH connection, OK
Repeat 1--5 Add connection to client
Action 3
For UNIX network programming, we can upload the unpv13e folder to two "machines" via xftp
The following steps refer to
ubuntu14.04 Configuration of UNIX network programming environment-a small white-blog Park
Http://www.cnblogs.com/startnow/p/5383020.html
UNIX Network Programming environment construction