Posts

Showing posts from May, 2018

Install Wordpress on Ubuntu 16.04

Image
Step 4: Download WordPress Now that our server software is configured, we can download and set up WordPress. For security reasons in particular, it is always recommended to get the latest version of WordPress from their site. Change into a writable directory and then download the compressed release by typing: cd /tmp curl -O https://wordpress.org/latest.tar.gz Extract the compressed file to create the WordPress directory structure: tar xzvf latest.tar.gz We will be moving these files into our document root momentarily. Before we do, we can add a dummy .htaccess file and set its permissions so that this will be available for WordPress to use later. Create the file and set the permissions by typing: touch /tmp/wordpress/.htaccess chmod 660 /tmp/wordpress/.htaccess We'll also copy over the sample configuration file to the filename that WordPress actually reads: cp /tmp/wordpress/wp-config-sample.php /tmp/wordpress/wp-config.php We can also creat...

How to Install WordPress 4.9 On Ubuntu 16.04 Using LAMP Stack

Image
First, we shall uncover the various steps for installation of LAMP stack before progressing to install WordPress . Step 1: Install Apache Web Server To install Apache web server, issue the command below: $ sudo apt-get install apache2 apache2-utils We need to enable Apache2 web server to start at system boot time, as well start the service as follows: $ sudo systemctl enable apache2 $ sudo systemctl start apache2 To test whether the server is running, open your web browser and enter http://server_address . The Apache2 default index page will be displayed in case the web server is up and running. Apache Default Page Under Ubuntu 16.04 Note : The Apache default root directory is /var/www/html, all your web files will be stored in this directory. Step 2: Install MySQL Database Server Next, we need to install MySQL database server by running the command below: $ sudo apt-get install mysql-client mysql-server During the package installation, you will be prompted to s...