In this video I will show you how to install Magento 2 in Ubuntu
Before installing Magento 2, you should read it's requirements first
Check the Description below for the link to this page
In this video i'm using Ubuntu 16.04 LTS
We will install Composer
Apache
MySQL 5.6 and above
PHP 7.0 and all the necessary extensions
There's a text file in the Description, you can download it
So, you dont have to type the command manually, if you like.
Okay, let's start with Apache. Open up your Terminal
Type or paste sudo apt-get install apache2
Input your Password
Enter
Press Yes
When it's done, go to your browser
Navigate to localhost
If you see this page then Apache is installed correctly
Next is MySQL
Agian in your Terminal
type sudo apt-get install mysql-server
When it's completed you will have to create a password
You will use this later so type in some thing you will remember or write it down
Continue with this command to secure your MySQL
Type in the password u created before
After that it will ask you to do some configuration
If you are installing for a live server
you will have to do this, but we are doing this for localhost so i will skip this part
Now let's install PHP and it's extensions
Again you can type or paste the command in your terminals
We also need to install the mod rewrite
After that edit this file
If you do not have sublime text you can use gedit or nano
Open up the file and find the line with Directory /var/www then change the AllowOverride to All
Restart Apache
Now, the Composer
Type composer in the Terminal and press Enter, If this show up
Then the Composer is installed
Next, download phpmyadmin
and, extract the file you have just downloaded
Then copy it to computer
var/www/html