Quote: Linux now has two departments, one is the Redhat department and the Debian Department, Redhat department has Redhat,centos and other version of the operating system, Debian has Ubuntu and other versions of the operating system; maybe everyone is used to the Redhat system of Linux, If you re-use the Debian Department of Ubuntu there will be a lot of different and need to pay attention to the place;
Note the following points:
1 I installed ubuntu10.04.4 Server version for the first time, until the installation is not the root of the user's settings, only in the installation process has set up the general user, which led me to switch to the root user does not know the password, in fact, the first time we landed the system, We need to change the root password with the following command
sudo passwd
Enter password
Enter your password again
After the modification, Su Root, switch to the root user, enter the password just changed, you can switch to the root user, exit and can exit the root user;
2 after the first installation, we use Apt-get install package, general will not install packages, then we need to modify apt source, 163 of the domestic source can be changed;
Source modification Description, source configuration file is/etc/apt/sources.list;
Instructions for use:
Take Wily (15.10) as an example, edit the/etc/apt/sources.list file and add the following entry at the top of the file (please make a backup copy before operation)
deb http://mirrors.163.com/ubuntu/wily main restricted universe Multiversedeb http://mirrors.163.com/ubuntu/ Wily-security main restricted universe multiversedeb http://mirrors.163.com/ubuntu/wily-updates main restricted Universe Multiversedeb http://mirrors.163.com/ubuntu/wily-proposed main restricted universe Multiversedeb/HTTP Mirrors.163.com/ubuntu/wily-backports main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/wily Main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/wily-security main restricted universe MULTIVERSEDEB-SRC http://mirrors.163.com/ubuntu/wily-updates main restricted universe MULTIVERSEDEB-SRC/HTTP mirrors.163.com/ubuntu/wily-proposed main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ Wily-backports main restricted universe multiverse
or download the corresponding version of Sources.list, overwriting/etc/apt/sources.list ( Make the appropriate backup before operation)
- Lucid (10.04)
- Precise (12.04)
- Trusty (14.04)
- Utopic (14.10)
- Vivid (15.04)
- Wily (15.10)
- The corresponding version of the sources.list source, you can also add me qq:358041298 to my request
Ubuntu 10.04. Version 4 First installation notes and instructions