What to do after CentOS is installed

Source: Internet
Author: User
Tags gstreamer

What to do after CentOS is installed
I usually choose liveCD for CentOS x86-64 to install ~
Because I use liveCD as a desktop, liveCD not only has a graphical interface after installation, but also has complete desktop configuration and not many software packages, which is relatively clean to liveDVD ~
The image name looks like this: CentOS-6.5-x86_64-LiveCD.iso

The installation process is silly ~
After installation, I will first open the terminal to the super user to execute mv/etc/yum. repos. d/CentOS-Base.repo/etc/yum. repos. d/CentOS-Base.repo.backup to back up the original repo
Open your browser and go here: Upgrade makecache & yum update to upgrade the system.
If the kernel is upgraded, restart ~

Then go here: https://fedoraproject.org/wiki/EPEL/zh-cn
Find this link: if you are using 6th Enterprise Linux, install this RPM package: epel-release-6-8.noarch.rpm (link address, if you want to click in this post: http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm)
Then the terminal enters the download directory, install this rpm package, rpm-Uvh epel-release-6-8.noarch.rpm, and then execute yum makecache again to update the cache ~

Next is the rpmfusion source. How can I entertain without this...
Http://rpmfusion.org/
Here: http://rpmfusion.org/Configuration

Download this: http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
And this: http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
Enter the download directory, and run the rpm-Uvh command on the terminal. Then, run the yum makecache command to update the cache ~

Disable selinux
Edit the/etc/selinux/config file as the root user and change the value of The SELINUX item to disable and enable the SELinux service.
Change to SELINUX = disable to disable SeLinux
Change to SELINUX = enforcing and use SeLinux
To temporarily disable selinux, enter $ sudo setenforce 0 in the terminal.
Delete used Kernel
After the system is upgraded, there are usually several kernels. How can we delete the old kernel:
Rpm-qa | grep kernel // view and list all kernels
Rpm-e kernel name // Delete the kernel with the selected name


Install a multimedia Decoder
First, make sure that the system has installed the rpmfusion source. Enter the following command in the terminal:
$ Sudo yum install ffmpeg-libs gstreamer-ffmpeg libmatrosca xvidcore libdvdread libdvdna v lsdvd
$ Sudo yum install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-uugly
In this way, the system comes with a player to play music and videos.

Garbled music tags
Most of the methods on the Internet use the following command to convert the tags of files in mp format: mid3iconv-e gbk *. mp3. After this operation, garbled characters are fixed in linux, but garbled characters appear in windows.
The perfect method is to modify the environment variable and modify the/etc/profile file as root:
Add the following two lines to the end of the file:
Export GST_ID3_TAG_ENCODING = GBK: UTF-8: GB18030
Export GST_ID3V2_TAG_ENCODING = GBK: UTF-8: GB18030
After cancellation, re-import the song information to solve the Garbled text.

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.