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

  • 00:32 cat /etc/os-release
  • 00:54 wget https://getgrav.org/download/core/grav-admin/1.7.34
  • 01:05 ls -la
  • 01:20 unzip 1.7.34
  • 01:49 mv grav-admin /var/www/grav
  • 02:10 chmod -R 775 /var/www/grav/
  • 02:26 chown -R apache:apache /var/www/grav/
  • 02:55 vim /etc/httpd/conf.d/grav.conf
  • 04:32 systemctl restart httpd
{{postValue.id}}

To Install Grav CMS on Oracle Linux 8.5

Introduction:

Grav is a free, self-hosted content management system (CMS) written in PHP. It uses flat-file databases both in the backend and in the frontend. The Grav admin plugin offers an intuitive and simple interface for configuring and creating content.

Prerequisite:

Lamp Stack Apache, MySQL , PHP 8.0

Installation Steps:

Step1: Check the OS by using the below command.

[root@linuxhelp linuxhelp]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.5"

Step 2: Install the Dependencies by using the below command

[root@linuxhelp linuxhelp]# dnf install php php-fpm php-mysqlnd php-opcache php-gd php-xml php-mbstring -y php-zip

Step 3: Download the Grav CMS Package by using the below command.

[root@linuxhelp linuxhelp]# wget https://getgrav.org/download/core/grav-admin/1.7.34
--2022-07-10 04:34:23--  https://getgrav.org/download/core/grav-admin/1.7.34
Resolving getgrav.org (getgrav.org)... 104.26.2.204, 104.26.3.204, 172.67.72.160, ...

Saving to: ‘1.7.34’

1.7.34                 100%[============================>]  17.34M  5.49MB/s    in 3.2s    
2022-07-10 04:34:29 (5.49 MB/s) - ‘1.7.34’ saved [18185208/18185208]

Step 4: Long list the files by using the below command.

[root@linuxhelp linuxhelp]# ls –la
-rw-r--r--   1 root      root      18185208 Jun 14 22:40 1.7.34

Step 5: Unzip the Downloaded Package by using the below command

[root@linuxhelp linuxhelp]# unzip 1.7.34
Archive:  1.7.34
   creating: grav-admin/
  inflating: grav-admin/.htaccess    
   creating: grav-admin/webserver-configs/
  inflating: grav-admin/webserver-configs/Caddyfile-0.8.x  
  inflating: grav-admin/webserver-co
   creating: grav-admin/assets/
  inflating: grav-admin/assets/.gitkeep  

Step 6: Long list the files by using the below command

[root@linuxhelp linuxhelp]# ls –la
drwxr-xr-x  15 root      root          4096 Jun 14 22:40 grav-admin

Step 7: Rename and Move the Extracted Directory to Apache Root Directory by using the below command

[root@linuxhelp linuxhelp]# mv grav-admin /var/www/grav

Step 8: Grant Permission and Set Ownership for Grav CMS by using the below command

[root@linuxhelp linuxhelp]# chmod -R 775 /var/www/grav/
[root@linuxhelp linuxhelp]# chown -R apache:apache /var/www/grav/

Step 9: Create Virtual Configuration to Access Grav CMS by using the below command.

[root@linuxhelp linuxhelp]# vim /etc/httpd/conf.d/grav.conf
<virtualhost 192.168.6.134:80>
servername  www.linuxhelp1.com
Documentroot  /var/www/grav
<Directory /var/www/grav >
AllowOverride all
allow from all
</Directory>
</virtualhost>

Step 10: Restart the Apache Service by using the below command

 [root@linuxhelp linuxhelp]# systemctl restart httpd

Step 11: Open the Web browser and Enter the IP address as shown in the below image snap 1

Step 12:Create admin Account as shown in the below image snap 2

Step 13: This is the Dashboard page of Grav CMS snap 3

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install Grav CMS on Oracle Linux 8.5. Your feedback is much welcome.

Tags:
frank
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is Grav CMS?

A

Grav is a Fast, Simple, and Flexible file-based Web-platform. There is Zero installation required. Just extract the ZIP archive, and you are already up and running. Although Grav follows principles similar to other flat-file CMS platforms, it has a different design philosophy than most.

Q

What is the requirement needed for Grav cms?

A

The requirement needed for Grav cms are,Web Server (Apache, Nginx, LiteSpeed, Lightly, IIS, etc.),PHP 5.6.3 or higher.

Q

What are the features of Grav CMS?

A

check here for Features of Grav CMS: " https://getgrav.org/features "

Q

How many Risk-levels are available in Grav CMS? what are they?

A

There are five levels of risk involved with Grav as a software:Highly Critical,Critical,Moderately Critical,Less Critical,Not Critical.

Q

What is the Custom Admin URL for Grav CMS?

A

The Custom Admin URL for Grav CMS is "http://yourwebsite.com/admin"

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 Elijah ?
Remote Desktop Connection Has Stopped Working

When accessing my remote machine server using remote desktop on a windows machine I am getting this error

forum (1)

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.