Fedora Quick Setup.

Source: Internet
Author: User
Tags gpg

Originally has been using the Debian system +gnome GUI, now replaced by the FEDORA12KDE version, it is not very smooth, Fedora's documents are not as easy to read as the Ubuntu collation. So record:

Added users need to give a sudo:

Su Root Visudo finds the line root all= (all), and adds a row of _username_ all= (All)

Software Installation and management procedures: usage of Yum

Yum Install _apps_name_//Installer Yum search _apps_name_//Search program Yum info _apps_name_//View program information Yum Remove _apps_name_//delete degree Y UM update//update system Yum--enablerepo=_repo_name_//Enable software warehouse Yum--disablerepo=_repo_name_//Disable software warehouse//Other useful things:// Automatically select the fastest mirror (search from the mirror list on the machine): Yum install Yum-fastestmirror//graphical interface yum install Yumex//import Fedora Gpg key method rpm--import/etc/pki /rpm-gpg/*//import RPM Fushion warehouse (mainly contains a lot of free and non-free software) it is necessary to use RPM-IVH http://download1.rpmfusion.org/free/fedora/ rpmfusion-free-release-stable.noarch.rpm RPM-IVH http://download1.rpmfusion.org/nonfree/fedora/ rpmfusion-nonfree-release-stable.noarch.rpm Yum Update

Configure other sources: If you must use a source, the Jiaotong University is actually very good. Vi/etc/yum.repos.d/sjtu.repo

[fedora-ftp.sjtu.edu.cn] Name=fedora 12-i386 baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/12/fedora/i386/ Os/enabled=1 gpgcheck=0 Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-fedora [everything-ftp.sjtu.edu.cn] Name= Everything 12-i386 baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/12/everything/i386/os/enabled=1 gpgcheck= 0 Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-fedora [updates-ftp.sjtu.edu.cn] Name=fedora updates baseurl=http:// Ftp.sjtu.edu.cn/fedora/linux/updates/12/i386/enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/ Rpm-gpg-key-fedora

-------------------------------------------------------------Install video driver------------------------------------------------------ ------

Install video driver: (I am here is Nvidia's GF6200 card, in the Fedora KDE Environment manual installation of the driver, many people here installed on the black screen, and their own manual loading and trouble)

Fedora 12 introduces Nouveau KMS support, which looks like an open source version of the graphics driver module. Nouveau I can't figure it out, it's just like

Manual installation Method//update the latest kernel and header files, and install the compilation environment Yum install GCC kernel kernel-headers kernel-devel//Here you have to keep in mind that you run the kernel, The kernel header file and the version of the header file that was invoked at the time of the compile drive must be consistent. Otherwise, you can't run.//disable Nouveau vi/boot/grub/grub.conf//In the line of your kernel rhgb quiet append//nouveau.modeset=0//For example: Kernel/ Vmlinuz-2.6.31.12-174.22.3.fc12.i686.pae ro root=uuid=017 ... Lang=zh_cn. UTF-8 keyboardtype=pc keytable=us RHGB quiet nouveau.modeset=0//disable/etc/modprobe.d/blacklist.conf in Nouveau vi/etc/ modprobe.d/blacklist.conf//Add a line of blacklist nouveau//reboot after entering Init 3, run directly under the official program. The normal compilation is complete. Don't focus on the start until you've installed it. ---------------------manual Installation Part1 end------------------//--------------The following is an official RPM fushion library installation-------------//for GeForce 6, 7, 8, 9 & 200 Series Graphics Su-yum--enablerepo=rp*g install kmod-nvidia.$ (uname-m)/Xorg-x11-drv-nvidia-libs.i6 XORG-X11-DRV-NVIDIA-LIBS.X86_64//If you are using PAE kernel su yum--enablerepo=rp*g install Kmod-nvidia-pae xorg-x11-drv-nvidia-libs.i686/xorg-x11-drv-nvidia-libs.x86_64 reboot//or (Akmod builds the required kmod on bootup) su -Yum--enablerepO=rp*g Install akmod-nvidia/xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64//For GeForce FX Graphics Su-yum- -enablerepo=rp*g Install kmod-nvidia-173xx.$ (uname-m)/xorg-x11-drv-nvidia-173xx-libs.i686 XORG-X11-DRV-NVIDIA-173XX-LIBS.X86_64//If you are using PAE kernel su-yum--enablerepo=rp*g install Kmod-nvidia-173xx-pae xorg-x11-drv-nvidia-173xx-libs.i686/xorg-x11-drv-nvidia-173xx-libs.x86_64 reboot//or (Akmod builds the required Kmod On bootup) Su-yum--enablerepo=rp*g Install akmod-nvidia-173xx/xorg-x11-drv-nvidia-173xx-libs.i686 xorg-x11-drv-nvidia-173xx-libs.x86_64//for GeForce 4 and earlier cards Su-yum--enablerepo=rp*g install kmod-nvidia-96xx.$ (uname- m)/xorg-x11-drv-nvidia-96xx-libs  

Above, the graphics driver is installed. But if this reboot will be black screen, in the Fedora12 inside, also need to configure.

Use the correct shielding nouveau to vi/etc/grub.conf//change the last part of the line to Rdblacklist=nouveau//prevent SELinux blocking graphics driver module from loading setsebool-p allow_ Execstack on

OK, in which setting will the Nvidia X Server settings appear when the reboot is completed?

Lsmod can also find Nvidia's modules. It's a good fit.

However, a new problem, this one installed, the start interface is not only ugly, and TTY inside the resolution is unusually low. It's killing me. Solutions are still available.

This thing is actually a graphical guide called Plymouth, it's like that kms or something. Regardless of this, we only need to mesa the driver to guide it.

Method:

Reboot to edit the kernel line when the grub chooses the interface, that is, the one we disabled nouveau, and then add the Vga=ask to select the video modes after startup, it will make a table. It is good to enter the corresponding modes encoding. For example, mine is 348 so I see that beautiful boot-boot interface. But it's obviously not good to play on your own every time. thus To change the above setting again. Into the system after the vi/etc/grub.conf to Vga=ask to vga=_your_code_in_hex_ This is your code of 16 to express such as my is vga=0x348 so beautiful ...

It should be noted that the upgrade kernel also needs to be recompiled when you compile the drive yourself.

But as long as you enter init 3 in TTY,

And then

./nvidia-linux-x86-*-pkg0.run-k '

That is, a-K parameter represents only compiling the kernel module and no longer installs the driver files. When you are done, reboot.

------------------------------------------------------The video card driver is loaded------------------------------------------------------------

The following is the configuration of the user environment:

Chinese Culture:

Searchable yum search KDE Chinese//find suitable, now KDE with yum install Kde-l10-chinese

Install Input Method

Yum Install IBUs Ibus-pinyin

Basically put here the rest of it according to their own like to come. This is the place to be.

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.