Last active
September 27, 2022 15:04
-
-
Save linuxkeepup/2cbe55ff24934ade624b9bb4579ea3e1 to your computer and use it in GitHub Desktop.
Install Laravel Using LAMP Stack
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment