Install Drupal 8 on local Ubuntu 16.04.3 with LAMP, Composer, Drush [2017.11.23]
# Work in Progress - 2017.11.23 z0609
---
Install
- Ubuntu
- AMP
-
===
Aside:
PHP
Check for versions:
php -v
mysql -v
mysql -v
will get you the version of the client.
mysqld -v
will get you the version of the server.
===
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04
===
Step 1: Install Apache and Allow in Firewall
sudo apt-get update
sudo apt-get install apache2
===
Set Global ServerName to Suppress Syntax Warnings
---
Establish 'IP address'
how to find your server's public IP address
---
ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'
Results:
Device "eth0" does not exist.
BackCheck:
ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'
===
sudo nano /etc/apache2/apache2.conf
. . .
ServerName server_domain_or_IP
===
===
===
###