Compile and install to find the process of software compilation is really a waste of time, simply today will be used to remember in this, and later used to save to find.
Software name Address
Apr https://archive.apache.org/dist/apr
Apr-util HTTPS://ARCHIVE.APACHE.ORG/DIST/APR
Apache https://archive.apache.org/dist/httpd/
Serf http://archive.apache.org/dist/serf/
Zlib https://zlib.net
Pcre ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
OpenSSL https://www.openssl.org/source/
Libpng https://sourceforge.net/projects/libpng/files/
FreeType http://download.savannah.gnu.org/releases/freetype/
PHP http://php.net/releases/
Subversion http://archive.apache.org/dist/subversion/
SQLite http://www.sqlite.org/
Nginx http://nginx.org/download/
Zabbix http://www.zabbix.com/download2.php
Compile parameters
Apr
./configure--PREFIX=/USR/LOCAL/APR
Apr-util
./configure--prefix=/usr/local/apr-util--WITH-APR=/USR/LOCAL/APR
Serf
Yum Install Expat-devel
./configure--prefix=/usr/local/serf--WITH-APR=/USR/LOCAL/APR--with-apr-util=/usr/local/apr-util
Apache
./configure--prefix=/usr/local/apache2--with-apr=/usr/local/apr/bin/apr-1-config--with-apr-util=/usr/local/ Apr-util/bin/apu-1-config--with-pcre=/usr/local/pcre--with-z=/usr/local/zlib--enable-deflate-- Enable-log-config--enable-log-forensic--enable-logio--enable-env--enable-mime-magic--enable-expires-- Enable-headers--enable-setenvif--enable-proxy--enable-proxy-http--enable-http--enable-mime--enable-status-- Enable-autoindex--enable-info--enable-cgi--enable-dir--enable-actions--enable-rewrite--enable-so--enable-http- -enable-dav--enable-maintainer-mode
Subversion
./configure--prefix=/usr/local/subversion--with-apr=/usr/local/apr/bin/apr-1-config--with-apr-util=/usr/local/ Apr-util/bin/apu-1-config--with-apxs=/usr/local/apache2/bin/apxs--with-serf=/usr/local/serf (this parameter is supported after http,1.8 version , previously Neno)--with-sqlite= $PWD/sqlite-amalgamation/sqlite3.c--with-openssl=/usr/local/openssl--with-zlib=/usr/ Local/zlib--enable-shared--enable-maintainer-mode--enable-mod-activation
Php
./configure--prefix=/usr/local/phpfpm538--with-config-file-path=/usr/local/phpfpm538/etc--with-iconv-dir=/usr/ Local/libiconv--with-mysql=/usr/local/mysql--with-mysqli=/usr/local/mysql/bin/mysql_config--with-pdo-mysql=/ Usr/local/mysql--with-mcrypt=/usr/local/libmcrypt--with-png-dir=/usr/local/libpng--with-freetype-dir=/usr/ Local/freetype--with-libxml-dir=/usr/local/libxml2--with-jpeg-dir=/usr/local/jpeg--with-gd--with-zlib-- With-openssl--with-pear--with-gettext--enable-fpm--enable-safe-mode--enable-mbstring--enable-zip--enable-soap- -enable-sysvsem--enable-shmop--enable-sockets--enable-ftp--enable-gd-native-ttf--enable-bcmath--with-gdbm-- With-curl--with-mhash--with-curlwrappers--with-ldap--enable-pcntl--enable-maintainer-ztswith-xmlrpc--with-tidy
Mysql
Cmake-dcmake_install_prefix:path=/usr/local/mysql-dwith_myisam_storage_engine=1-dwith_innobase_storage_engine= 1-dwith_archive_storage_engine=1-dwith_blackhole_storage_engine=1-dwith_memory_storage_engine=1
Nginx
./configure --prefix=/usr/local/nginx--sbin-path=/usr/local/nginx/sbin/nginx--conf-path=/usr/local/nginx/conf/ nginx.conf--error-log-path=/usr/local/nginx/logs/error.log--http-log-path=/usr/local/nginx/logs/access.log-- Pid-path=/usr/local/nginx/logs/nginx.pid--http-client-body-temp-path=/usr/local/nginx/client_body_temp-- Http-proxy-temp-path=/usr/local/nginx/proxy_temp--http-fastcgi-temp-path=/usr/local/nginx/fcgi_temp-- Http-uwsgi-temp-path=/usr/local/nginx/uwsgi_temp--http-scgi-temp-path=/usr/local/nginx/scgi_temp--user=nginx-- Group=nginx--with-http_ssl_module--with-http_rewrite_module--with-http_stub_status_module--with-http_gzip_ Static_module--with-http_realip_module--with-pcre=/usr/local/pcre--with-zlib=/usr/local/zlib -- With-http_flv_module
Zabbix
./configure--prefix=/usr/local/zabbix/--enable-server --< Span class= "crayon-v" >enable-agent--enable-proxy --with-mysql --with-net-snmp --with-libcurl --with-libxml2
Common software compilation parameters and software addresses