Explanation, the package is used, marked with yellow, used the shell command, with the green marking configuration document and content with green, and needs to be modified and specially paying with red.
1. How to modify host name vi / etc / sysconfig / network modify Hostname a behavior Hostname = host name
2. How to start in / etc / inittab in the text (graphics) interface, find the following line: ID: 5: INitDefault: red number, 3 means starting from the character interface, 5 means starting with graphical interface
3. How to make the Chinese in the FAT32 partition to display mount -o iocharset = cp936 / dev / hda * / mNT / mountpoint
4. How Mount NTFS Partition 1. HTTP://rpm.pbone.net/index.php3[01m website Search kernel-ntfs 2. Find the RPM package downloaded to the version kernel, don't go wrong :) 2. RPM - IVH KERNEL-NTFS- version number .i686.rpm 3. MKDIR / MNT / C 4. Mount -T NTFS / DEV / HDA1 / MNT / C
5. How to listen to the MP3 in XMMS (9.0) download www.gurulabs.com/files/xmms-mp3-1.2.7-13.p.i386.rpm rpm -UVH XMMS-MP3-1.2.7-13. P.i386.rpm
6. Forget the root user password to enter the system in single user mode, directly passwd root, modify the password you want to enter the system in single-user mode: (1) If LILO is used as a boot manager, "Boot:" When you enter the "Linux Single" Enter, you can enter a single user mode (if it is a graphical interface, press Ctrl x to enter the character interface) (2) If you use GRUB as the boot manager, when the boot interface appears If you choose to boot Linux, don't press Enter, press "E", enter the editing state, move the cursor to the next line kernel /boot/vmlinuz-2.4.18-14 ROOT = label = / again Press "E "Key, plus a" Single ", becoming the following kernel /boot/vmlinuz-2.4.18-14 Single Ro root = label = / then carries back, select Linux, start, you can 7. How to get in GNOME and KDE Switch between the desktop SwitchDesk Gnome SwitchDesk KDE
8. Change the system language / character set of Redhat to modify the / etc / sysconfig / i18n file, such as lang = "en_us", XWindow displays the English interface, LANG = "en_cn.gb18030", XWindow will display the Chinese interface. There is also a method CP / etc / sysconfig / i18n $ home / .i18n modifies $ home / .i18n file, such as lang = "en_us", XWindow will display the English interface, lang = "zh_cn.gb18030", XWindow displays the Chinese interface . This will change the individual's interface language without affecting other users.
9. How to extract ZIP file unzip *
10. How to extract the RAR file to download Rar for Linux, install then Unrar E FileName can decompress 11. How to extract ".tar.gz", ". TGZ", ". TAR.BZ2" and other files * .tar.gz: TAR ZXVF * .TAR.GZ * .TGZ: tar.zxvf * .tar.gz * .tar.bz2: tar jvxf * .tar.bz2 12. How to view the PDF file to install XPDF or Adobe Acrobat for Linux 13. How to enter Chinese Redhat has its own intelligent pinyin, press Ctrl Space, and other input methods can also be used, such as XSIM, Scim, Fcitx, Violet, etc.
14. How to enter Chinese search "CCE" or "ENCON" under the character interface, download and install Ctrl Space to call up the input method, you can use it.
15. How to install software * .rpm: rpm -ivh * .rpm * .tar.gz: TAR ZVXF * .TAR.GZ ./configure make && make install 16. How to uninstall the software RPM installation: rpm -e software name If you don't know that the software name can be installed with tar.gz: Run Make Uninstall 17 in a directory that operates make Make, how to display directory size du -sh dirname, DIRNAME replacement to you want to view the directory name 18 How to see all files (including hidden files) LS -A
19. How do I know where software in RPM is installed? Rpm -qpl * .rpm
20. How to turn on the partition under automatic mount windows, such as the D disk you want Mount Windows, first create / mnt / d and modify / etc / fstab, add the following line, then write / dev / hda5 / MNT / D vfat defaults, codepage = 936, ocharset = cp936 0 0
21. How to find a file Find / Dir -Name filename Dir is the directory you want to find, filename is the name you want to find files if you don't know the file in that directory, or you don't know the full name of the file, such as only Remember that a file name contains several letters, such as "* abcd *" Locate ABCD, then the system will list all file names containing the file name of the "ABCD" string.
22. How to add / delete the RPM package after the hard disk installation, redhat-config-packages - management = your disc path
23. Why can't OpenOffice can't display Chinese change font settings Tools-> options-> font replacement andale sans ui -> SIMSUN24. How to format partition MKFS 25. How to view partitions and usage fdisk -l View Partition DF -H View Use
26. How to add new language packages after installation in 26.0.0 1. Put the first CD 2. CD / MNT / CDROM / RedHat / RPMS 3.RPM-IVH TTFONTS-EN_CN-2.11-29. NOARCH.RPM (Simplified Chinese, you can use the Tab key to make up the part of the back, to prevent incorrectly) 4.RPM-IVH TTFONTS-EN_TW-2.11-15.NOARCH.RPM (Traditional Chinese) If you still want to load Japanese , Korean, try the TTFONTS * .RPM II on the second CD. 9.0 is not on the first plate, on the third disk. RPM package name is: TTFONTS-ZH_CN-2.12-1.Noarch. RPM (Simplified Chinese) TTFONTS-EN_TW-2.11-19.NOARCH.RPM (Traditional Chinese)
27. How to change the IP vi / etc / sysconfg / network-scripts / ifcfg-eth0 modified one of the line addr = you want IP, Gateway = Your gateway then /etc/init.d/network restart Your new IP It can take effect.
28. How to modify the NIC Mac ifdown eth0 ifconfig eth0 HW Ether xx: xx: xx: xx: xx: xx xip eth0 where xx: xx: xx: xx: xx: xx For you want Mac
29. How to browse the webpage with Flash? Go to www.linuxfans.org search and download the Flash plugin, install