Skip to content

Instantly share code, notes, and snippets.

@linuxkeepup
Last active September 27, 2022 15:04
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 linuxkeepup/2cbe55ff24934ade624b9bb4579ea3e1 to your computer and use it in GitHub Desktop.
Save linuxkeepup/2cbe55ff24934ade624b9bb4579ea3e1 to your computer and use it in GitHub Desktop.
Install Laravel Using LAMP Stack
Please send me your query for Laravel service support
WhatsApp: http://tiny.cc/linuxkeepup
sudo -i
apt update -y
apt upgrade -y
apt update -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 -y
apt upgrade -y
sudo apt update
sudo apt upgrade
sudo apt install apache2
sudo ufw allow in "Apache Full"
apache2 -v
nano /etc/apache2/sites-available/000-default.conf
# remove all text or comment text
<VirtualHost *:80>
ServerName localhost
ServerAdmin admin@hakase-labs.io
DocumentRoot /var/www/html/laravel/public
<Directory /var/www/html/laravel>
Options Indexes MultiViews
AllowOverride None
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
sudo service mysql restart
sudo service apache2 restart
sudo service apache2 reload
@linuxkeepup
Copy link
Author

Screenshot from 2022-09-27 21-01-16

@linuxkeepup
Copy link
Author

Screenshot from 2022-09-27 21-01-31

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