Configure the network in Ubuntu Linux 8.04 environment

Source: Internet
Author: User
Keywords Configure the network the environment the installation
Tags aliyun apache configuration configure configure the network default environment etc

&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; Configuration of Ubuntu Server Edition

1, install the server version, the default installation lamp (linux,apache,mysql,php)

2, the default choice to install SSH

3, after installation configure network type command: sudo vim/etc/network/interfaces

User Vim opens and presses the I key to insert mode, ESC to enter non-edit mode

Under the iface eth0 inet static, follow the simple configuration you want.

Address 192.168.1.2

Netmask 255.255.255.0

Gateway 192.168.1.1

Then configure DNS, command: sudo vi/etc/resolv.conf

NameServer 192.168.1.1

NameServer xxx.xxx. x.x

Enter command: Wq save exit

Modify permanent host name: sudo vi/etc/hostname

Finally reboot receptacle

sudo/etc/init.d/networking restart

Configure the basic finish, and then ping the Web site to try whether you can connect to the network.

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.