CentOS 6.7 x64 Apache/PHP/Mariadb环境搭建
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS 6.7 x64 Apache/PHP/Mariadb环境搭建相关的知识,希望对你有一定的参考价值。
系统安装参考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环境搭建的主要内容,如果未能解决你的问题,请参考以下文章
CentOS 6.7 x64 Redmine与Subversion结合
4# CentOS 6.7 x64 安装Subversion1.9.3(svn,http)