LAMP 默认安装目录
程序默认安装目录:
Apache:/usr/local/apache
PHP:/usr/local/php
MySQL:/usr/local/mysql
MariaDB:/usr/local/mariadb
Percona:/usr/local/percona
常用命令:
Apache:/etc/init.d/httpd (start|stop|restart|status)
MySQL:/etc/init.d/mysqld (start|stop|restart|status)
MariaDB:/etc/init.d/mysqld (start|stop|restart|status)
Percona:/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)