First, to account for an environmental problem, compile installation pcre often because did not install GCC and reported C compiler cc is not found
Build yum source, yum Install-y gcc*
It is recommended that the environment of the LNMP architecture be built together to prevent errors during compilation and then pack all kinds of packages
Therefore, we directly adopt Yum installation. Configure the environment required for compilation
Yum-y Install autoconf bzip2 bzip2-devel Curl curl-devel e
Previous Web servers were built by Yum, and it was inconvenient to add new modules or update certain software (far-reaching!). )。 So, now ready to change the environment to the source code compiled installation, so easy to adjust, performance will be better than the Yum way much better. Here is my installation step, and my system is CentOS 6.3 64 bits.
Note: This article is configured to be based on the software version downloaded in the second step, the installation of other versions does not
)
Note: The compilation parameters used here are architecture services for LDAP, and if you simply require SSL services, or Web architectures, you must subtract the corresponding parameters
Install OpenSSL
[Root@chenyi ldmp]# tar zxf openssl-1.0.0e.tar.gz
[Root@chenyi ldmp]# cd openssl-1.0.0e
[Root@chenyi openssl-1.0.0e]#./config--prefix=/software/ssl--openssldir=/software/openssl shared
[Root@chenyi openssl-1.0.0e]# make make test make Install
Install Apr
[Root@chenyi ldmp]# tar zxf ap
Tags: lib server linux system BSP type NSS BZIP2 server yumInstall and upgrade the required libraries with the Yum command that comes with the CentOS Linux systemLang=cYum-y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-deve L zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel Curl curl-devel e2fsprogs E2 Fsprogs-devel krb5 krb5-devel libidn libidn-devel OpenSSL openssl-devel
LDAP is light weight Directory access Protocol (Lightweight Directory Access Protocol), formerly known as the more ancient DAP protocol. It is based on the X.500 standard, but it is simple and can be tailored to your needs. Unlike X.500, LDAP supports TCP/IP, which is necessary for accessing the Internet. The core specification of LDAP is defined in the RfC, and in general, the LDAP protocol defines the methods for communicating with the backend database, the communication standards between the
For LNMP installations, each operational dimension may have been hundreds of times. Here's what I think is the simplest and most efficient installation scenario.
1. Upgrade Yum to the latest version:
The code is as follows
Copy Code
Yum-y Update
2. Install the components that are dependent on the LNMP server with Yum:
The code is as follows
Copy Code
Lang=cYum-y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-d
For the company to build a test structure, requirements and really close to the environment need to install Nginx, PHP, MySQL, memcached, redis!
But only to a R720 server, there is no way, can only run all on one stage
Server model: Dell R710
Memory: 4G
Operating system: CentOS 6.4
cpu:e5520
Individual Package Versions:
Nginx-1.2.1
Php-5.4.14
Mysql-5.5.29
Memcached-1.2.8
Redis-2.6.14
Install Nginx
Some dependency packs
1 Yum install-y gcc gcc-c++ makezlib zlib-devel pcre* libjpeg l
After completing the server-side setting of the Nagios, it is necessary to make the relevant settings on the monitored host side and set some monitoring parameter values.
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/soft/tools/
The complete configuration script is as follows:
#!/bin/bash #auto Configure Nagios Linux client side #2012 -12-05 nagios_dir= "/usr/local/nagios" 192.16 8.0.50 ' function Install_nagios {yum-y Install Install gcc gcc-c++ autoconf libjpeg libjp
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.