標籤:lamp
系統安裝參考CentOS 6.7 x64 迷你安裝
使用修改過的OneinStack工具安裝Apache2.4.18/PHP5.6.20/MariaDB10.1.13
工具下載:junlins_lnamp
修改內容:
增加apache-2.4.sh編譯參數 [ --enable-dav --enable-dav-fs --enable-maintainer-mode ]
修改apps.conf和ImageMagick.sh內的ImageMagick_version版本為ImageMagick_version=6.4.9-10
# 安裝LNAMP環境
# [[email protected] ~]# tar -zxf junlins_lnamp.tar.gz# [[email protected] ~]# cd junlins_lnamp# [[email protected] junlins_lnamp]# ./install.sh ######################################################################## Linux Web Server for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+ ## Please make sure you are connected to the Internet ######################################################################### Please input SSH port(Default: 22): 22# Do you want to install Web server? [y/n]: y# Please select Nginx server:# 1. Install Nginx# 2. Install Tengine# 3. Do not install# Please input a number:(Default 1 press Enter) 3# Please select Apache server:# 1. Install Apache-2.4# 2. Install Apache-2.2# 3. Do not install# Please input a number:(Default 3 press Enter) 1# Please select tomcat server:# 1. Install Tomcat-8# 2. Install Tomcat-7# 3. Do not install# Please input a number:(Default 3 press Enter) 3# Do you want to install Database? [y/n]: y# Please select a version of the Database:# 1. Install MySQL-5.7# 2. Install MySQL-5.6# 3. Install MySQL-5.5# 4. Install MariaDB-10.1# 5. Install MariaDB-10.0# 6. Install MariaDB-5.5# 7. Install Percona-5.7# 8. Install Percona-5.6# 9. Install Percona-5.5# Please input a number:(Default 2 press Enter) 4# Please input the root password of database: mariadb.2016P# Do you want to install PHP? [y/n]: y# Please select a version of the PHP:# 1. Install php-5.3# 2. Install php-5.4# 3. Install php-5.5# 4. Install php-5.6# 5. Install php-7# Please input a number:(Default 3 press Enter) 4# Do you want to install opcode cache of the PHP? [y/n]: n# Do you want to install ZendGuardLoader? [y/n]: n# Do you want to install ionCube? [y/n]: n# Do you want to install ImageMagick or GraphicsMagick? [y/n]: y# Please select ImageMagick or GraphicsMagick:# 1. Install ImageMagick# 2. Install GraphicsMagick# Please input a number:(Default 1 press Enter) 1# Do you want to install Pure-FTPd? [y/n]: n# Do you want to install phpMyAdmin? [y/n]: n# Do you want to install redis? [y/n]: n# Do you want to install memcached? [y/n]: n# Do you want to use jemalloc or tcmalloc optimize Database and Web server? [y/n]: n# Do you want to install HHVM? [y/n]: n
本文出自 “Junlins” 部落格,請務必保留此出處http://junlins.blog.51cto.com/7601672/1789649
CentOS 6.7 x64 Apache/PHP/Mariadb環境搭建