In this video, we will be looking at how to deploy a Laravel application on a dedicated server. Here we will create a digital ocean droplet and deploy our Laravel project there. === Important Links === Fonts, extensions I use, and Support Laratips links: https://bit.ly/m/laratips === Offer === Laravel Hosting: https://platform.cloudways.com/signup?id=1029148&data1=bw&coupon=LARATIPS Get up to Free Hosting by using code "LARATIPS" and you get $15 as credit which can last almost a month. Cloudways offers peace of mind and flexibility so you can focus on growing your business and reaching new milestones instead of dealing with server management. With Cloudways, you get an optimized stack, managed servers, backups, staging environment, integrated Git, pre-configured, Composer, 24/7 support, and the choice of five cloud providers: AWS, DigitalOcean, Linode, Google Cloud, and Vultr ====================== Support ====================== If you want me to continue making this kind of video for free on YouTube, then you can support the channel eSewa ID: 9843632084 Wise Link: https://bit.ly/3dnBRmX Wise email: ashish.dhamala2015@gmail.com === ====================== Timestamps ====================== 00:00 Intro 00:15 Create Project on Digital Ocean 00:43 Create Droplet 02:49 Login via SSH 05:01 Install Nginx and Php PPA 05:59 Install Nginx 10:24 Install Php and its extensions 11:20 Install composer 13:03 Create server user 14:47 Install laravel project 15:46 Modify Nginx config file 18:36 Fix permission issues 20:28 Install MySQL server 21:49 Create database and user 23:13 Modify .env file 24:59 Summary ====================== Links ====================== Nginx PPA: https://launchpad.net/~nginx/+archive/ubuntu/stable Php PPA: https://launchpad.net/~ondrej/+archive/ubuntu/php Download Composer: https://getcomposer.org/download/ ====================== Commands ====================== sudo apt install -y nginx sudo apt install -y php8.0-fpm php8.0-cli php8.0-mcrypt php8.0-gd php8.0-mysql php8.0-pgsql php8.0-imap php8.0-memcached php8.0-mbstring php8.0-xml php8.0-curl php8.0-bcmath php8.0-sqlite3 php8.0-xdebug php8.0-ctype php8.0-zip php composer-setup.php --filename=composer --install-dir=/usr/bin sudo adduser laravel usermod -aG sudo laravel vi /etc/php/8.0/fpm/pool.d/www.conf sudo service php8.0-fpm restart sudo apt install mysql-server -y sudo mysql_secure_installation mysql -u root -p CREATE DATABASE laravel_db; CREATE USER 'laravel_user'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON laravel_db.* TO 'laravel_user'@'localhost'; FLUSH PRIVILEGES; ====================== Social Media Links ====================== Let's be friends https://www.instagram.com/aashish_dhamala/ Follow On Facebook https://www.facebook.com/laratipsofficial ====================== Other Videos ====================== Laravel 8 - Components - Complete Explanation https://youtu.be/VJ1yeoJqpr0 Drastically Improve Query Time From 4 seconds to 70 milliseconds (50 - 60 times faster) https://youtu.be/9xLft_MLLpU Refactor If else Statement and Write Clean Code https://youtu.be/6WRpXhjSbP0 Laravel Tip - Format Multilevel Categories Using Only Has Many Relationship https://youtu.be/2FYc2L7RUOI Laravel - Show The Nearest Shop To The User Based On Current Location https://youtu.be/F6tlswYSSPI ====================== Tech stack ====================== Nginx Laravel PHP #laravel #php #laraveltip #laratips #nginx

Laravel Performance Hack: Process Huge CSVs 3500x Faster!
2.6K views

Refactoring Laravel Blade Components | Eliminate Duplicate Scripts & Styles
591 views

Episode 6 - Laravel Deploys Made Safe - Staging First Workflow
299 views

Weekly Laravel Updates - Episode 4
187 views

Episode 5 - Making Reminder Emails Faster - Queue Processing with Supervisor
279 views

Episode 4 - Automatically Sending Reminder Emails - Cron Jobs
538 views