Configuration of Yum and basic software after centos 5.3 Installation

Source: Internet
Author: User
Tags gpg

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
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: http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

, This package
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

Run the command: rpm-IVH
Rpmforge-release-0.3.6-1.el5.rf.i386.rpm
To install it.

(If this command is invalid, double-click the file)

In this way, the yum setting is very troublesome.

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 [2, 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 to Firefox
Flash Player Plug-in

: 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 the SDK.
3. Install the player

1. Music player

In the above example, I mentioned
Xmms, the music player. I don't select it here. I use audacious, a music player. We have just configured the software source. Therefore, directly use:
Yum install
Audacious *
Install it. The process is as follows:
Note: before installing the software, run the command "rpm-Import" on the terminal.
/Etc/pki/rpm-GPG/RPM *
To import all the default public keys of the system. This will solve the problem that 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
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

Mplayer is the best option 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-0.40.svn20090711.el5.rf set to be updated
--> Processing dependency: libdirectfb-1.2.so.0
Package: mplayer
--> Processing dependency: libdca. so.0 for package:
Mplayer
--> Processing dependency: libcucul. so.0
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, you can directly install 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

Put the "eva-0.4.9-bugfix73_1.fc10.i386.rpm" inside
"Decompress the package and double-click it to install it. If failed occurs during installation
If the dependicies error occurs, use "ARCHIVE manager" to open the RPM package of EVA and
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 =
6: 3. 5.4-18. el5.centos for package: kdelibs-devel
--> Running transaction check
---> Package kdelibs-devel.i386
6: 3. 5.4-22. el5.centos set to be updated
--> Finished dependency resolution

Dependencies resolved

========================================================== ========================================================== ======================

Package
Arch
Version
Repository
Size
========================================================== ========================================================== ======================

Updating:
Kdelibs
I386
6: 3. 5.4-22. el5.centos
Update
18 m
Kdelibs-devel
I386
6: 3. 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%]

Next, extract the eva-0.4.9-bugfix73_1.fc10.i386.rpm
", Which is extracted from the USR folder and renamed as Eva. Just run/bin/EVA wherever you want.

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, directly: make,
Make install
You can.
There will be an error at last, so ignore it
Decompression 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 download. I recommend that you use deluge, which is included in the software source. directly use Yum install deluge.
Let's look at 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
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
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. Multi-Window File Manager (tuxcmd, similar to total in Win)
Commander) Installation

1. From: http://prdownloads.sourceforge.net/tuxcmd/tuxcmd-0.6.50-bin-i386.tar.bz2? Download

Download the 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. You do not need to compile or install it after decompression. Therefore, you can use
-C parameter, followed by 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
To run
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 ~] # Cd
/Root/tuxcmd-0.6.50-bin-i386/

[Root @ centos tuxcmd-0.6.50-bin-i386] #./tuxcmd -- lang = Cn

We would like to remind you that the bandwidth speed must be guaranteed when you install these software again. Otherwise, it may fail. (I failed to install it first)

That's all. Last nagging, centos is based on
Redhat Enterprise Linux
Is not suitable for family entertainment, it is only suitable for use on enterprise servers. Therefore, we hope that you do not engage in "Entertainment" projects on it as much as possible. It is used as an Enterprise Server SETUP tool for learning and using.

Related Article

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.