Created
June 10, 2022 19:30
-
-
Save parallaxhub/34bdc176775c12c29850387cc416ec4a to your computer and use it in GitHub Desktop.
Install Opigno LMS Latest via Composer on Ubuntu
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
sudo -i | |
apt update -y | |
apt upgrade -y | |
apt install build-essential checkinstall | |
apt install ubuntu-restricted-extras | |
apt install software-properties-common | |
add-apt-repository ppa:nilarimogard/webupd8 | |
apt update | |
apt install launchpad-getkeys | |
launchpad-getkeys | |
add-apt-repository ppa:git-core/ppa | |
apt update | |
apt install git | |
git config --global user.name "YourName" | |
git config --global user.email [email protected] | |
apt upgrade -y | |
apt -f install | |
apt autoremove | |
apt -y autoclean | |
apt -y clean | |
apt update | |
reboot | |
cd /tmp && wget https://ftp.drupal.org/files/projects/opigno_lms-8.x-2.21-core.zip | |
unzip opigno_lms-8.x-2.21-core.zip | |
sudo mv opigno_lms-8.x-2.21 /var/www/html/opigno | |
sudo chown -R www-data:www-data /var/www/html/opigno/ | |
cd /var/www/html/opigno/ | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | |
php composer-setup.php | |
php composer.phar install | |
php composer.phar update | |
php composer.phar upgrade | |
php -r "unlink('composer-setup.php');" | |
apt install composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1.mp4