Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LinuxDevOpsGirl/dcd17aaf56139d5f6467e3fa16673cf3 to your computer and use it in GitHub Desktop.
Save LinuxDevOpsGirl/dcd17aaf56139d5f6467e3fa16673cf3 to your computer and use it in GitHub Desktop.
Install Laravel Using LAMP Stack (Linux, Apache, MySQL, PHP7)
# 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/
@LinuxDevOpsGirl
Copy link
Author

Screenshot from 2021-10-28 07-04-04

@LinuxDevOpsGirl
Copy link
Author

Screenshot from 2021-10-28 07-04-32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment