Debianlinux Installation Log

Source: Internet
Author: User
Debianlinux installation diary-Linux Release Technology-Debian information, the following is a detailed description. The system after installation is very small, as long as around MB

You can download the required software package from the network as needed.

Configure the NIC ip address and gateway

The configuration file is/etc/network/interfaces.

Change
Auto lo eth0
Iface lo inet loopback
Iface eth0 inet static
Address 193.168.20.199
Netmask 255.255.255.0
Gateway 193.168.20.2

Run/etc/init. d/networking restart.

Add/etc/apt/sources. lst
Http://http.us.debian.org/debian unstable main contrib
Esc +: + wq save and exit

Run
Apt-get update

The domain name cannot be resolved, but the dns server has been added to my resolv. conf, and it is determined that no resolution tool is installed. Therefore, manually add the http.us.debian.org IP address to the/etc/hosts file.
128.101.80.131 http.us.debian.org
Save execution
Apt-get update successful

Run
Apt-get dist-upgrade
To update the release
Restart the system
Online upgrade successful


Apt-cache search nslookup knows that the software for dns resolution is installed by host with the following command
Apt-get install host
OK

Apt-cache search 2.6.9
List related packages of 2.6.9, and select a package suitable for your system to download and install
Apt-install kernel-image-2.6.9-1-686
After installation, You need to modify the path of/etc/lilo. conf to initrd. Otherwise, the system cannot be loaded.
For example:
Image =/vmlinuz
Initrd =/boot/initrd. img-2.6.9-1-686
Label = linux
Read-only
Save execution
Lilo-v
Reboot
Load the system with the new kernel
Successful

Install the x environment and kde
Apt-get install x-window-system kde-i18n-zhcn kde-core ttf-arphic-gbsn000lp

Apt-get install rcconf
After installation, execute
Rcconf can be configured.

Apt-get install locales
Then select the supported locales for zh_CN zh_CN.GB18030, zh_CN.GBK, zh_CN.UTF-8
The system automatically generates the required locales

Install less in the minimum system without less
Apt-get install less
Then, use man to flip the page.

Command to clear unnecessary files in the cache:
Apt-get clean
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.