Centos garbled Solution
In Linux, Chinese characters are garbled. In fact, there are many situations, some of which are caused by the default settings of the terminal.
VI/etc/sysconfig/i18nChange contentLang = "en_US.UTF-8"Supported = "zh_CN.UTF-
When centos6.2 executes Yum update, the following error is returned:
Setting up update process Resolving Dependencies --> Running transaction check ---> Package openmpi. x86_64. 5.3-3. el6 will be updated --> Processing dependency: libotf. so.0
Http://centos.ustc.edu.cn/
Centos China University of Science and Technology USTC mirror (updated hourly)Http://centos.ustc.edu.cn/centos/
Git: // git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git mirror
Common centos system commands
Common centos system commands# Uname-
# View kernel/operating system/CPU Information# Head-N 1/etc/issue # view the operating system version# Cat/proc/cpuinfo # view CPU Information# Hostname # view the computer
(1) download the jdk-7u7-linux-i586.rpm, link: Buy.
(2) Configure Environment Variables
VI/etc/profile
Press the I key to enter the insert mode, and add the following paragraph to the end of the file:
Export java_home =/usr/Java/jdk1.7.0 _ 07
Problems with hard disk installation of centos6.0:
1. GRUB boot installation in centos;
2. Download The CentOS-6.0-i386-bin-DVD version of the ISO image file size 4.38 GB, cannot be saved to the
Step 1: in Linux desktop, press CTRL + ALT + F2Step 2: Login then type the following command:$ Cd$ Rm-RF. gconf$ Rm-RF. gconfd$ Rm-RF. gnome$ Rm-RF. gnome2Step 3: Press CTRL + ALT + F7 to be back to X-Windows, then restart the Linux
1.
In Linux, when too many files are opened by running processes and the limit of the maximum number of files opened by the system is exceeded, the too program open files error occurs, don't be nervous. You just need to modify the system configuration.
Except the original input method of the system
Search for packages containing iiim
Rpm-Qa iiim *
Run the following command to delete all the RPM packages:
Rpm-e XXXX -- nodeps
Note: The above XXXX is replaced by your rpm-Qa iiim * search
1. The centos, sasl2 package, and Sendmail package are installed by default; 2. Disable SELinux; otherwise, saslauthd will be affected by shadow authentication;
VI/etc/SELinux/config
Change SELinux = enforce to SELinux = disabled and restart the
1. Install SVN first
Ii. Integration of SVN and Apache
1. Create an SVN version Library
# Cd/var/www/# mkdir SVN # cd SVN # svnadmin create test1 // After SVN is installed, the root directory of the svn repository is/var/www/SVN, create a version
After a few days, centos found that it was very useful, so I installed a computer at home.Files used:CentOS-5.1-i386-bin-DVD.isoDwarf dos toolkit 4.1 // use grub 4.1, 4.2 With grub, 5.0 without grubInitrd. IMG // can be extracted from ISO. I copied
When we learned how to set up lamp under centos 5.3, we copied the source code of a set of PHP to/var/www/html and found the index. PHP has no permission to access the file, but you can manually add a simple PHP file to access the file normally. You
Systemtap of Version 5.5/1.1 is installed by default in centos 0.141, but the corresponding debuginfo-common and debuginfo packages must be installed for running systemtap normally.
The default kernel of centos 5.5 is 2.6.18-194.The corresponding
Document directory
Appendix 2 password-less SSH access
Original article address:Install CEpH on centos 5.5 (original) centos5.5 install CEpH
Author:For the simplicity of the experiment, Eugene is performed on a virtual CentOS-5.5
This is on the server, and the read and write speed is extremely fast.
Write speed
$ Dd If =/dev/Zero BS = 1 k count = 1000000 of = 1gb. File
1000000 + 0 records in1000000 + 0 records out1024000000 bytes (1.0 GB) Copied, 5.13676 seconds, 199
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