Recently, I want to learn how to install linux. starting from getting started, I installed CentOS6.3-minimal first. I found it is the least-used command interface for Windows er. I want to upgrade the desktop first. The tutorial is as follows. 1. add a common user and set the password useradd-Um2danpasswd2dan2. view the network status and enable the wired network eth0, get the address through dhcp, and check the obtained IP address
Recently, I want to learn how to install linux. starting from getting started, I installed CentOS6.3-minimal first. I found it is the least-used command interface for Windows er. I want to upgrade the desktop first. The tutorial is as follows.
1. add a common user and set the password
Useradd-Um 2dan
Passwd 2dan
2. view the network status and enable the wired network eth0. obtain the address through dhcp and check the obtained IP address.
Ifconfig eth0
Dhclient eth0
Ifconfig eth0
3. perform an online upgrade
Yum update
4. install the desktop system
Yum groupinstall "Desktop"
Yum groupinstall "X Window System"
5. install Chinese support
Yum groupinstall "Chinese Support"
[Note] when installing minial CentOS, if you select English by default, you need to modify/etc/sysconfig/i18n to LANG = "zh_CN.UTF-8"
6. start gnome
Startx
Then press Ctrl + Alt + F2
If you want to enable Yang to automatically start gnome, edit the/etc/inittab file and set
Id: 3: initdefault
Change
Id: 5: initdefault
It takes effect after restart.