2# CentOS 6.7 x64 Apache/PHP/Mariadb环境搭建

前端之家收集整理的这篇文章主要介绍了2# CentOS 6.7 x64 Apache/PHP/Mariadb环境搭建前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

系统安装参考1#CentOS 6.7 x64 最小化安装

使用修改过的OneinStack工具安装Apache2.4.18/PHP5.6.20/MariaDB10.1.13

工具下载:junlins_lnamp

修改内容:

  1. 增加apache-2.4.sh编译参数 [--enable-dav --enable-dav-fs --enable-maintainer-mode ]

  2. 修改apps.conf和ImageMagick.sh内的ImageMagick_version版本为ImageMagick_version=6.4.9-10


# 安装LNAMP环境

#[root@centos2~]#tar-zxfjunlins_lnamp.tar.gz
#[root@centos2~]#cdjunlins_lnamp
#[root@centos2junlins_lnamp]#./install.sh

#######################################################################
#LinuxWebServerforCentOS/RadHat5+Debian6+andUbuntu12+#
#PleasemakesureyouareconnectedtotheInternet#
#######################################################################

#PleaseinputSSHport(Default:22):22

#DoyouwanttoinstallWebserver?[y/n]:y

#PleaseselectNginxserver:
#	1.InstallNginx
#	2.InstallTengine
#	3.Donotinstall
#Pleaseinputanumber:(Default1pressEnter)3

#PleaseselectApacheserver:
#	1.InstallApache-2.4
#	2.InstallApache-2.2
#	3.Donotinstall
#Pleaseinputanumber:(Default3pressEnter)1

#Pleaseselecttomcatserver:
#	1.InstallTomcat-8
#	2.InstallTomcat-7
#	3.Donotinstall
#Pleaseinputanumber:(Default3pressEnter)3

#DoyouwanttoinstallDatabase?[y/n]:y

#PleaseselectaversionoftheDatabase:
#	1.InstallMysqL-5.7
#	2.InstallMysqL-5.6
#	3.InstallMysqL-5.5
#	4.InstallMariaDB-10.1
#	5.InstallMariaDB-10.0
#	6.InstallMariaDB-5.5
#	7.InstallPercona-5.7
#	8.InstallPercona-5.6
#	9.InstallPercona-5.5
#Pleaseinputanumber:(Default2pressEnter)4
#Pleaseinputtherootpasswordofdatabase:mariadb.2016P

#DoyouwanttoinstallPHP?[y/n]:y

#PleaseselectaversionofthePHP:
#	1.InstallPHP-5.3
#	2.InstallPHP-5.4
#	3.InstallPHP-5.5
#	4.InstallPHP-5.6
#	5.InstallPHP-7
#Pleaseinputanumber:(Default3pressEnter)4

#DoyouwanttoinstallopcodecacheofthePHP?[y/n]:n

#DoyouwanttoinstallZendGuardLoader?[y/n]:n

#DoyouwanttoinstallionCube?[y/n]:n

#DoyouwanttoinstallImageMagickorGraphicsMagick?[y/n]:y
#PleaseselectImageMagickorGraphicsMagick:
#	1.InstallImageMagick
#	2.InstallGraphicsMagick
#Pleaseinputanumber:(Default1pressEnter)1

#DoyouwanttoinstallPure-FTPd?[y/n]:n

#DoyouwanttoinstallPHPMyAdmin?[y/n]:n

#Doyouwanttoinstallredis?[y/n]:n

#Doyouwanttoinstallmemcached?[y/n]:n

#DoyouwanttousejemallocortcmallocoptimizeDatabaseandWebserver?[y/n]:n

#DoyouwanttoinstallHHVM?[y/n]:n
原文链接:https://www.f2er.com/centos/381977.html

猜你在找的CentOS相关文章