Skip to content
clockzhong edited this page Dec 25, 2015 · 5 revisions

Welcome to the WrapLAMP!

This project is used to help you to deploy a web service in a Linux IAAS with PHP&Mysql support using only one script command: buildAll.sh. All the supportive work(includes building and installation for all sub-modules, e.g. Apache, Boost, Mysql, Php) will be done in buildAll.sh. Before calling buildAll.sh, you need to insure your Linux host has the supportive packages, if not, just execute the following commands in ubuntu:

sudo apt-get install cmake cmake-data libarchive13 liblzo2-2 libnettle4 libncurses5-dev libtinfo-dev libpcre3-dev libxml2-dev

After buildAll.sh execution, you've installed Apache, Mysql and PHP into ~/Work/Software If you want to start the web service, just execute: startWeb.sh And you also could test the web service after running "startWeb.sh". Just visit http://YouServerIP/test.php to confirm the PHP engine is running correctly. If you want to stop the web service, just execute: stopWeb.sh For more detailed configuration on Apache, you could customize your own version utilities/httpd.conf, please refer to https://httpd.apache.org/docs/2.4/en/configuring.html. This file will be copied to ~/Work/Software/Apache/conf after your running "startWet.sh".

Clone this wiki locally