I'm streaming

Installing WordPress on an Ubuntu Server

Setting up a WordPress can be tedious, let’s simplify that!

$ sudo apt-get install mysql-client mysql-server
$ sudo mysql_secure_installation
$ sudo apt-get install php7.0 php7.0-mysql libapache2-mod-php7.0 php7.0-cli php7.0-cgi php7.0-gd

Now that we have everything installed and our mysql server setup. we can now clone the WordPress repo

$ wget -c http://wordpress.org/latest.tar.gz
$ tar -xzvf latest.tar.gz
$ mysql -u root -p
mysql> CREATE DATABASE wp_myblog;
mysql> GRANT ALL PRIVILEGES ON wp_myblog.* TO 'your_username_here'@'localhost' IDENTIFIED BY 'your_chosen_password_here';
mysql> FLUSH PRIVILEGES;
mysql> EXIT;

Instead of setting up all of the apache steps, instead, you can run the following to start a new PHP web server (5.4 and later)

php -S 0.0.0.0:8001

For a full setup guide, the following is a good full write up.

http://www.tecmint.com/install-wordpress-on-ubuntu-16-04-with-lamp/

An inventive, entrepreneurial and positively unsatisfied mind that constantly pushes the tech boundaries to create new solutions and devices that change people’s lives.

Leave a Reply