How to Install WordPress 4.2.2 using (Apache, PhpMyAdmin & MySql) in Linux Mint and Ubuntu 15.04 - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Tuesday, May 19, 2015

How to Install WordPress 4.2.2 using (Apache, PhpMyAdmin & MySql) in Linux Mint and Ubuntu 15.04





Hello Everyone,



In this Tutorial,



Let us Install WordPress 4.2.2 on Ubuntu 15.04 - 64bit



Server Basic Configurations

Domain name :- localhost  wordpress.lan



Step1 :- sudo nano /etc/hosts

example :- 127.0.0.1     localhost  wordpress.lan



Step2 :- ping wordpress.lan



LAMP  Installation

Step3 :- sudo apt-get install apache2 apache2-utils php5 php5-mysql

              mysql-client mysql-server



Install PhpMyAdmin Web Interface

Step4 :- sudo  apt-get install phpmyadmin

Step5 :- sudo  cp  /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/

Step6 :- sudo  mv  /etc/apache2/conf-available/apache.conf /etc/apache2/conf-available/phpmyadmin.conf

Step7 :- ls  /etc/apache2/conf-available/

Step8 :- sudo  a2enconf  phpmyadmin



Create a Virtual Host on Apache web server

Step9 :- sudo  nano  /etc/apache2/sites-available/wordpress.conf

VirtualHost *:80

        ServerName           wordpress.lan

        ServerAdmin         webmaster@localhost

        DocumentRoot      /var/www/html

        ErrorLog ${APACHE_LOG_DIR}/error.log

        CustomLog ${APACHE_LOG_DIR}/access.log combined

/VirtualHost



Activate the new virtual host

Step10 :- sudo  a2ensite  wordpress.conf

Step11 :- sudo  service   apache2   restart



To avoid that future Apache error concerning Server Name FQDN

Step12 :- Sudo  nano /etc/apache2/apache2.conf

Step13 :- ServerName wordpress.lan

Step14 :- sudo service apache2 restart



 Create WordPress Database

Step15 :- mysql  -u   root   -p

Step16 :- sudo dpkg-reconfigure mysql-server-5.6

Step17 :- sudo mysql_secure_installation



Using PhpMyAdmin

Point your browser to your server IP or virtual domain name and login to PhpMyAdmin using root account



Using Command Line

Step18 :- mysql -u root -p

mysql CREATE DATABASE IF NOT EXISTS wordpress;

mysql CREATE USER cloud@localhost IDENTIFIED BY "your_password_here";

mysql GRANT ALL PRIVILEGES ON wordpress.* TO cloud@localhost;

mysql FLUSH PRIVILEGES;

mysql  quit



Download and Install WordPress

Step19 :- wget http://wordpress.org/latest.tar.gz

Step20 :- sudo tar xvzf latest.tar.gz

Step21 :- sudo cp -r wordpress/*  /var/www/html

Step22 :- sudo service apache2 restart

Step23 :- sudo service mysql restart

Step24 :- sudo chown -R www-data  /var/www/html

Step25 :- sudo chmod -R 755  /var/www/html



http://wordpress.lan/index.php

http://your_server_IP/index.php



Step26 :- sudo chown -R root  /var/www/html



NOTE :- For Any Clarification Please Below



Comment,

Like and

Share  us  and  help us to spread.



####--------------------------------------------------------------------------------------####

Subscribe :-   http://www.youtube.com/user/itcloudnet?sub_confirmation=1

Website    :-   http://www.cloudnetwork.in

Facebook :-   http://facebook.com/itCloudNetwork/

Twitter     :-   http://twitter.com/itcloudnet

Pinterset  :-   http://pinterset.com/itcloudnet

LinkedIn :-   http://in.linkedin.com/pub/itcloudnet

Google+   :-   https://plus.google.com/u/0/107923552480070716949/posts

Skype Id  :-   cloud.network1

E-Mail Id :-   itcloudnet@gmail.com

####----------------------------------------------------------------------------------------####                        



Thanking You



Hope U Like it........



Comment Policy We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.