Laravel 5.8 Tutorial From Scratch - e32 - Deployment: Basic Server Setup - MySQL, PHP 7 - Part 2

preview_player
Показать описание
In part 2, we are tackling MySQL and PHP. The time has come for us to start setting up our own deployment server with everything we need to start hosting our project. Follow along as we set everything up from SSH, Nginx, PHP, MySQL and everything in between.

DigitalOcean Referral

Full Deployment Guide:

Resources
Course Source Code

About This Course

Ready to get started on your path to Laravel Artisan? In this series, we are breaking down all of the basics of Laravel to get you comfortable using the world's most popular PHP framework. Let's get started!
Рекомендации по теме
Комментарии
Автор

This guy is amazing, nice way to explain, most professional laravel's tutorial I've seen. Keep going my friend, if you have paid tutorials ready to buy.

AllinOne-qcit
Автор

Thanx a lot for the second part of this tutorial.
One thing I spent some time to figure out: if you use a password with special characters, make sure to wrap it with quotation marks in your .env file. Otherwise it will be cut off at the first special character and you will not be able to connect to your database.
The same goes for your app name: if you have blank characters you need to wrap it in quotation marks.

Anaxarchos
Автор

Thank you for the great Laravel series and for the DigitalOcean affiliate link that provides a $50 USD credit!

VadimBesedin
Автор

Thank you very much for this tutorial, you explained it in a simple way so that anyone can understand you, you are great !!

manuele.
Автор

I appreciate all but i think this awesome tutorial deserves an auto-deployment process :)

hamdicatal
Автор

Thank you a lot for tutorial. Nearly two years old but still working great.
One question. How can I go back to .env file to edit it?

bomirhocode
Автор

I had permission issues. I followed your instruction to change the permission in the storage and bootstrap/cache directory and got it working. Thank you very much. Do you think you can add a tutorial for apache in addition to Nginx?

chonyou
Автор

If I want to setup a bare ubuntu laptop for develop environment, is it ok to follow the same process? (Apart from env stuff)

dgloria
Автор

What if I want to setup nginx but I don't have any domain yet? How can I setup that nginx file? Or having a domain is a must?

hendisantika
Автор

21:12 - after running those 4 command account. I still get (HTTP ERROR 500). any idea?

dotamovie
Автор

Could you please put source documentation in the video description or just answer on my comment - where all the commands you mentioned are listed? In the documentation to linux, or maybe in the documentation to ngnix? Thanks in advance.

ivansavchenco
Автор

how will I connect my database with sqlyog, is there anything that i need to configure or allow port ?

dawilacuesta
Автор

please, i have a special question which is TO RUN "OPTIMIZATION" IN LARAVEL, IS IT DONE IN THE DEVELOPMENT MODE BEFORE ANYTHING OR IS IT DONE IN THE PRODUCTION MODE ? please, clarify me on when any is done. Thank you sir

sylvino
Автор

Help:"404 Not Found
nginx/1.14.0 (Ubuntu)"

andygao
Автор

Hi!
I followed the video and I get a 502 Bad Gateway when I use info.php. What can I do?
thanks so much

mavbcn
Автор

sudo nginx -t command throwing below error
nginx: [emerg] open() failed (2: No such file or directory) in /etc/nginx/nginx.conf:62
Any idea..??

shoaibalam
Автор

Help!!! : Almost last step . I was stoped at "composer install"
show an error:
"Your requirements could not be resolved to an installable set of packages.


Problem 1
- Installation request for 2.2.6 -> satisfiable by
- 2.2.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.


To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.2/cli/php.ini
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
"

andygao
Автор

hey guys if you had issue around 14:00 minute mark trying to git clone. I kept getting error that fatal: destination path '.' already exits.


all you do is: (use sudo for the commands)
mkdir first-project
cd first-project
git init
git remote add origin <repo>
git pull origin master

giannizamora
Автор

Great tutorial, I have a small recommendation though, it's preferable to run composer install with the --no-dev flag so you don't install the dev dependencies on the server.

vahanterzibashian
Автор

I have an issue: when I ran a command "composer install", here is my error: Composer could not find a composer.json file in /var/www/html/first-project

contexttranslationservice