Last active
February 24, 2021 17:43
-
-
Save badhonhitech/a94c3034943dfeaf2a90bf95c46fca72 to your computer and use it in GitHub Desktop.
LMS Installation And Configuration Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you need Forma setup in Ubuntu 18.04 contact with me: | |
Skype:live:badhonhitech | |
Telegram:@badhonhitech | |
Email: [email protected] | |
WhatsApp: Badhonhitech | |
Bip: Badhonhitech | |
#!/bin/bash | |
#Install Apache2 | |
sudo apt update | |
sudo apt install apache2 | |
sudo systemctl start apache2.service | |
sudo systemctl enable apache2.service | |
sudo systemctl restart apache2.service | |
#Install MariaDB | |
sudo apt-get install mariadb-server mariadb-client | |
sudo systemctl start mariadb.service | |
sudo systemctl restart mariadb.service | |
sudo systemctl enable mariadb.service | |
sudo systemctl status mariadb.service | |
#Now that MariaDB is installed, to test whether the database server was successfully installed | |
sudo mysql | |
CREATE DATABASE forma DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; | |
GRANT ALL ON forma.* TO 'formaadmin'@'localhost' IDENTIFIED BY 'FOrm@2@19P@'; | |
use forma; | |
FLUSH PRIVILEGES; | |
EXIT; | |
service mysql restart | |
service apache2 restart | |
sudo apt-get update && apt-get upgrade | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt install php7.0 libapache2-mod-php7.0 php7.0-common php7.0-mysql php7.0-gmp php7.0-ldap php7.0-curl php7.0-intl php7.0-mbstring php7.0-xmlrpc php7.0-gd php7.0-bcmath php7.0-xml php7.0-cli php7.0-zip | |
sudo systemctl restart apache2.service | |
#Now Download Forma LMS Latest Release | |
cd /tmp | |
wget -c "https://netcologne.dl.sourceforge.net/project/forma/version-2.x/formalms-v2.3.0.2.zip" -O formalms-v2.3.0.2.zip | |
sudo unzip formalms-v2.3.0.2.zip | |
sudo cp -r formalms /var/www/html/forma/ | |
sudo chown -R www-data:www-data /var/www/html/forma/ | |
sudo chmod -R 755 /var/www/html/forma/ | |
#Enable the Forma and Rewrite Module | |
sudo a2ensite forma.conf | |
sudo a2enmod rewrite | |
sudo systemctl restart apache2.service | |
#Now finished the Installation Process. Visit you installed site. | |
http://localhost | |
#lms #learning_management_systems #formalms |
Author
badhonhitech
commented
Feb 24, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment