I usually choose liveCD for the CentOSx86-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 is like this: the installation process of the CentOS-6.5-x86_64-LiveCD.iso is silly, don't say ~ After installation, I will first open the terminal to the super user to execute mv/etc/yum. repos. d/CentOS-I will usually choose the liveCD of CentOS x86-64 for installation ~
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: the https://lug.ustc.edu.cn/wiki/mirrors/help/centos downloads the corresponding repo file, throwing it into/etc/yum. repo. d/, and then Terminal superuser yum makecache & yum update upgrade 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.
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