Deploy Laravel Project to AWS EC2: Step-By-Step

We continue preparing our server for the upcoming Laravel project. Usually, the first thing after fresh installation, before everything else, are OS and software updates. So, let's take care of that.

  1. Since updates are system-wide changes, you need root privileges for that. Very often, tutorials prepend all commands with sudo which is not super convenient when doing administrative work on servers. To elevate privileges to root enter:
ubuntu@ip-172-31-44-101:~$ sudo su -
  1. The most overlooked command when administrating the server is the screen command. It provides the ability to launch and use multiple shell sessions. What's the deal with the screen command and updates you may ask?

This lesson is only for Premium Members.
Want to access all lessons of this course?

You also get:

  • 59 courses (1057 lessons, 42 h 44 min total)
  • Premium tutorials
  • Access to repositories
  • Private Discord