## Swarmlab is a collection of services that aims to > - provide teachers and professors with online remote tools to do their lessons > > - give students the opportunity to study real life examples in their chosen area of expertise > > - allow developers to fully test and debug their applications and provide POC’s > > - or you simply want to use a Application (in a microservices-based architecture) > > Swarmlab provides you with all the required tools, tools to teach work or try out demos in a completely virtual environment. > > More info: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/index.html ![alt text](images/swarmlab-network.png "") ## LabInstance phpapache This image contains Debian's Apache httpd in conjunction with PHP (as mod_php) and uses mpm_prefork by default. PHP is a general-purpose scripting language geared towards web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994. The PHP reference implementation is now produced by The PHP Group. PHP originally stood for Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor. ## Quickstart This is a quickstart guide of howto use this config files > > /var/www/html > /etc/apache2/sites-available/default-ssl.conf > /etc/apache2/sites-available/000-default.conf > /etc/apache2/ports.conf > ### Default Configuration - Working Directory > /home/docker/project/www -> /var/www/html - Default user > docker - Default password > docker - Default password4root > pass ### RUN INSTANCE Swarmlab services can be run in different ways. - You can run them **through the swarmlab hybrid environment** (http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html) - or use them individually at will on the **command line of your system** #### CLI > git clone ... > > cd [DIRECTORY] > #### help > > make help > #### create service > > make create > #### start service > > make start > #### stop service > > make stop > #### list service > > make list > #### clean service > > make clean >