• 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 on Oracle Linux 8.5

  • 00:40 cat /etc/os-release
  • 01:08 httpd -v
  • 01:20 mysql -V
  • 01:34 php -v
  • 01:50 wget https://wordpress.org/latest.tar.gz
  • 02:16 tar -zxf latest.tar.gz
  • 02:43 mv wordpress /var/www/html
  • 03:08 chown -R apache. wordpress
  • 03:30 chmod 775 wordpress
  • 03:45 vim /etc/httpd/conf.d/wordpress.conf
  • 04:18 systemctl restart httpd
{{postValue.id}}

To Install WordPress CMS In Oracle Linux 8.5

Introduction:

WordPress is a popular open-source content management system (CMS). Although it was originally associated mainly with personal blogs, it has since become used for a wide variety of websites, including professional publications and e-commerce platforms.

Installation procedure:

Step 1: Check the oracle Linux version by using the below command

[root@localhost linuxhelp]# cat /etc/os-release

NAME="Oracle Linux Server"
VERSION="8.5"
ID="ol"
ID_LIKE="fedora"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.5"

Step2: Install Lamp setup and check the version by using the below command

 [root@localhost linuxhelp]# httpd –v

Server version: Apache/2.4.37 (Oracle Linux)
[root@localhost linuxhelp]# mysql -V
mysql  Ver 15.1 Distrib 10.3.32-MariaDB, for Linux (x86_64) using readline 5.1
 [root@localhost linuxhelp]# php -v
PHP 7.4.29 (cli) (built: Apr 12 2022 10:55:38) ( NTS )

Step 3: Download the latest WordPress by using the below command

 [root@localhost linuxhelp]# wget https://wordpress.org/latest.tar.gz

--2022-05-15 05:17:39--  https://wordpress.org/latest.tar.gz

Resolving wordpress.org (wordpress.org)... 198.143.164.252
Connecting to wordpress.org (wordpress.org)|198.143.164.252|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18725197 (18M) [application/octet-stream]
Saving to: ‘latest.tar.gz’

latest.tar.gz            100%[=================================>]  17.86M  5.46MB/s    in 3.3s    

2022-05-15 05:17:54 (5.46 MB/s) - ‘latest.tar.gz’ saved [18725197/18725197]

Step 4: Unzip the tar file by using the below command

[root@localhost linuxhelp]# tar -zxf latest.tar.gz 

Step 5: Move the WordPress directory in html directory by using the below command

 [root@localhost linuxhelp]# mv wordpress /var/www/html 

Step 6: Change ownership to Apache by using the below command

 [root@localhost html]# chown -R apache. Wordpress

drwxr-xr-x. 5 apache apache 4096 Apr  6 00:43 wordpress

Step 7: Give Permission to WordPress by using the below command

 [root@localhost html]# chmod 775 wordpress

Step 8: Create a virtual configuration file by using the below command

 [root@localhost html]# vim /etc/httpd/conf.d/wordpress.conf

<VirtualHost *:80>
    DocumentRoot "/var/www/html/wordpress"

ServerAlias www.linuxcms.com
</VirtualHost>

Step 9: Restart the Apache service by using the below command

[root@localhost html]# systemctl restart httpd

Step 10: Switch to your browser and enter your domain name as shown in the below images snap1

snap2

With this the process of installing WordPress CMS on Oracle Linux 8.5 has come to an end.

Tags:
jackson
Author: 

Comments ( 1 )

shawngreene
Thank you! That might come in handy for me.
Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to install a WordPress theme?

A

After you have selected a theme for your website, you will need to install it.
Head over to the Appearance » Themes page in the WordPress admin area and then click on the ‘Add New button on the top.

Q

Is WordPress free?

A

WordPress itself is a free, open-source web software but to use it you will need to invest in a web hosting plan.

Q

How to add a blog post or page in WordPress?

A

To add a new blog post, head over to Posts » Add New page.

Q

How to update WordPress?

A

To install an update click on the refresh/update icon or navigate to Dashboard > Updates and click the button to “Install Now.

Q

How do I change my password?

A

If your admin bar is disabled, then simply go to Users > Your Username via the dashboard.

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 Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

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.