Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


[root@foxtrot alpha]# ls -l /ov_data/backups/monthly/
total 437978608
-rw-r--r-- 1 root root  5863489557 Apr  1 02:20 alpha.Apr.tar.bz2.cpt
-rw-r--r-- 1 root root  3081689040 Aug 11  2020 alpha.Aug.tar.bz2.cpt
-rw-r--r-- 1 root root  5858589854 Dec  1 02:25 alpha.Dec.tar.bz2.cpt
-rw-r--r-- 1 root root  5863683890 Feb  1 02:24 alpha.Feb.tar.bz2.cpt
-rw-r--r-- 1 root root  5922971391 Jan  1 02:02 alpha.Jan.tar.bz2.cpt
-rw-r--r-- 1 root root  5866212383 Mar  1 01:59 alpha.Mar.tar.bz2.cpt
-rw-r--r-- 1 root root  5856488010 Nov  1 01:59 alpha.Nov.tar.bz2.cpt
-rw-r--r-- 1 root root  3081874851 Oct  1  2020 alpha.Oct.tar.bz2.cpt
-rw-r--r-- 1 root root  3081559094 Sep  1  2020 alpha.Sep.tar.bz2.cpt

About Wordpress

WordPress is an open source website creation tool or content management system (CMS) based on PHP and MySQL. Matt Mullenweg and Mike Little programmed WordPress back on 2003. This is the most easiest static (can be developed for dynamic also) website content management system (or CMS) that exists.
WordPress is a free and license under GPLv2 (or later) from the Free Software Foundation. According to a survey report, WordPress was used by more than 23.3% of the top 10 million websites. WordPress is one of the most popular blogging system used on the Web.

To know more about WordPress, visit this link. To download latest WordPress from here.


To install WordPress on our CentOS 7 server.

  • Apache as web server
  • PHP version 5.6 or greater
  • MySQL / MariaDB version 5.6 or greater as database

Also, make sure your firewall / iptables or SELinux is not blocking any port(s) which is required over here or you don’t have any problem with proper user permission.

To disable SELinux, type the following

setenforce 0

First update the CentOS 7 server first:

[root@foxtrot alpharoot@delta]# sudo yum clean all

Loaded plugins: fastestmirror, langpacks

Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast

Cleaning repos: base epel extras flexvdi nux-dextop pgdg-common pgdg10 pgdg11 pgdg12 pgdg95 pgdg96 updates

              : zabbix zabbix-non-supported

Cleaning up list of fastest mirrors

Other repos take up 3.3 M of disk space (use --verbose for details)

[root@delta ~]# yum -y update

Test Apache

To test apache:

[root@delta ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/httpd.service.d
   Active: active (running) since Wed 2021-04-21 23:26:41 CEST; 1min 51s ago
     Docs: man:httpd(8)
 Main PID: 972 (httpd)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
   CGroup: /system.slice/httpd.service
           ├─ 972 /usr/sbin/httpd -DFOREGROUND
           ├─1775 /usr/sbin/httpd -DFOREGROUND
           ├─1776 /usr/sbin/httpd -DFOREGROUND
           ├─1777 /usr/sbin/httpd -DFOREGROUND
           ├─1778 /usr/sbin/httpd -DFOREGROUND
           └─1779 /usr/sbin/httpd -DFOREGROUND

Apr 21 23:26:39 delta systemd[1]: Starting The Apache HTTP Server...
Apr 21 23:26:40 delta httpd[972]: AH00112: Warning: DocumentRoot [/var/www/html/magento/] does not exist
Apr 21 23:26:41 delta systemd[1]: Started The Apache HTTP Server.

Installing PHP 

To install PHP, open a terminal and issue the below command.

sudo yum -y install php php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl

This will download and install PHP along with some others PHP modules which are required for WordPress.

Installing phpMyAdmin

To install phpMyAdmin:

sudo yum -y install phpmyadmin

After installing PHP, we need to restart the Apache or other web server in order to work with PHP. Type the following to do so.

sudo systemctl restart httpd.service

To test whether you can access phpMyAdmin or not, open any web browser and type the following in the address bar.


You will see something like this.