FedoraCore2 official version uses Problem Solving concentration camp

Source: Internet
Author: User
Article Title: the formal version of FedoraCore2 solves problems in concentration camps. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. garbled Chinese characters are displayed under the terminal
Modify. bashrc to add
Export LC_ALL = zh_CN
Export LANG = zh_CN
  
2. By default, neither vi nor gedit correctly displays gb2312 encoded files.
Several Methods
1) Run gconf-editor, modify the automatic probe encoding settings of gedit, and add GB2312
2) Before editing, use iconv-f gb2312-t utf8 filename for transcoding.
3) Run vi. Before opening the file, set: set encoding = GB2312
4). The editor using gedit, kwrite, mozilla composer or eclipse supports GB2312 encoding.
5). use emacs
  
3. kde is not easy to use and jumps out of n-plus Htt IM State.
System settings-server settings-service, disable llim service, Htt IM Status will not come out
  
4. How to beautify Fedora Core with the Wuyi beautification package of Hami melon 2
1) Stop the input method that comes with FC2.
#/Etc/init. d/IIim stop
2) download and install the Wuyi beautification package for Hami melon.
Http://download.linuxsir.org/fontconfig/linuxsir-fontconfig-3.2.1.run
Installation Process (can be completely removed from the keyboard ):
1. Check whether the file has executable attributes after download. You can use the mouse to directly modify its properties or execute
Chmod 755 linuxsir-fontconfig-3.2.1.run
2. Double-click the file or run the following command on the shell side:
/Linuxsir-fontconfig-3.2.1.run or sh linuxsir-fontconfig-3.2.1.run
For detailed procedures, see the prompts during the installation process.
  
3) Restart xwindows. Everything is OK.
  
You can also use the beautification package that is moved from ML. Before installation, run the XF86Config symbol to connect to xorg. conf.
  
5. We also encountered some problems when accessing some websites. The resolution was very slow and the probability of failure was quite high.
The problem is caused by a function called ECN (clearly blocking notification) in Linux 2.6 kernel. ECN allows routers to report network congestion to users, but when ECN is enabled, this will also cause some old firewalls to reject network connections. To disable ECN, we have to add the "net. ipv4.tcp _ ecn = 0" command in the/etc/sysctl. conf. File.
  
6. The display is not recognized when FC2 is installed.
Call/etc/X11/xorg. conf. If the/etc/X11/xorg. conf. backup fails
You can start it and re-adjust the display.
  
7. Why can't Konqueror in fc2 display thumbnails of image files? How can I set it to directly display image files as before?
In configuration, select "display file prompt"> "display preview in file prompt"
  
8. What is the rescue disk of FC2 used?
It is an emergency disk. You can use this disk to start and fix it when the system fails.
  
9. The fat32 partition is automatically mounted to GB2312 or CP936 in fstab. The Chinese folder is displayed as invalid Unicode of XXX.
Encoding parameters are not required for mounting vfat partitions in fc2 unless zhcon is used in the terminal.
  
10. Questions about the five-stroke input method in Fc2
Disable iiimf ──/etc/rc. d/IIim stop or serviceconf
Install fcitx ── fcitx-2.0.2-4
# Rpm-e miniChinput
# Rpm-ivh fcitx-2.0.2-4
Restart X. You can enable fcitx. If not, modify. bashrc.
Add the following section:
# FCITX
Export XMODIFIERS = "@ im = fcitx"
Export XIM = fcitx
Export XIM_PROGRAM = fcitx
  
# LOCALE setup
Export LC_ALL = zh_CN
Export LANG = zh_CN
  
# Load fcitx
Fcitx &
  
11. How to install FedoraCore2 in vmware 4.5.1?
Download the ISO and install it in VMware4.51. After installation, install VMware tools and change the pointer segment of XF86config:
Device "/dev/input/mice"
Then you can see gnome2.6 after startx.
  
12. mozilla uses version 1.6, with only e in the language.
You just need to install the Chinese Language Pack on your own or go to 1.6 of the next Simplified Chinese version.
  
13. In the latest fedora driver, the 4 K stacks option of kernel hacking is canceled, resulting in the failure of the nvidia existing driver. (Thanks to fudaming)
Here is a solution. Download the official kernel www.kernel.org and compile it by yourself. Then, start with the kernel and install the driver. I am using the 2.6.6 kernel, 5341 driver. Everything works.
Detailed method:
To http://www.kernel.org/download the kernel source code, I use 2.6.6, the address is as follows
The http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2 put it in the/usr/src directory and unzip it. Get the directory named linux-2.6.6
Enter () and use
# Make gconfig
Configure the kernel. At this time, it will detect the configuration file, if there is no default configuration file. config,/boot/config-XXXXX will be used as the configuration file to load. This is the default configuration file of the current fedora kernel. It is recommended that you do not change the configuration file because it is running correctly.
A Configuration window appears after the configuration file is loaded. Some options are included. Since fedora has installed many patches on its own kernel, 4kstacks is not available, so it should be canceled with the official kernel. Another option is to be canceled:
CONFIG_4STACKS = n (no)
And
CONFIG_REGParmS = n (no)
Insert: Someone cannot start the system after compiling the kernel, cannot find the root partition, or cannot load it. This is a good solution. What format is the root partition, just compile it into the core, do not load as a module.
After the configuration is complete, click Save to save and exit. Many articles have introduced the kernel compilation method. I will follow this process.
# Make
# Make modules_install
# Make install
After this is done, check/boot/grub. check whether the new kernel entry is modified in the conf file, and whether the file is copied to the/boot directory. After confirming that the file will be restarted, select the new kernel.
  
