Congratulations. LAMP is installed successfully!
LAMP stack installation scripts

LAMP Usage:

  • lamp [add | del | list]: Create, Delete, List virtual website
  • LAMP Upgrade:

  • Execute script: ./upgrade.sh
  • LAMP Uninstall:

  • Execute script: ./uninstall.sh
  • Default Location:

  • Apache:/usr/local/apache
  • PHP:/usr/local/php
  • MySQL:/usr/local/mysql
  • MariaDB:/usr/local/mariadb
  • Web root default location:/data/www/default
  • Process Management:

  • 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)
  • Memcached:/etc/init.d/memcached (start|stop|restart)
  • Redis-server:/etc/init.d/redis-server (start|stop|restart)
  • More details:

  • Github project
  • LAMP QA(Chinese)

  • LAMP stack installation scripts by Teddysun