Article Title: Customized settings after UbuntuLinux is installed. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Install the basic system
The Ubuntu 7.04 Alternate CD is installed here. Use Alternate CD to boot and then select "Install Command Line" to minimize installation. In this step, be sure not to select the Chinese language environment, otherwise, many prompts in the terminal window are in Chinese. Before loading X Windows, you can only see a pile of messy small blocks. In addition, you can set the network during the installation process.
System Partition
In Linux, there must be at least two partitions, one is/swap partition and the other is/root partition.
The ReiserFS file system is recommended for desktop users. The partitioning scheme is as follows (80 GB ):
/Swap 512 M
/8 GB
/Home 70G
It is not recommended that the number of swap partitions be greater than 1 GB or less than 128 MB.
2. Network Configuration
After the basic system is installed, you are required to restart the system and log on with the account and password set during the installation process.
If you use ADSL to access the Internet, set ADSL first:
Sudo pppoeconf
Pon dsl-provider # released
Poff # deprecate
Non-dial-up users use the following command to set the network
Sudo vim/etc/network/interfaces
The NIC automatically obtains the IP address through DHCP.
# The primary network interface (configure The primary network interface)
# Enable the eth0 interface automatically upon startup
Auto eth0
# Configure the eth0 interface to automatically obtain DHCP
Iface eth0 inet dhcp
Get IP Address
Sudo dhclient eth0
Nic static IP Address Allocation
# Enable the eth0 interface automatically upon startup
Auto eth0
# Configure the eth0 interface to set static IP addresses
Iface eth0 inet static
Address 192.168.1.2
Netmask 255.255.255.0
Network 192.168.1.0
Broadcast 192.168.1.255
Gateway 192.168.1.1
Activate the preceding settings
Sudo/etc/init. d/networking restart
DNS settings
Sudo/etc/resolv. conf
Join
Nameserver 202.102.152.3
[1] [2] [3] [4] Next page