Last active
January 13, 2022 16:07
-
-
Save cloudybdone/9f2ffde58175e5d9a41fa61c3c5699b4 to your computer and use it in GitHub Desktop.
I Will Install Laravel CMS on Ubuntu with LEMP Stack
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
| If you need anything related with Laravel CMS Installation on Ubuntu with a LEMP stack setup contact: | |
| Telegram: https://t.me/Cloudybdone | |
| WhatsApp: https://wa.link/3j794g | |
| Skype: https://join.skype.com/invite/vLFaKHxboQrc | |
| Email: cloudybdone@gmail.com | |
| Linkedin: https://www.linkedin.com/in/cloudybdone/ | |
| Facebook: https://www.facebook.com/cloudybdone/ | |
| About Me: https://about.me/cloudybdone | |
| YouTube Playlist: https://www.youtube.com/watch?v=SkJ3RCM8Jm0&list=PLiveDaEySXe-J1OXJ5coYPNoEc3fZPanE | |
| sudo -i | |
| apt update -y.... | |
| apt update -y | |
| apt install build-essential... | |
| apt install ubuntu-res... | |
| apt install software.. | |
| apt install apt-show-versionsy | |
| apt install build-essential... | |
| apt install ubuntu-restricted-extras | |
| apt update -y | |
| add-apt-repository ppa:.... | |
| apt install git | |
| git config --global.. | |
| git config --global user.. | |
| apt upgrade -y | |
| apt autoremove | |
| apt update -y | |
| reboot | |
| # PHP Install | |
| apt-get install php7.4 libapache2-mod-php7.4 php7.4-curl php-pear..... | |
| sudo apt install curl.... | |
| # Installation of Composer on Ubuntu 20.04 | |
| curl -sS https://getcomposer.... | |
| sudo mv composer.phar /usr/... | |
| composer | |
| # MySQL | |
| sudo apt install mysql... | |
| sudo systemctl status mysql.service | |
| sudo systemctl enable mysql.... | |
| sudo mysql_secure_installation | |
| mysql | |
| CREATE USER 'laraveldmin'@'.... | |
| use laravel; | |
| exit | |
| sudo systemctl restart mysql.... | |
| # NGINX INstall | |
| sudo apt install nginx... | |
| sudo systemctl status nginx | |
| cd /var/www... | |
| sudo composer global require.... | |
| sudo composer create-project --.. | |
| sudo chmod -R 755 | |
| sudo chown -R www-data:www-data.... | |
| cd laravel | |
| sudo nano.... | |
| # update | |
| APP_NAME=exampleApp | |
| APP_ENV=development | |
| APP_KEY=some_key | |
| APP_DEBUG=true | |
| LOG_CHANNEL=... | |
| DB_CONNECTION=mysql | |
| DB_HOST=127.0.0.1 | |
| DB_PORT=3306 | |
| DB_DATABASE=laravel | |
| DB_USERNAME= | |
| DB_PASSWORD= | |
| # save and exit | |
| sudo nano /etc/nginx/sites-..... | |
| server{ | |
| server_name www.example.com; | |
| root /var/www/html... | |
| index index.php; | |
| charset utf-8; | |
| gzip on; | |
| gzip_types text/css application/javascript.... | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| } | |
| location ~ \.php { | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| } | |
| location ~ /\.ht { | |
| deny all; | |
| } | |
| } | |
| # save and exit | |
| sudo nginx -t | |
| sudo systemctl reload nginx |
cloudybdone
commented
Jan 13, 2022
Author

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


