28 things to do when Fedora 15/16 is installed

Source: Internet
Author: User
Tags auth delete key gpg gstreamer
#####
01. System Installation
Log on to the official website to download the latest LiveCD mirror image, engraved disc installation.
#####
02, set root can be directly logged in
Open the terminal and enter the command: $ su
Enter root password (password not displayed at this time, direct input)
Enter command: # gedit/etc/pam.d/gdm&
In the text editor, comment out the "auth required pam_succeed_if.so user!= root quiet" line (preceded by "#" in this line, change to #auth required pam_succeed_if.so user!). = root quiet)
Continue to enter the command in the terminal after the save exit: # gedit/etc/pam.d/gdm-password&
Also comment out the "auth required pam_succeed_if.so user!= root quiet" line.
Save the exit so that you can log on directly to root.
(The above two files can also be opened with VI Edit)
#####
03, set sudo
The command is entered as root in the terminal
# Visudo
Locate the following lines in the configuration file:
# # Allow ROOT to run any commands anywhere
Root all= (All)
Then, add the following below the uplink content
XXXX all= (All)
The XXXX is changed to its own username, so you can use sudo command later.
#####
04. Close SELinux
Edit the/etc/selinux/config file as root and change the value of the SELinux item in it to turn off and enable the SELinux service.
Modify to selinux=disable disable SELINUX
Modified into selinux=enforcing using SELINUX
(If you just want to temporarily turn off SELinux, you can enter in the terminal: $ sudo setenforce 0)
#####
05, the Campus network Internet
For campus network users, download Ruijie client mentohust.rpm installation, address http://code.google.com/p/mentohust/downloads/list
Details of the use of the site has been introduced.
#####
06. Add Yum Source
The general system with the updated source speed is very slow, you can use the domestic netease or Sohu mirror.
Download the source configuration file for Fedora 15 to its open source mirror site http://mirrors.163.com/and http://mirrors.sohu.com/.
To distinguish between mirrors, open the downloaded mirrored file and replace the fedora in the three brackets [] with fedora-163 and Fedora-sohu respectively.
Save the modified configuration file to the/etc/yum.repos.d/directory.
Finally in the terminal input: $ sudo yum makecache generate cache.
#####
07. Install Fastestmirror Yum Plugin
When the Yum source is large, installing the Fastestmirror plugin allows yum to download from the fastest yum source.
Enter the command in the terminal: $ sudo yum install Yum-plugin-fastestmirror
(More Yum plugins can run $ sudo yum info yum-plugin-* to view)
#####
08, Upgrade the system
Running commands in a terminal: $ sudo yum update
#####
09, remove the waste core
After upgrading the system, there will usually be several cores, how to remove the waste kernel:
Rpm-qa | grep kernel//view and list all cores
RPM-E kernel name//delete the kernel of the selected name
Example:
[Xie@xie ~]$ Rpm-aq | grep kernel
abrt-plugin-kerneloopsreporter-1.0.0-1.fc12.i686
Kernel-firmware-2.6.31.9-174.fc12.noarch
kernel-2.6.31.5-127.fc12.i686
kernel-2.6.31.9-174.fc12.i686
kernel-headers-2.6.31.9-174.fc12.i686
abrt-addon-kerneloops-1.0.0-1.fc12.i686
[Xie@xie ~]$ rpm-e kernel-2.6.31.5-174.fc12.i686
#####
10. Add Rpmfusion Source
Rpmfusion Source is a very influential Third-party software warehouse, providing copyrighted (nonfree) and patent (free) problems of freeware, for the general user Rpmfusion source can be said to be essential.
Enter the command in the terminal: $ sudo rpm-ivh http://download1.rpmfusion.org/f ... e-stable.noarch.rpm http://download1.rpmfusion.org/n ... e-stable.noarch.rpm
Finally enter: $sudo yum Makecache generate yum cache, so that the rpmfusion source is installed.
(The above two links can also be exchanged for http://mirrors.163.com/rpmfusion ... e-stable.noarch.rpm http://mirrors.163.com/rpmfusion ...) E-STABLE.NOARCH.RPM)
#####
11. Install Multimedia Decoder
Fedora Default does not install video decoder, so can not listen to music to see the video, open the song will be prompted by the lack of MPEG-1 Layer3.
First make sure the system has the Rpmfusion source installed, and enter the command in the terminal:
$ sudo yum install ffmpeg ffmpeg-libs gstreamer-ffmpeg libmatrosca xvidcore libdvdread libdvdnav Lsdvd
$ sudo yum install Gstreamer-plugins-good Gstreamer-plugins-bad gstreamer-plugins-ugly
This allows the system to play music and video with its own player.
#####
12, the Player music label garbled
The online approach is mostly to say that the MP format of the file tag is used to convert the command: MID3ICONV-E GBK *.mp3. After this operation, although Linux under the garbled solution, but under Windows will appear garbled.
The perfect approach is to modify the environment variable to modify the/etc/profile file as root:
At the end of the file, add the following two lines
Export gst_id3_tag_encoding=gbk:utf-8:gb18030
Export gst_id3v2_tag_encoding=gbk:utf-8:gb18030
After you log off, import the song information again to resolve the garbled characters.
#####
13, gedit open files garbled
Because of the different fedora formats in the text file open windows will often appear garbled.
Online solutions are usually done by modifying environment variables with/etc/sysconfig/i18n files, and this is not the way to do this.
Method One:
Terminal Input Command:
$ gsettings Set org.gnome.gedit.preferences.encodings auto-detected "[' UTF-8 ', ' GB18030 ', ' GB2312 ', ' GBK ', ' BIG5 ', '"] Current ', ' UTF-16 ']
$ gsettings Set org.gnome.gedit.preferences.encodings shown-in-menu "[' UTF-8 ', ' GB18030 ', ' GB2312 ', ' GBK ', ' BIG5 ', '"] Current ', ' UTF-16 ']
Method Two:
Install Dconf-editor (Gconf-editor upgrade):
Terminal input command: $ sudo yum install Dconf-tools
Terminal input command: $ dconf-editor
Open->org->gnome->gedit->preferences->encodings in turn.
Add ' GB18030 ' to the value item in auto-detected, written in second place;
Add ' GB18030 ' to the value item in Shown-in-menu, written in second place.
(corresponds to the value in parentheses in the method one)
(in Fedora14 and previous versions, enter the command in the terminal: $ sudo yum install gconf-editor install Gconf-editor, and then enter the command: $ gconf-editor in turn, click Open apps->gedit-2- Auto-detected in >preferences->encodings, add gb18030,gbk,gb2312 in the Double click pop-up dialog box.
#####
14, the current directory right key to open the terminal
Enter the command in the terminal: $ sudo yum install nautilus-open-terminal
Restart X (ctrl+alt+backspace)
#####
15, install Vim
Vim is the enhanced version of VI, you can highlight the program source code in the function variables and so on.
Enter the command in the terminal: $ sudo yum install vim
Installation complete.
#####
16, IBUs Input Method
In Fedora because my default installation environment is English, so the Chinese input method is not open, you can open and set to the available state, select the Chinese input method pinyin on the line.
If there is no input method to install IBUs, enter the command in the terminal:
$ sudo yum install IBUs
$ sudo yum install Ibus-sunpinyin
#####
17. Installation LibreOffice
First install the libreoffice.org kit, enter the command in the terminal: $ sudo yum groupinstall "office/productivity"
After installation, as the default installation, language is English, in the terminal input the following command to find to install the Chinese Language pack: $ sudo yum list libreoffice*
....
libreoffice-langpack-ur.i686 1:3.3.2.2-7.fc15 Fedora
libreoffice-langpack-ve.i686 1:3.3.2.2-7.fc15 Fedora
libreoffice-langpack-xh.i686 1:3.3.2.2-7.fc15 Fedora
libreoffice-langpack-zh-hans.i686 1:3.3.2.2-7.fc15 Fedora
libreoffice-langpack-zh-hant.i686 1:3.3.2.2-7.fc15 Fedora
libreoffice-langpack-zu.i686 1:3.3.2.2-7.fc15 Fedora
....
Then install the Chinese Language Pack and enter the command in the terminal:
$ sudo yum-y install Libreoffice-langpack-zh-hans
$ sudo yum-y install libreoffice-langpack-zh-hant
This completes the Chinese OpenOffice Chinese version of the installation.
(OpenOffice method is the same, just change the LibreOffice to OpenOffice)
#####
18. Install GCC G77
Enter the command in the terminal: $ sudo yum install gcc* install GCC
Enter the command in the terminal: $ sudo yum search G77 can see
Compat-gcc-34-g77.i686:fortran support for compatibility compiler
Enter the command in the terminal: $ sudo yum install compat-gcc-34-g77 installation G77.
#####
19. Install CHM Reader
Gnochm is a perfect CHM reader in the GNOME environment, and it can be said to be a perfect support for Chinese.
Enter the command in the terminal: $ sudo yum install Gnochm
Installation complete.
#####
20. Install Firefox Flash plugin
Method One:
Download the Flash plugin installation under Linux on the Adobe official website.
Method Two:
First add the Adobe software warehouse and import the key, and enter the command in the terminal:
$ sudo rpm-ivh http://linuxdownload.adobe.com/l ... 86-1.0-1.noarch.rpm
$ sudo rpm--import/etc/pki/rpm-gpg/rpm-gpg-key-adobe-linux
Then enter the command in the terminal: $ sudo yum install Flash-plugin
Installation complete.
#####
21. Installation Unrar
Fedora does not directly open the RAR compressed file by default, you need to install Unrar.
Enter the command in the terminal: $ sudo yum install Unrar
Installation complete.
#####
22, installation system Cleaning tools Bleachbit
Bleachbit is a system Cleanup tool designed for Linux. With Bleachbit, you can clean up the system's cache, history, temporary files, cookies, and other unwanted things, so you can free up your disk space. At present, Bleachbit can clean up Beagle, Firefox, Opera, Epiphany, Flash, OpenOffice.org and other software generated by the garbage files.
Terminal input command: $ sudo yum install Bleachbit
Installation complete.
#####
23, the installation of comic book reader Comix
Comix is a very useful image reader under Linux, which supports reading pictures directly from the compressed package, especially for comic reading.
Terminal input command: $ sudo yum install Comix
Installation complete.
#####
24, Installation Gnome3 tweak tool tool
Fedora 15, after using Gnome3, Gnome-tweak-tool is an essential tool for configuring the desktop.
Terminal input command: $ sudo yum install Gnome-tweak-tool
Installation complete.
#####
25, set Delete key to delete files directly
In the Fedora GNOME 3 environment, the default use of the delete key to delete files, you must work with the CTRL key to achieve. In general this is troublesome, change this setting can use the following method.
First, enter the command in the terminal: $ gsettings Set Org.gnome.desktop.interface can-change-accels True
Second, open the Nautilus File Manager, select any file, and then open the Edit option, and move the mouse to the move to Trash (moving to the Recycle Bin), and press the Delete button two times consecutively. This will set the DELETE key to delete the file directly.
Finally, disable the shortcut key setting feature and enter the command in the terminal: $ gsettings Set Org.gnome.desktop.interface can-change-accels false
#####
26. Install Faenza icon Set
Enter the command in the terminal: $ sudo yum search Faenza can get
Faenza-icon-theme.noarch:icon theme designed for Equinox GTK theme
Enter the command in the terminal: $ sudo yum install faenza-icon-theme install Faenza icon set.
After installation, use Gnome3-tweak-tool to enable the theme, in the interface column icon theme Select Faenza can.
#####
27. Install Windows fonts
Copy the fonts within the Windows system to/usr/share/fonts/msfonts without a directory to mkdir.
Enter the command in the terminal: $ sudo chmod-r 755 usr/share/fonts/msfonts for font files plus run permissions.
Enter the command in the terminal: $ sudo fc-cache-fv update font caching.
The fonts are installed and finished.
#####
28, improve the Fedora 15 font display effect
First install Http://www.infinality.net/fedora ... po-1.0-1.noarch.rpm this package.
Then sudo yum search infinality. You can see there are two bags, all installed.
Re-login system effect is effective.

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.