&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.