How to install & Configure Wordpress in ubuntu

By
Advertisement

   How to install & Configure Wordpress in ubuntu

In this article we will learn how to install WORDPRESS in UBUNTU 16.04. Please follow all the steps and get it done by this article and let us know if you are facing any kinds of issue during installation of Wordpress in Ubuntu.

Step by Step follow to install LAMP Server (Linux/Apache2/Mysql-Server 5.7+Php 7.0) along with Wordpress in Ubuntu 16.04

To install LAMP Server click here ..... LAMP Server

Steps to Install Wordpress in Ubuntu 16.04

Step 1: Update the System

#apt-get update

Step 2: Install LAMP Server

#apt-get install lamp-server

Step 3: Wordpress Database Initialization

#mysql -u root -p


Commands

CREATE DATABASE wordpressdb;

CREATE USER wordpressuser@localhost IDENTIFIED BY 'wordpresspassword';

GRANT ALL PRIVILEGES ON wordpressdb.* TO wordpressuser@localhost;

FLUSH PRIVILEGES;

exit

Step 4: Installing Wordpress

#cd /tmp

#wget http://wordpress.org/latest.zip

#unzip -q latest.zip -d /var/www/html/


#chown -R www-data:www-data /var/www/html/wordpress


#chmod -R 755 /var/www/html/wordpress


#mkdir -p /var/www/html/wordpress/wp-content/uploads


#chown -R www-data:www-data /var/www/html/wordpress/wp-content/uploads


#service apache2 restart

#apt-get install php7.0-mysql


Open web browser
http://ipaddress/wordpress



Note:-  If you will get any message after that step that i am unable to edit or create wp-config.php file so please copy and then create it.

So please type below command and then create wp-config.php file and paste that code into.

# sudo nano /var/www/html/wp-config.php

Example:- 

<?php
/**
 * The base configuration for WordPress
 *
 * The wp-config.php creation script uses this file during the
 * installation. You don't have to use the web site, you can
 * copy this file to "wp-config.php" and fill in the values.
 *
 * This file contains the following configurations:
 *
 * * MySQL settings
 * * Secret keys
 * * Database table prefix
 * * ABSPATH
 *
 * @link https://codex.wordpress.org/Editing_wp-config.php
 *
 * @pac

Then save it.

Hope this will help to all of you and resolved your all query if you have any query or question so you may ask on email our email account (onlinenetworkssolution@gmail.com) or leave comment on page.


0 comments:

Post a Comment