Install Application Inside Linux Container - LCC-CIT-Programming/Lane-RemoteLearningApplication GitHub Wiki

Inside a Centos 7 container

Install LAMP # See Centos notes

Install mod_ssl

yum install mod_ssl

Restart Apache

systemctl restart httpd

Clone repo

git clone [email protected]:Ironlenny/Lane-RemoteLearningApplication.git

Copy contents from outside into container

tar -cf - Lane-RemoteLearningApplication/ | lxc exec lab-monitor -- tar xvf - -C /root/

Copy contents of App directory to /var/www/html

cp -a App/* /var/www/html/

Create database

mysql < CreateScript.sql && mysql -D CITLabMonitor < MockDataInsertScript.sql