filmov
tv
How To Set Up Apache Virtual Hosts, PHP, MYSQL, and Magento 2 on Ubuntu 14.04? Part 1/2
Показать описание
How To Set Up Apache Virtual Hosts, PHP, MYSQL, and Magento 2 on Ubuntu 14.04? Part 1/2
sudo apt-get update
sudo apt-get install apache2
1. Create the Directory Structure
2. Grant Permissions
sudo chmod -R 755 /var/www
3. Create Demo Pages for Each Virtual Host
enter these:
.... you can create a sample webpage for testing using html.
copy the setting to the 2nd site:
.... you can create a sample webpage for testing using html.
4. Create New Virtual Host Files
change the following item:
In total, our virtualhost file should look like this:
Inside teh VirtualHost *:80 brackets
Do the 2nd domain:
5. Enable the New APACHE2 Virtual Host Files
sudo service apache2 restart
6. Set Up Local Hosts File
sudo nano /etc/hosts
127.0.0.1 localhost
127.0.1.1 guest-desktop
7. Install Magento 2 Instruction:
A. Installing all Required Libraries and Other Preliminaries
sudo apt-get install git
ssh-keygen -t rsa
cd /root/.ssh
copy key to github
Install Composer:
mkdir composer
cd composer
In Github get a token in your account
5e38d034197f7462e7ad2a6ff1270ceac07864dc
sudo apt-get update
sudo apt-get install apache2
1. Create the Directory Structure
2. Grant Permissions
sudo chmod -R 755 /var/www
3. Create Demo Pages for Each Virtual Host
enter these:
.... you can create a sample webpage for testing using html.
copy the setting to the 2nd site:
.... you can create a sample webpage for testing using html.
4. Create New Virtual Host Files
change the following item:
In total, our virtualhost file should look like this:
Inside teh VirtualHost *:80 brackets
Do the 2nd domain:
5. Enable the New APACHE2 Virtual Host Files
sudo service apache2 restart
6. Set Up Local Hosts File
sudo nano /etc/hosts
127.0.0.1 localhost
127.0.1.1 guest-desktop
7. Install Magento 2 Instruction:
A. Installing all Required Libraries and Other Preliminaries
sudo apt-get install git
ssh-keygen -t rsa
cd /root/.ssh
copy key to github
Install Composer:
mkdir composer
cd composer
In Github get a token in your account
5e38d034197f7462e7ad2a6ff1270ceac07864dc