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/685
Edit/etc/hosts
Use VI to open/etc/hosts:
VI/etc/hosts
The content is similar to this:
# Do not remove the following line, or various programs# That require Network functionality will fail.127.
Openpetra is a management software provided for non-profit and other charitable organizations. The software is flexible and customizable and can help volunteers and non-profit organizations manage tasks. Openpetra currently has six integration
I am used to using the Chrome browser. Therefore, Chrome is usually installed after Linux is installed.
1. Modify/etc/hosts. There are usually some inexplicable problems when accessing Google in China. At this time, you need to modify hosts. For
First, use the root user to log on, or obtain the root permission in the terminal. Then install the GCC compiler. By default, the GCC compiler is not installed in centos. If it is already installed, ignore this step. # Yum install gcc Install
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
Preface
I tried my best to install centos 6.2 on a virtual machine, but I forgot many common commands. I found some information on the Internet and used it on the terminal myself.Related Resources
Vmware_workstation_wmb.zip
Reference
Solution:
So here's how we fix it:
Remove the kernel's networking interface rules file so that it can be regenerated
# Rm-F/etc/udev/rules. d/70-persistent-net.rules
Restart the
View Firewall Information
/Etc/init. d/iptables status
Enable specified port
/Sbin/iptables-I input-P TCP -- dport 8080-J accept
/Etc/rc. d/init. d/iptables save
Or Edit
/Etc/sysconfig/iptables Add row:
-A RH-Firewall-1-INPUT-M State-State
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
ArticleDirectory
Theory
Practice
Configure PXE + kickstart unattended installation in centos (howto install centos through PXE + kickstart)
Environment: centos 5.1 minimum installation. Theory
Source:
Centos has been tossing for half a month and the environment has been configured. This git is especially troublesome.
First, we will explain that the target system is centos. If other systems do not know it, we will be responsible for the
I have mentioned that the newly purchased server of the company uses centos 5.5. After deploying tomcat, I found that I entered 114. 80. *. *: 8080 (IP: 8080), but the default Tomcat Homepage cannot be displayed. Because we used to deploy Windows
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
1. Minimal installation:Choose custom installation when installing the centos system. Do not install the graphical interface, select the installed Service or none based on your needs, after installation is complete, install and select the tools and
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
During idle hours in the last two nights, I started to integrate some things on the Linux platform. Today I am going to install the Oracle database below. I have also seen many excellent posts on the Internet, refer to their methods and record their
Step 1: Install needed packages
You will need remove installed Ruby because repo version is 1.8.7 and we need 1.9 at least
Yum remove Ruby
Yum install wget
Enable epel Repos
Wget http://download.fedoraproject.org/pub/epel/6
Source: http://moneypy.blog.51cto.com/blog/745631/586101
Previously, the graphic interface was installed by default when I installed the company's servers. The next day, the company's engineers told me that the graphic interface could not be
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