Centos6.0 desktop configuration
Category: centos
67 people read comments (0) collect reports
First, update the system.
1. Yum update
2. install third-party source
How to install third-party sources
3. install necessary tools
1. Update the system
Yum update
2. install third-party software sources
1. Install the Yum-priorities plug-in;
2. download and install the epel RPM package;
3. download and install the rpmforge RPM package;
4. Test the upgrade and install nginx.
1. Install the Yum-priorities plugin
1. Install the Yum-priorities plug-in and set it correctly to ensure the highest priority of the official library.
Yum-y install Yum-Priorities
2. Then, set/etc/yum. Repos. d/CentOS-Base.repo, add the Order Directive priority = n (n from 1 to 99,1 highest priority ),
Set priority = 1 for [base], [updates], [Addons], and [extras], for example:
Set [centosplus] and [contrib] to priority = 2.
2. download and install the epel RPM package
1. download and install the epel RPM package
32-bit: rpm-IVH http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
64-bit: rpm-IVH http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
2. Import the PGP key of the Dag
Rpm-import/etc/pki/rpm-GPG/RPM-GPG-KEY-EPEL
3. Set the source level in/etc/yum. Repos. d/epel. Repo to priority = 11 (higher than above ).
3. download and install the rpmforge RPM package
1. Download The rpmforge RPM file package
32-bit: wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
64-bit: wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
2. Install the PGP key of the DAG (the method is inconsistent with the original text. If direct-Import fails, you can use the following method)
Wget http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
Rpm-import RPM-GPG-KEY.dag.txt
3. Verify rpmforge's RPM file package
Rpm-K rpmforge-release-0.5.1-1.el5.rf. *. rpm
4. Install rpmforge's RPM package
Rpm-I rpmforge-release-0.5.1-1.el5.rf. *. rpm
5. Set the source level in the/etc/yum. Repos. d/rpmforge. Repo file to priority = 12 (higher than above ).
4. Test and upgrade and install nginx
Yum check-Update
Yum update
That's all. Use
Yum-y install nginx
Then nginx can be installed. The following is the welcome page after installation:
V. installation script
The installation script only applies to centos 5.5!
For 32-bit systems, use this script (click to download). For 64-bit systems, use this script (click to download ).
Install nginx + MySQL + PHP + FastCGI:
Install the required Library:
Lang = C
Yum-y install GCC gcc-C ++ Autoconf libjpeg-devel libpng-devel FreeType-devel libxml2 libxml2-devel zlib-devel glibc-devel glib2 glib2-devel Bzip2 bzip2-devel ncurses- devel curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn-devel OpenSSL-devel OpenLDAP openldap-devel nss_ldap openldap-clients openldap-servers
Install PHP and MySQL:
Yum-y install PHP MySQL mysql-server mysql-devel PHP-mysql PHP-cgi php-mbstring PHP-Gd PHP-FastCGI
Install nginx:
Yum-y install nginx
Install spawn-fcgi to run php-CGI:
Yum-y install spawn-fcgi
Download the startup script of spawn-fcgi:
Wget http://dl.dropbox.com/u/182853/419.sh.zip
Unzip 419.sh.zip
MV 419.sh/etc/init. d/php_cgi
Chmod + x/etc/init. d/php_cgi
Configure nginx:
Location ~ \. Php $ {
Root HTML;
Fastcgi_pass 127.0.0.1: 9000;
Fastcgi_index index. php;
Fastcgi_param script_filename/usr/share/nginx/html $ fastcgi_script_name;
Include fastcgi_params;
}
Configure MYSQL:
VI/etc/My. CNF, which is added in [mysqld]
Default-character-set = UTF;
Add the following chapters at the end
[MySQL]
Default-character-set = utf8
Then set the MySQL Root Password:
Mysqladmin-u Root Password your_pass
Start various services:
Service mysqld start
Service php_cgi start
Service nginx restart
3. Install software
Yum install mplayer
Yum install lftp
Install the plug-in fastestmirror to enable the yum manager to automatically search for the fastest source download
Yum-y install Yum-fastestmirror
Install and download the acceleration plug-in
Yum install Yum-Presto
List of common Linux applications
After the system is installed, if you need to install the appropriate software to meet certain requirements, you may have installed most of the software during installation, do you know about the relevant software, if there is a better software and version, create a list of commonly used software and address for you to search for it later. These software with web sites are generally available on the official website, which can be downloaded and help. Of course you need to get these everywhere there are (
Http://sourceforge.net/project/showfiles.php? Group_id = 6241.
[Media playback]
1) DivX video: mplayer (http://www.mplayerhq.hu/design7/dload.html)
2) Rm video: realplayer10 for Linux (http://www.real.com/linux/), mplayer
3) MP3: xmms (http://www.xmms.org/download.php)
Beep Media Player, mplayer
4) ape: xmms + monkey's audio plugin (http://www.monkeysaudio.com/download.html)
Http://supermmx.org/linux/mac)
5) other formats (WMA, WMV, MKV, QuickTime): mplayer documents and files in various formats
[File browsing]
1) Open Microsoft Office documents: OpenOffice (http://www.openoffice.org/), starsuite
2) view the PDF file: Too read for Linux (http://rpmfind.net/linux/rpm2html/search.php? Query = internal read)
Kpdf (http://kpdf.kde.org /)
Xpdf (http://www.foolabs.com/xpdf ),
Ggv (http://directory.fsf.org/ggv.html)
3) view PS file: gsview (http://www.cs.wisc.edu /~ Ghost/gsview /),
Ggv, kghostview
4) CHM File: Archmage (http://archmage.sourceforge.net /),
Chmsee (http://www.gnome-cn.org/software/chmsee/releases/0.9.5 ),
Xchm (http://xchm.sourceforge.net /),
Chmviewer (http://sourceforge.net/projects/chmviewer)
5) MHT file: ripmime (http://www.pldaniels.com/ripmime/), Firefox + MAF plug-in
6) Chart Drawing: Dia (http://www.gnome.org/projects/dia/) (equivalent to Visio)
7). bin virtual disc: With bin2iso (http://users.eastlink.ca /~ Doiron/bin2iso /)
Or bchunk (http://he.fi/bchunk/) to ISO after Mount
8) compressed file
. Rar: RAR for Linux or unrar
. Zip: unzip
. Bz2: bunzip2
. Tar/. tgz: Tar
[Chinese Input Method]
1) scim (http://www.scim-im.org /)
2) fcitx (http://www.fcitx.org/main)
[Network software]
1) QQ: lumaqq (http://lumaqq.linuxsir.org/main/), GAIM + openq plugin
2) MSN, ICQ, Yahoo: Gaim (http://gaim.sourceforge.net /)
3) Web Browser: Mozilla-Firefox, Mozilla (http://www.mozilla.com/en-US/), opera
4) FTP client (graphical interface): gftp (http://gftp.seul.org /),
IglooFTP (http://www.iglooftp.com/unix)
5) FTP client (terminal): lftp (http://lftp.yar.ru /),
Ncftp (http://www.ncftp.com /)
6) FTP server: pureftpd, proftpd,
Vsftpd (http://vsftpd.beasts.org /)
7) HTTP download (terminal): wget (http://www.gnu.org/software/wget ),
Curl (http://curl.haxx.se /),
Prozilla (http://prozilla.genesys.ro /)
8) BT download: BitTorrent (terminal) (http://www.bittorrent.com/download ),
Azureus (graphic interface) (http://azureus.sourceforge.net /)
9) email software (graphic interface): kmail,
Thunderbird (http://www.mozilla.com/en-US ),
Sylpheed, evolution,
Opera m2 (http://www.opera.com/products/desktop/m2)
10) email terminal: mutt (http://www.mutt.org /),
Pine (http://www.washington.edu/pine/getpine/pcpine.html), gnus
11) RSS: liferea (http://liferea.sourceforge.net /),
Akregator (http://akregator.kde.org /)
12) BBS: qterm (http://qterm.sourceforge.net/wiki/index.php/Main_Page ),
{Rxvt, xterm, gnome-terminal,...} + bbsbot
[Editor]
1) Text: vim, emacs, jedit
2) hexadecimal: hexedit, ghex, MC
3) picture browsing: gimageview, gqview (http://gqview.sourceforge.net /)
4) Image Processing: gimp (http://www.gimp.org /),
ImageMagick (http://www.imagemagick.org/script/index.php)
5) audio processing: audacity (http://audacity.sourceforge.net /)
[Common tools]
1) English-Chinese dictionary: stardict (http://stardict.sourceforge.net/) (screen words, Dictionary, English-Chinese, English-English, English-English)
Dictd (http://www.dict.org/announce.html): All dictionaries of stardict can be used between English and Chinese
Cdict (http://bbs.uestc.edu.cn/download/): easy to install and color display.
2) Scientific Computing: MATLAB, Ave ave (http://www.octave.org /)
3) scientific plotting: gnuplot (http://www.gnuplot.info/), metapost
[Virtual Machine]
1) Win-based virtual Linux: cygwin, virtual-PC, and colinux
2) Linux virtual win: win4lin (http://www.winehq.com /)
3) cross-platform: VMWare (http://www.vmware.com/), bochs
4) run Windows programs in Linux: wine, winex, and crossover Office
5) console Chinese environment: zhcon (http://zhcon.sourceforge.net /),
(Http://www.cce.com.br /)
Note: Some content has been changed and supplemented again.
In addition to introduce a good Chinese software download: http://www.linuxfans.org
24 cool Linux/UNIX tools
Http://linuxtoy.org/archives/cool-linux-tools.html
BT Tool
Http://geekery.blog.com/2010/12/05/amule-2-2-6/
Http://forum.amule.org/index.php? Topic = 17268.0
Http://forum.amule.org/index.php? Board = 69.0
Http://linuxtoy.org/archives/howto_amule_cvs.html