Watch Star Fork

空明 / sklampMIT

forked from skschool / sklamp 
Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
LAMP一键安装包,多版本php任意切换
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md 947 Bytes

sklamp

sklanmp一键安装包、是基于SKLNAMP(托管于Github)修改、为SKPHP v2.0诞生的一行代码搞定LAMP环境安装包、新增PHP多版本任意切换功能,适用于主流的Linux发行版CentOS(已测)

#安装

sk sk.sh

#多站点配置:

复制: /sk/server/apache/conf.d/【唯一标识】-vhosts.conf   
配置:【唯一标识】-vhosts.conf      
生效:service httpd restart                               

#sklamp结构

     mysql目录: /sk/server/mysql(默认密码:sk888)
mysql data目录: /sk/server/data
       php目录: /sk/server/php
    apache目录: /sk/server/apache                           

#命令一览:

 mysql命令: service mysql (start|stop|restart|reload|status)
apache命令: service httpd (start|stop|restart|reload|status)

#网站根目录:

默认web根目录: /sk/wwwroot

Comments ( 0 )

You need to Sign in for post a comment

Help Search