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)

Source: Internet
Author: User
Tags get ip

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.