Created
October 28, 2021 07:42
-
-
Save LinuxDevOpsGirl/dcd17aaf56139d5f6467e3fa16673cf3 to your computer and use it in GitHub Desktop.
Install Laravel Using LAMP Stack (Linux, Apache, MySQL, PHP7)
This file contains 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
# YouTube: https://youtu.be/ur5wBHXk5T4 | |
sudo apt update -y | |
sudo apt-get upgrade -y | |
sudo apt install build-essential checkinstall | |
sudo apt install ubuntu-restricted-extras | |
sudo apt install software-properties-common | |
sudo apt upgrade -o APT::Get::Show-Upgraded=true | |
sudo apt install apt-show-versions | |
sudo apt update -y | |
sudo apt-get upgrade -y | |
sudo apt -f install | |
sudo apt autoremove | |
sudo apt -y autoclean | |
sudo apt -y clean | |
sudo apt update | |
sudo reboot | |
cd laravel | |
sudo chmod -R 755 /var/www/html/laravel | |
sudo chmod -R 777 /var/www/html/laravel/storage | |
sudo service mysql restart | |
sudo service apache2 restart | |
sudo service apache2 reload | |
# Visit: http://localhost/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment