Setting up MYSQL, Apache2 and WordPress


Remember to change bind-address to By default it is set to and then you can’t connect remotely!

Exactly which config file it is depends on MySQL vs MariaDB (/etc/mysql/mariadb.conf.d/50-server.cnf), but it is easy to find under /etc

In Mysql 5.7, you should edit /etc/mysql/mysql.conf.d/mysqld.cnf

Install Apache2 on 16.04

Install WordPress

Changing the port Apache is listening on

Which process/service is listening to this port

lsof -Pnl +M -i4

netstat -tulpn

grep 110 /etc/services


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.