Install the nvidia driver as usual (first save the relevant files)
First in the console
# Init 3
#./NVIDIA *. run
Modify the configuration file xorg. conf.
Modify the/etc/inittab to convert 3 (command line) to 5 (Xwindows)
  
14. Why cannot I start winxp when FC2 is installed?
Is fc2 in the primary partition? If it is a primary partition, boot the win partition to be activated, add
Root noverify (hd0, 0)
Makeactive
Chainloader + 1
You can also change the hard disk mode to LBA in your BIOS.
  
15. How to install the ora Core 2 boot floppy disk (thanks to weihe_duoduo)
First, create a boot disk for Mandrake Linux, which is written in the hd_grub.img image file (I use cooker, and the file is in/cooker/i586/images ). Then, change the content of the menu. lst file in the boot disk. The file content before root modification is as follows:
Timeout 0
Default 0
Title Mandrake Install
Root (hd0, 4)
Kernel/cooker/i586/isolinux/alt0/vmlinuz ramdisk_size = 128000 root =/dev/ram3 acpi = ht vga = 788 automatic Ic = method: disk, partition = hda5, directory =/cooker/i586/isolinux/alt0/all. rdz
  
Here, I will explain this file a little (only about what we need to change ). "Title" indicates the description of the task you want to complete. It doesn't matter if you don't change it. "Root (hd0, 4)" means to put your image file there. "Hd0" indicates the hard disk on which the file is stored, and "4" indicates the partition on which the file is stored. "Root (hd0, 4)" indicates that the file is placed in the fifth partition of the first hard disk, that is, hda5, which corresponds to "partition = hda5. If the file is placed in the sixth partition of the first hard disk, It should be represented as "root (hd0, 5)", that is, hda6; if it is the fifth partition of the second hard disk, it should be represented as "root (hd1, 4)", that is, hdb5. "Kernel/cooker/i586/isolinux/alt0/vmlinuz" and "directory =/cooker/i586/isolinux/alt0/all. rdz" are the main files to be loaded after startup. This is where we want to change. First, put vmlinuz and initrd under the isolinux directory in the first disk Of Your Fedora Core 2. extract the img files to a directory, such as/Fedora, and change "kernel/cooker/i586/isolinux/alt0/vmlinuz" to "kernel/Fedora/vmlinuz ", set "directory =/cooker/i586/isolinux/alt0/all. change rdz to directory =/Fedora/initrd. img ". Other settings do not need to be changed. In this way, a boot disk that can be started from a floppy disk to install Fedora Core 2 is ready.
  
16. How to install a hard disk
Put the three ISO files in the same directory, for example, G: \ Fedora. Use WinISO or WinRAR to decompress the dosutils directory of the first ISO ora ISO file, for example, in G: \ Fedora directory, boot disk with Windows 98 into DOS, do not load the optical drive. Switch the directory to dosutils and run autoboot to start the installation. Then you will be asked to select the installation method, select the hard disk installation, then you will be asked to select the ISO file storage path, select the partition, and then enter the directory name, such as: Select/dev/hda8, fill in Fedora.
Note: Linux treats all devices as files. The device connected to the Primary Master is named hda in Linux. The device connected to the Primary Slave is hdb, the device connected to the Secondary Master is hdc, and the device connected to the Secondary Slave is hdd. The/dev directory is where Linux stores device files. The hard disk is connected to the Primary Master, so it is hda, And the partition is followed by a number, because Linux retains 1-4 as the Primary partition, therefore, the first logical partition of the extended partition is represented by 5, and the D disk is generally hda5, so the above G disk is also hda8.
Tip: Fedora hides the selection of the reiserfs partition format. If the disk is installed, enter linux reiserfs after boot to format the partition to reiserfs during installation ,. For hard disk installation, enter autoboot reiserfs. Sometimes, because the installer does not support your video card, you can use the text mode to install it. Enter linux text after "boot.
  
17. What should I do without dosutils?
Create a new dosutilsfolder named beiinitrd.imgand vmlinuzto the folder. Then, upload beifedora1's loadlin.exe file to the same directory. The autoboot. bat class of a self-built batch processing file is as follows:
Loadlin vmli

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.