Configure Server settings Server IP address
1. Edit the network configuration file
# Vi/etc/sysconfig/network-scripts/ifcfg-eth0
2. Modify the network Auto-start (Modify the contents of the file)
Onboot=yes
VI command, I edit, move cursor, modify No to Yes, press ESC, enter WQ, save and exit.
3. Restart the network server
# Service Network Restart
4. View native IP address, currently DHCP get IP
Ifconfig
10.0.2.15 is the native IP address
The network configuration is complete.
Remote login outside the virtual machine
1. Download Remote login Software
http://winscp.net/eng/download.php
Please install it yourself.
2. Telnet to the virtual machine
Select protocol: SFTP, hostname:< virtual machine ip>, user name: root, Password: the password you just entered.
Click Login to log in.
I did not have access to 10.0.2.15 During the trial, by setting the virtual machine's network to host-only, restarting the virtual machine, and using the new IP login.
3. Link the virtual machine key confirmation
Click "YES"
Access reached.
4. Set Putty Access
Download Putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Download for Windows on Intel x86
Extract to WinSCP directory
Set WINSCP (options–> Preferences ...)
4. Start the console
5. Console Startup
At this point, the first lesson is completed and can be accessed remotely to the virtual machine.
The 1th lesson introduces the large-scale site operations in the end what is it? What you should have (2)-Large web site high concurrency architecture and automated operation and maintenance Combat (V)