CentOS Configuration IP and Telnet

Source: Internet
Author: User
Tags get ip

Installing CentOS on a virtual machine does not have to say, install Linux first is to surf the internet, just like windows, have the Internet is king.

First of all, the network mode of the virtual machine is bridge mode; Enter the Linux terminal

Run: dhclient command to get IP automatically

The middle will wait a few seconds, then run ifconfig, check the network card 650) this.width=650; "style=" float:left; "src=" http://s5.51cto.com/wyfs02/M00/7E/FA/ Wkiom1coqeiqx0t9aaa7aywfa20676.png "title=" qq picture 20160413205512.png "alt=" Wkiom1coqeiqx0t9aaa7aywfa20676.png "/> It doesn't matter if you don't get IP, we manually configure














Run: Vi/etc/sysconfig/network-scripts/ifcfg-eth0

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7E/F7/wKioL1cOQ7WDf8MQAAANkRRiVCc853.png "title=" QQ picture 20160413205941.png "alt=" Wkiol1coq7wdf8mqaaankrrivcc853.png "/>

Edit as follows (this is my example)

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7E/FA/wKiom1cOQ4WAEMgzAAAgUBgnelw986.png "title=" QQ picture 20160413210201.png "alt=" Wkiom1coq4waemgzaaagubgnelw986.png "/>

Restart Network card: Service Network restart

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7E/F7/wKioL1cORfaAeTx1AAAfNEO6wFM517.png "title=" QQ picture 20160413210911.png "alt=" Wkiol1corfaaetx1aaafneo6wfm517.png "/>

No other network configuration problems, it's almost good to go here, you can try to ping through

Ping www.qq.com Try it.

Computer download good putty, accustomed to use it, open the next step to install a direct installation, open putty, enter the IP address you configured, click Save, and then click Open, log in with root, enter the password is OK!

Very simple, if there is a problem, most of the virtual machine network configuration problem, this can be found from the Internet to solve.

This article is from the "Linux" blog, so be sure to keep this source http://molinsky.blog.51cto.com/9310917/1763575

CentOS Configuration IP and Telnet

Related Article

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.