07:12:49 | category: centos | Tag: None | font size subscription
Centos 18:30:19 read 1000 comments 3 font size: LargeSmall
This tutorial is a simple configuration process of my own system, including (official and private) source configuration, common software (Firefox, Eva chat, BT download deluge, listen to audacious and movie mplayer) installation process. I hope this will be a reference for new people. By the way, I will make a "overall process backup" for myself ".
1. Configure the system to update the "Source"
1. Modify the default official source of the system.
Download: http://file4.brsbox.com/download.php? SID = 6bfe66ce00da-804b0d2148123400a91 & fc = bce438d9db59c7f3b3da6d6b6598ce5f/CentOS-Base.repo
Then open the terminal, enter the following command, directly replace the system's default "CentOS-Base.repo" file:
[Root @ centos ~] # Cp desktop/CentOS-Base.repo/etc/yum. Repos. d/
CP: overwrite "/etc/yum. Repos. d/CentOS-Base.repo "? Y
[Root @ centos ~] #
In this way, the configuration is complete. We will add a third-party software source for centos.
2. Add a third-party software source
Centos has few official sources and few items. Therefore, to install software through the source, we need to add third-party software sources on our own.
(1) Add the rpmforge software repository Source
Download: Workshop
Run the following command to import the "Download Public Key" of the website:
Rpm -- import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Then install it through the command: rpm-IVH rpmforge-release-0.3.6-1.el5.rf.i386.rpm
After installation, you can install some common software through yum, such as installing xmms, MP3, and WMA decoder:
Yum-y install xmms xmms-mp3 xmms-WMA
Let's take a look at the specific operation process:
[Root @ centos ~] # Cd Desktop
[Root @ centos desktop] # wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
-- 16:01:49 -- http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Parsing host apt. Sw. Be... 193.1.193.67
Connecting to Apt. Sw. Be | 193.1.193.67 |: 80... connected.
An HTTP request has been sent and is waiting for response... 200 OK
Length: 16698 (16 k) [application/X-RedHat-package-manager]
Saving to: 'rpmforge-release-0.3.6-1.el5.rf.i386.rpm'
100% [============================================== =>] 16,698 20.8 K/s in 0.8 s
16:01:52 (20.8 kb/s)-'rpmforge-release-0.3.6-1.el5.rf.i386.rpm 'saved [16698/16698]
[Root @ centos desktop] # rpm -- import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
[Root @ centos desktop] # rpm-IVH rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Preparing... ######################################## ### [100%]
1: rpmforge-release ##################################### ###### [100%]
[Root @ centos desktop] #
2. Add a Flash Player Plug-in to Firefox
: Http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-10.0.32.18-release.i386.rpm
Installation Method: rpm-IVH flash-plugin-10.0.32.18-release.i386.rpm or double-click to install.
3. Install the player
1. Music player
In the above example, I mentioned xmms, a music player. I don't select it here. I use audacious, a music player. We have just configured the software source. Therefore, you can directly use: Yum install audacious * to install it. The process is as follows:
Note: before installing the software, run the command rpm-import/etc/pki/rpm-GPG/RPM * on the terminal to import all the default public keys of the system, in this way, the "Public Key" cannot be found during Yum update.
[Root @ centos desktop] # rpm-import/etc/pki/rpm-GPG/RPM *
[Root @ centos desktop] # Yum install audacious *
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Rpmforge: ftp-stud.fht-esslingen.de
Setting up install process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package audacious. i386. 4.6-1. el5.rf set to be updated
--> Processing dependency: audacious-plugins> = 1.4.5 for package: audacious
...................................................... I am a gorgeous ellipsis ............................................................
Transaction Summary
========================================================== ==========================================================
Install 17 package (s)
Update 0 package (s)
Remove 0 package (s)
Total download size: 10 m
Is this OK [Y/n]: Y
It will not be intercepted later. No problem ~ After installation, you can find it in the Application menu on the desktop panel.
2. Video Player
It is best to use mplayer by default. Install Yum install mplayer directly from the software source. Let's take a look at the simple process.
[Root @ centos desktop] # Yum install mplayer
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Rpmforge: fr2.rpmfind.net
Setting up install process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mplayer. i386 0:1. 0-0.40.svn20090711.el5.rf set to be updated
--> Processing dependency: libdirectfb-1.2.so.0 for package: mplayer
--> Processing dependency: libdca. so.0 for package: mplayer
--> Processing dependency: libcucul. so.0 for package: mplayer
...................................................... I am a gorgeous ellipsis ............................................................
Transaction Summary
========================================================== ========================================================== ======================
Install 20 package (s)
Update 0 package (s)
Remove 0 package (s)
Total download size: 17 m
Is this OK [Y/n]: Y
Note: When playing the rmvb video, a small error message may appear, because a packet is still missing, but it does not affect usage ~ I am too lazy to solve this problem.
4. Install QQ chat software-EVA
First, I declare that official QQ can also be used, but I am not used to it. What is official QQ:
Http: // dl_dir.qq.com/linuxqq/linuxqq-v1.0.2-beta1.i386.rpm
After the download, you can double-click it to install it without any errors.
Let's talk about my favorite chat software, Eva ~ We need to solve two dependency problems before installing it.
1. kdelibs Software Package
This package is available on the centos disc and can be installed by yourself. If you are too lazy to find it, run Yum install kdelibs.
2. NAS
This package, which is included in Eva below, is also installed by double-clicking.
3. Now you can start to install Eva. Yes: http://www.brsbox.com/filebox/uploadcomplete/randstr/183X02m7JJQ7L421V3999Bh156/fgid/ff03bf7825ddcef0e92d69a09805b95f/dirids/3568783
Extract the "eva-0.4.9-bugfix73_1.fc10.i386.rpm" Inside, double-click to install. If a failed dependicies error occurs during the installation process, use the archive manager to open the RPM package of EVA and decompress the USR folder. Put it anywhere. Double-click the EVA under/bin and you will be able to use it normally.
Let's take a look at the installation process. I didn't use the graphical interface. I double-click the installation, but I used the command: rpm-IVH package name to install it.
[Root @ centos Eva 4 centos] # Yum install kdelibs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Rpmforge: fr2.rpmfind.net
Setting up install process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package kdelibs. i386. 5.4-22. el5.centos set to be updated
--> Processing dependency: kdelibs =. 5.4-18. el5.centos for package: kdelibs-devel
--> Running transaction check
---> Package kdelibs-devel.i386. 5.4-22. el5.centos set to be updated
--> Finished dependency resolution
Dependencies resolved
========================================================== ========================================================== ======================
Package arch version repository size
========================================================== ========================================================== ======================
Updating:
Kdelibs i386. 5.4-22. el5.centos update 18 m
Kdelibs-devel i386. 5.4-22. el5.centos update 1.3 m
Transaction Summary
========================================================== ========================================================== ======================
Install 0 package (s)
Update 2 package (s)
Remove 0 package (s)
Total download size: 19 m
Is this OK [Y/n]: Y
...................................................... I am a gorgeous ellipsis ............................................................
[Root @ centos desktop] # mkdir Eva
[Root @ centos desktop] # tar zxvf eva4centos.tar.gz-C Eva
Instructions for use
Nas-1.9.1-2.el5.i386.rpm
Eva-0.4.9-bugfix73_1.fc10.i386.rpm
[Root @ centos desktop] # cd Eva
[Root @ centos Eva] # rpm-IVH nas-1.9.1-2.el5.i386.rpm
Warning: nas-1.9.1-2.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 217521f6
Preparing... ######################################## ### [100%]
1: NAS ####################################### #### [100%]
After, extract the "eva-0.4.9-bugfix73_1.fc10.i386.rpm", the usr folder inside extracted, renamed Eva, where to put casually, run/bin/EVA, on the line.
5. Install the decompression software
1. rar
Yum install RAR unrar, You Can ~ Simplest
2. 7zip
Download: http://down1.chinaunix.net/distfiles/p7zip_4.42_src_all.tar.bz2
After decompression, make and make install.
There will be an error at last, so ignore it
Decompress command: 7za X file name
Let's take a look at the process. full command operations:
[Root @ centos ~] # Wget http://down1.chinaunix.net/distfiles/p7zip_4.42_src_all.tar.bz2
-- 17:21:27 -- http://down1.chinaunix.net/distfiles/p7zip_4.42_src_all.tar.bz2
Parsing host down1.chinaunix.net... 60.28.166.86
Connecting to down1.chinaunix.net | 60.28.166.86 |: 80... connected.
An HTTP request has been sent and is waiting for response... 200 OK
Length: 1461812 (1.4 m) [application/X-tar]
Saving to: 'p7zip_4.42_src_all.tar.bz2'
100% [============================================== ====================>] 1,461,812 153 K/s in 8.6 s
17:21:36 (166 KB/S)-'p7zip_4.42_src_all.tar.bz2 'saved [1461812/1461812]
[Root @ centos ~] # Tar-jxvf p7zip_4.42_src_all.tar.bz2-C/usr/src
...................................................... I am a gorgeous ellipsis ............................................................
P7zip_4.42/Man1/
P7zip_4.42/Man1/7z. 1
P7zip_4.42/Man1/7zr. 1
P7zip_4.42/Man1/7za. 1
[Root @ centos ~] # Cd/usr/src/p7zip_4.42/
[Root @ centos p7zip_4.42] # Make & make install
...................................................... I am a gorgeous ellipsis ............................................................
Make [1]: Leaving directory '/usr/src/p7zip_4.42/7zip/bundles/Alone'
./Install. sh/usr/local/bin/usr/local/lib/p7zip/usr/local/man
-Installing/usr/local/bin/7za
./Install. sh: line 99: [-X: Command not found
-Installing/usr/local/man/Man1/7z. 1
-Installing/usr/local/man/Man1/7za. 1
-Installing/usr/local/man/Man1/7zr. 1
[Root @ centos p7zip_4.42] #
Press enter and wait. No problems
6. Download Software
For normal downloads, use the download function provided by Firefox. I don't want to get anything else. It is enough for me.
BT downloading. I recommend that you use deluge, which is included in the software source. Run Yum install deluge to see the process:
[Root @ centos p7zip_4.42] # Yum install deluge
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Rpmforge: fr2.rpmfind.net
Setting up install process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package deluge. i386 0: 0. 5.9.0-1. el5.rf set to be updated
--> Processing dependency: Python-xdg for package: deluge
--> Processing dependency: pyopenssl for package: deluge
--> Running transaction check
---> Package python-xdg.noarch 0: 0. 17-1.el5.rf set to be updated
---> Package pyopenssl. i386 0: 0. 6-1.p24.7.2.2 set to be updated
--> Finished dependency resolution
Dependencies resolved
========================================================== ========================================================== ======================
Package arch version repository size
========================================================== ========================================================== ======================
Installing:
Deluge i386 0.5.9.0-1. el5.rf rpmforge 10 m
Installing for dependencies:
Pyopenssl i386 0.6-1. p24.7.2.2 base 128 K
Python-xdg noarch 0.17-1. el5.rf rpmforge 84 K
Transaction Summary
========================================================== ========================================================== ======================
Install 3 package (s)
Update 0 package (s)
Remove 0 package (s)
Total download size: 10 m
Is this OK [Y/n]: Y
...................................................... I am a gorgeous ellipsis ............................................................
7. Install the multi-window File Manager (tuxcmd, similar to the total commander in Win)
1. From: http://prdownloads.sourceforge.net/tuxcmd/tuxcmd-0.6.50-bin-i386.tar.bz2? Download downloaded software package
2. Switch to the package storage location under the terminal and enter the following command to decompress the package
Tar jxvf tuxcmd-0.6.50-bin-i386.tar.bz2-C/root
Description: The tuxcmd package I provide is similar to the "green software" package. After decompression, you do not need to compile or install it. Therefore, you can use the-C parameter, keep up with the location where you want to store the software. For example, I put it in the/root folder.
3. Use CD to enter the folder and run:./tuxcmd -- lang = cn.
Let's take a look at the process:
[Root @ centos ~] # Wget http://prdownloads.sourceforge.net/tuxcmd/tuxcmd-0.6.50-bin-i386.tar.bz2? Download
-- 14:23:32 -- http://prdownloads.sourceforge.net/tuxcmd/tuxcmd-0.6.50-bin-i386.tar.bz2? Download
Parsing host prdownloads.sourceforge.net... 216.34.181.59
Connecting to prdownloads.sourceforge.net | 216.34.181.59 |: 80... connected.
An HTTP request has been sent and is waiting for response... 302 found
...................................................... I am a gorgeous ellipsis ............................................................
14:23:43 (96.7 kb/s)-'tuxcmd-0.6.50-bin-i386.tar.bz2 'saved [774524/774524]
[Root @ centos ~] # Tar jxvf tuxcmd-0.6.50-bin-i386.tar.bz2-C/root
Tuxcmd-0.6.50-bin-i386/
Tuxcmd-0.6.50-bin-i386/readme
Tuxcmd-0.6.50-bin-i386/tuxcmd
Tuxcmd-0.6.50-bin-i386/copying
[Root @ centos ~] # Tuxcmd-0.6.50-bin-i386/CD/root/
[Root @ centos tuxcmd-0.6.50-bin-i386] #./tuxcmd -- lang = Cn