A Brief Introduction to how to install nginx in centosTools/Raw Materials
If the system does not install the GCC development tool, you must first install it. Use the following command:Yum-y groupinstall "development tools"
STEP/Method
You can view the following commands:
# Lsb_release-LSB version: core-3.1-ia32: core-3.1-noarch: graphics-3.1-ia32: graphics-3.1-noarchDistributor ID: centosDescription: centos release 5.4 (final)Release: 5.4Codename: Final
This command applies to
After centos is installed, openjdk is used by default. We found that the image of the app verification code we developed is displayed incorrectly. We checked that the image interface is different from that of Sun JDK, we usually use Sun JDK for
Introduction
There are many ways to improve server performance, such as dividing image servers, Master/Slave database servers, and website servers on servers. However, when the hardware resources are rated limited, many O & M technicians think
/Etc/sysconfig/Network/Etc/sysconfig/network-scripts/ifcfg-eth0/Etc/resolv. conf/Etc/hosts
1. centos DNS Modification
Modify the DNS configuration file of the corresponding Nic# Vi/etc/resolv. confModify the following content
Nameserver 8.8.8.8
Reference: http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x
Many tutorials on the Internet have expired. The above references are valid.
1. Download the Installation File
Wget
I. Prepare the environment1. Install gccYum install GCC gcc-C ++
2. Install PCRETo make sure that you can use regular expressions in nginx for more flexible configuration, You need to determine whether the PCRE (Perl Compatible Regular
When you use centos, you may encounter centos in English. In this case, centos is installed by default (in English ). After installation, various Chinese characters are garbled. So, how can we solve this problem.
1. The centos system accesses g.cn
In Linux/centos, how does one view Nic models, motherboard models, CPU/graphics card information, hard disk models, and other hardware information?
View Nic Model
[Root@www.ctohome.com] # lspci | grep Ethernet00:19. 0 Ethernet controller: Intel
Reference: http://www.linuxidc.com/Linux/2008-01/10939.htm
Because serial port configuration is required, it is easier to use the serial port management software in windows. It is better to use a Super Terminal or CRT. linunx is a little more
1. Configure the NIC
Modify the configuration file of the corresponding Nic IP Address# Vi/etc/sysconfig/network-scripts/ifcfg-eth0Modify the following contentDevice = eth0 (describe the device alias for the NIC, for example, it is eth0 in the ifcfg-
Summary of centos firewall (for details about other Linux releases)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
Create a database for testing
Mysql-u root-P# Set the permission to facilitate backup
set password for 'root'@'localhost' =password('dsideal');flush privileges;
# Delete the old test databaseDrop database test;# Create database test; use test;
Link.1. What is vsftpd?
Vsftpd isLinuxThe most popular FTP server program in the release version. Features: small, light, secure, and easy to use.
The name of vsftpd stands for "very secure FTP daemon". Security is one of the top concerns of Chris
1. Install the libunwind library.
CD/usr/localWget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gzTar xf libunwind-1.1.tar.gz CD libunwind-1.1Cflags =-FPIC./configure # Add the compilation parameter make cflags =-FPIC
Recently, centos was installed. I accidentally lost my password and couldn't get in. I checked the information and found the method. The test was successful.
Exist here, spare.
1. When the grub screen appears, use the up/down key to select the
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