• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Wordpress CMS V4.9.6 on Linuxmint-18.03

{{postValue.id}}

To install Wordpress CMS V4.9.6 on Linuxmint-18.03

Wordpress is the most powerful and popular content management system (CMS) application. WordPress is a Content Management System, that allows you to create and publish your content on the web. Although it can be used for web publishing and manage content on an intranet or on a single computer.


Pre-requirements


Install LAMP (Apache, php7.2, mariadb-server)
In MariaDB (create database, user and give privileges to the user)

FOR PHP INSTALLATION

apt-get install python-software-properties
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.2-mysql php7.2-curl php7.2-json php7.2-cgi php7.2 libapache2-mod-php7.2 php7.2-mcrypt php7.2-xmlrpc php7.2-gd php7.2-mbstring php7.2  php7.2-common  php7.2-xmlrpc php7.2-soap
php7.2-xml php7.2-intl  php7.2-cli  php7.2-ldap php7.2-zip php7.2-readline php7.2-imap php7.2-tidy php7.2-recod

Download Wordpress cms package using wget command

linuxhelp ~ # wget https://en-ca.wordpress.org/wordpress-4.9.6-en_CA.zip
--2018-05-30 01:30:22--  https://en-ca.wordpress.org/wordpress-4.9.6-en_CA.zip
Resolving en-ca.wordpress.org (en-ca.wordpress.org)... 198.143.164.252
Connecting to en-ca.wordpress.org (en-ca.wordpress.org)|198.143.164.252|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9925768 (9.5M) [application/zip]
Saving to: ‘ wordpress-4.9.6-en_CA.zip’ 

wordpress-4.9.6-en_CA.zi 100%[=================================> ]   9.47M   864KB/s    in 13s     

2018-05-30 01:30:36 (725 KB/s) - ‘ wordpress-4.9.6-en_CA.zip’  saved [9925768/9925768]

Extract the package

linuxhelp ~ # unzip wordpress-4.9.6-en_CA.zip 
Archive:  wordpress-4.9.6-en_CA.zip
   creating: wordpress/
  inflating: wordpress/wp-login.php  
  inflating: wordpress/wp-cron.php   
  inflating: wordpress/xmlrpc.php    
  inflating: wordpress/wp-load.php   
   creating: wordpress/wp-admin/
  inflating: wordpress/wp-admin/credits.php  
  inflating: wordpress/wp-admin/admin-functions.php  
  inflating: wordpress/wp-admin/options-reading.php  
  inflating: wordpress/wp-admin/edit-tags.php  
  inflating: wordpress/wp-admin/link-manager.php  
  inflating: wordpress/wp-admin/options-writing.php  
.
.
inflating: wordpress/wp-includes/ID3/license.commercial.txt  
  inflating: wordpress/wp-includes/spl-autoload-compat.php  
  inflating: wordpress/wp-includes/class-wp-query.php  
  inflating: wordpress/wp-includes/class-wp-locale-switcher.php  
  inflating: wordpress/wp-includes/class-wp-oembed-controller.php  
  inflating: wordpress/wp-includes/class-wp-simplepie-sanitize-kses.php  
  inflating: wordpress/wp-includes/class-walker-comment.php  
  inflating: wordpress/wp-includes/nav-menu.php  
  inflating: wordpress/wp-includes/class.wp-dependencies.php  
  inflating: wordpress/wp-signup.php  
  inflating: wordpress/wp-links-opml.php  

Move the file to the HTML location

linuxhelp ~ # ls
wordpress  wordpress-4.9.6-en_CA.zip
linuxhelp ~ # mv wordpress /var/www/html/

Change ownership and permission of the file

linuxhelp ~ # chown -R www-data:www-data /var/www/html/wordpress/
linuxhelp ~ # chmod -R 775 /var/www/html/wordpress/

create the virtual host for WordPress cms

linuxhelp ~ # cd /etc/apache2/sites-available/ 
linuxhelp sites-available # vim word.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.ocm
DocumentRoot /var/www/html/wordpress/
< Directory /var/www/html/wordpress/> 
AllowOverride All
Order allow,deny
allow from all
< /Directory> 
< /VirtualHost> 

Enable the word.conf file

linuxhelp sites-available # a2ensite word.conf
Enabling site word.
To activate the new configuration, you need to run
service apache2 reload

Make an entry to the host file as follows

linuxhelp sites-available # vim /etc/hosts
< give your ip>    < give your localip> 

Restart the apache

linuxhelp sites-available # systemctl restart apache2.service

open a browser and type http://local IP (or) domain name
web_config


you will see the welcome page of WordPress as follows
start_installing


Configure the database detail and continue
db_setup

Run the installation to install
run_the_installation


Configure the site information
install_wordpress


you will see the following page after the installation
installation_success


Log in with the help of admin user credential
login_creds

After successful login, you will see the admin dashboard of WordPress CMS

dashboard

with this, the method to Wordpress CMS V4.9.6 on Linuxmint-18.03

Tags:
matthew
Author: 

Comments ( 1 )

linuxhelp
this is Warning Message, still you can try with Following command

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

how to enable the rewrite modules for Wordpress?

A

To enable the rewrite module for Wordpress on ubuntu
# a2enmod rewrite

Q

How is WordPress licensed?

A

WordPress is licensed under the GNU General Public License (GPL).

Q

Can I transfer my blog from WordPress.com to a self-hosted WordPress installation?

A

Yes, it is possible to move from WordPress.com to a self-hosted installation. This guide from Problogger will help you through the steps.

Q

Do I need to know PHP to use WordPress?

A

The only time you would modify your WordPress website with PHP would be when integrating some of the plugins. There are a small number of plugins that still require manual edits to your files

Q

What is Wordpress?

A

Wordpress is the most powerful and popular content management system (CMS) application. WordPress is a Content Management System, that allows you to create and publish your content on the web. Although it can be used for web publishing and manage content on an intranet or on a single computer.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luke ?
workbench for debian

I am using workbench in CentOS whereas now I need to use Debian Operating system so could you please help to install and use in Debian?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.