| 代码如下 | 复制代码 |
|
yum -y install wget screen unzip // for CentOS/Redhat System
apt-get -y install wget screen unzip // for Debian/Ubuntu System |
|
| 代码如下 | 复制代码 |
|
wget -O lamp.zip https://g**ithub*.com/teddysun/lamp/archive/master.zip
unzip lamp.zip cd lamp-master/ chmod +x *.sh |
|
| 代码如下 | 复制代码 |
|
screen -S lamp
./lamp.sh |
|
| 代码如下 | 复制代码 |
|
lamp (add,del,list)
|
|
| 代码如下 | 复制代码 |
|
./uninstall.sh
|
|
| 代码如下 | 复制代码 |
|
/data/www/
|
|
| 代码如下 | 复制代码 |
|
Apache:/etc/init.d/httpd (start|stop|restart|status)
MySQL/MariaDB:/etc/init.d/mysqld (start|stop|restart|status)
Memcached:/etc/init.d/memcached (start|stop|restart)
Redis-server:/etc/init.d/redis-server (start|stop|restart)
|
|
| 代码如下 | 复制代码 |
|
Apache:/usr/local/apache
PHP:/usr/local/php
MySQL:/usr/local/mysql
MariaDB:/usr/local/mariadb
|
|
TPLink TLWDR4320 无线路由器IP带宽控制功能分配带宽设置方法
SQL Server 2008及更高版本数据库恢复做法之日志尾部备份实用指南
TPLink TLWDR4320 无线路由器控制管控小孩上网行为设置
TPLink TLWDR4320 无线路由器打印服务器设置指南
TPLink TLWDR8620 52 无线路由器当作交换机使用教程
TPLink TLWDR8620 52 无线路由器映射服务器到外网操作方法