I have recorded some problems related to the installation and use of centos. There are too many documents on the Internet and it is very inefficient to solve the problems. So I should take a note.
1. There is still a lot of information available for system installation on the Internet. It should also be difficult for new users to check carefully.
2. After installing the system, if you enter the command line interface by default, you can use init 5 to switch to the desktop system.
If the desktop is not installed:
1. display the components installed in the system and the components that can be installed:
Yum grouplist
2. if the system is installed with minimal installation at the beginning, and XWindow is not installed, first install:
Yum groupinstall "X Window System"
3. Install GNOME Desktop Environment
Yum groupinstall "GNOME Desktop Environment"
4. Install the KDE Desktop Environment
Yum groupinstall "KDE (K desktop environment )"
5. Uninstall GNOME Desktop Environment
Yum groupremove "GNOME Desktop Environment"
6. Uninstall the KDE Desktop Environment
Yum groupremove "KDE (K desktop environment )"
3. Install a Chinese package (if Chinese characters such as the browser are garbled)
Yum groupinstall Chinese-support
If the process is interrupted by a misoperation in the middle, you can use the PS query to obtain the PID and kill-9 the PID to kill the process and re-install it.
In addition, multiple process errors, interruptions, and other operations may cause Redundant process cache information, resulting in an urlopen Error error.
In this case, you can use Yum clean all to clear the cache and then use it normally.
4. Install the enhancement package (guest additions)
Start the system and select "Install enhancement package" in the settings. a cd folder appears on the desktop.
The default directory is/Media/. You can enter the CD file sh xxxxxx. Run XXX, which is your version enhancement package. Run file.
Note that errors are reported in many versions of the system because some packages are missing.
Therefore, install GCC and kernel-devel and kernel-headers first.
After the installation is complete, make a connection
Ln-S/usr/src/kernels/2.6.18-194.26.1.el5-i686/usr/src/Linux
Note: Be sure to perform this operation. Otherwise, the virtualbox client will report an error during the installation process.
Different Versions of "2.6.18-194.26.1.el5-i686" may vary. You need to enter them based on your system kernel.
The version number must be the same as the file directory under/usr/src/kernels.
Then run the. Run file again.
5. To be continued