After installing the RAR command in centos, the zip command is automatically installed.Click here for specific installation.
Run the following commands in the/home directory:CD/home # enter the/Home Directory
1. compress the mydatafile under the/
In the past two days, we have tested the PHP performance optimization method.
In order to make a stress test and observe the effect, we chose ApacheBench as the stress testing tool. In fact, it is often said that AB.
However, this tool is provided
Address: http://www.ondev.net/post/show/669
Select the software package to be installed. Here we only need to install the server, so we only need to select "server. Remove the "packages from centos EXTRAS" selection box.
Select customize now
Mount NTFS hard drives to centos
Check whether the fuse and ntfs-3g software is installed in the system, if not, download the installation first.
Fuse is the built-in installation package. You can use rpm-Qa | grep fuse to check whether the
Build SVN service and effectively manageCodeIn the following three steps.1. Installation
# Yum install subversion determine whether the installation is successful # subversion-V svnserve, version 1.6.11 (r93411) The above prompt appears,
Install VMware Tools (install the VMware Tools Package to the root directory)1. On the VM toolbar, click "VM" and select "Install VMware Tools". Wait until an optical drive icon appears on the Linux desktop and a vmwaretools window pops up:2. Run
The IP address of the Linux Nic is stored in the file. The configuration file is stored in/etc/sysconfig/network-scripts,The names are ifcfg-eth0, ifcfg-eth1 .... if you have a network card, there is only one ifcfg-eth0 file, if you have two or more
Lambda expressions are not easy to love you. STL provides us with a lotAlgorithmIt is a sin to provide anonymous functions!
The story of this article begins.
C ++ 0x brings us a spring breeze and provides lambda expressions. We can finally write
How can we solve various Chinese garbled characters when using centos.
1. The centos system accesses xxx.cn and finds Chinese garbled characters.
So we used the previous method: Yum-y install fonts-Chinese.
After the centos system is installed,
Centos 5.5 is installed with minimal text. After installationRunMan ls appears-Bash: Man: Command not found
Wget http://manpages-zh.googlecode.com/files/manpages-zh-1.5.1.tar.gz
The procedure is as follows:
First: Yum install man
Tar zxvf
In centos, yum does not contain git. You need to install it manually.
First, install the GIT dependency package.
Yum install curlYum install curl-DevelYum install zlib-Develyum install OpenSSL-Develyum install perlyum install cpioyum install
Step 1: Compile and install wsgi1. wget https://modwsgi.googlecode.com/files/mod_wsgi-3.4.tar.gz2. Tar zxvf mod_wsgi-3.4.tar.gz3../configure -- With-apxs =/usr/sbin/apxs4. Make5. Make install6. Make clean7. Make distclean
Step 2: Set the
Transferred from {Http://apps.hi.baidu.com/share/detail/14082265Http://menjoy.javaeye.com/blog/638457}
Step 2Back up the yum configuration file and modify the yum configuration file.
CP/etc/yum. Repos. d/CentOS-Base.repo
Today, we have set up the FTP service as needed. here we need to note that there are differences between the RedHat in centos and Linux. I have done and studied it myself, and I will talk about some of the learning points, if any error occurs,
Go to http://dev.mysql.com/downloads/mysql/5.5.html#downloads:
Download the following three files respectively (because my machine is 32-bit, the following is a 32-bit package. If your machine is 64-bit, please download the 64-bit version ):
By default, centos has installed Java (if you have to use Java 1.7, download and install Java 1.7 ):
Install JDK
Download the JDK from the official website, use SFTP to upload it to the server, and create a/usr/Java directory. [Root @ srv6 Java]
If centos is not started, you can change the system running level to enter the centos page.
Input
# Init 3
View running level
# Runlevel
5 3
# The current running level of the system is "5" and the last running level is "3". The
During the project, the IP address of the host is changed every time the server is restarted because the company's LAN uses the automatic IP address acquisition method. To solve this problem, I have consulted http://blog.sina.com.cn/s/blog_536677e501
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