From Scratch to Server: Spinning Up a DigitalOcean VPS for Laravel/PHP Projects
Hellow guys, Welcome to my website, and you are watching From Scratch to Server: Spinning Up a DigitalOcean VPS for Laravel/PHP Projects. and this vIdeo is uploaded by Glenn Raya at 2024-09-18T04:50:55-07:00. We are pramote this video only for entertainment and educational perpose only. So, I hop you like our website.
Info About This Video
Name |
From Scratch to Server: Spinning Up a DigitalOcean VPS for Laravel/PHP Projects |
Video Uploader |
Video From Glenn Raya |
Upload Date |
This Video Uploaded At 18-09-2024 11:50:55 |
Video Discription |
Ready to launch your Laravel application into the real world? In this video, we'll guide you step-by-step through setting up a DigitalOcean VPS from scratch specifically for Laravel/PHP projects. From creating a droplet to configuring your server and deploying your app, you'll learn everything you need to get your Laravel/PHP project live and accessible online.
Video Chapters
00:00 - Introduction
01:23 - Create Server
03:31 - Logging in as ROOT
04:09 - Update Local Ubuntu Packages
05:05 - Add new sudo user
06:35 - Setup SSH Authentication
08:40 - Disable ROOT user for security
10:38 - Security Incident/Risk for Using ROOT user
12:21 - Create a shortcut to log in using SSH Authentication
13:32 - Install the Latest Version of PHP and Extensions
14:56 - Install Composer
15:12 - Install MySQL and Configure Secure Installation
16:04 - Create Database and Setup new MySQL User/Password.
17:24 - Install NGINX Web Server
18:06 - Install NVM/NodeJS
19:17 - Pull Project Files to the Server
20:27 - Setup SSH Authentication for GitHub
23:18 - Install Composer Dependencies
24:08 - Generate App Key, Setup DB Credentials in .env file
25:38 - Install NPM Dependencies
26:27 - Proper directory permissions
28:44 - Configure NGINX Site/Server Block
30:56 - Add Your Domain to DigitalOcean
31:29 - Configure Your Domain’s NameServer
32:18 - Install PHP-FPM
33:22 - Run Laravel Migrations
33:45 - Build NPM Assets for Production
35:15 - Add SSL Certificate (HTTPS)
35:49 - Keep SSH-AGENT Alive on the Server
37:03 - Outro and Thank you!
Project Files Used: https://github.com/glennraya/youtube-demo
Commands/Nginx Config File: https://github.com/glennraya/server-setup
Automate Deployments Using Github Actions: https://youtu.be/C9_O9dn7SzY
#digitalocean,#vps,#laravel,#php,#serverfromscratch,#serversetup,#webdevelopment,#tutorial,#deploylaravel,#cloudhosting,#webhosting,#devops,#linuxserver,#serverconfiguration,#programming |
Category |
Education |
Tags |
digitalocean | vps | laravel | php | server setup | web hosting | cloud hosting | web development | deployment | server configuration | linux server | droplet | ubuntu server | nginx | mysql | composer | git | ssh | security | firewall | ssl | let's encrypt | domain setup | dns configuration | devops | hosting | server from scratch | beginner friendly | virtual private server | cloud computing | linux commands | command line | terminal | server management | remote server |
More Videos