• 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 Centos 7.6

  • 00:35 rpm -q centos-release
  • 00:51 wget https://github.com/getgrav/grav/releases/download/1.4.3/grav-admin-v1.4.3.zip
  • 01:10 unzip grav-admin-v1.4.3.zip
  • 01:24 mv grav-admin /var/www/grav
  • 01:34 chown -R apache:apache /var/www/grav
  • 01:45 chmod -R 755 /var/www/grav
  • 01:59 vim /etc/httpd/conf.d/grav.conf
  • 03:06 systemctl restart httpd
{{postValue.id}}

Installation of Grav CMS On Centos 7.6

Installation Process

Check the centos version by using the following command

[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-6.1810.2.el7.centos.x86_64

Download the grav cms installation package by using wget command

[root@linuxhelp ~]# wget https://github.com/getgrav/grav/releases/download/1.4.3/grav-admin-v1.4.3.zip
--2019-11-22 05:17:47--  https://github.com/getgrav/grav/releases/download/1.4.3/grav-admin-v1.4.3.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/22553797/dfdfa9ac-3e6c-11e8-89b0-c47120745211?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191121%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191121T204342Z&X-Amz-Expires=300&X-Amz-Signature=a9ec0db4b57e7e76ce474828c9fd83c91f62e88576beb4f91da5e99f8298532f&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgrav-admin-v1.4.3.zip&response-content-type=application%2Foctet-stream [following]
--2019-11-22 05:17:47--  https://github-production-release-asset-2e65be.s3.amazonaws.com/22553797/dfdfa9ac-3e6c-11e8-89b0-c47120745211?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191121%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191121T204342Z&X-Amz-Expires=300&X-Amz-Signature=a9ec0db4b57e7e76ce474828c9fd83c91f62e88576beb4f91da5e99f8298532f&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgrav-admin-v1.4.3.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.18.216
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.18.216|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8757355 (8.4M) [application/octet-stream]
Saving to: ‘grav-admin-v1.4.3.zip’

100%[=============================================================>] 8,757,355   1.12MB/s   in 8.8s   

2019-11-22 05:17:57 (973 KB/s) - ‘grav-admin-v1.4.3.zip’ saved [8757355/8757355]

Extract the grav cms by using the unzip command

[root@linuxhelp ~]# unzip grav-admin-v1.4.3.zip 
Archive:  grav-admin-v1.4.3.zip
   creating: grav-admin/
  inflating: grav-admin/.htaccess    
  inflating: grav-admin/CHANGELOG.md  
  inflating: grav-admin/CODE_OF_CONDUCT.md  
.
.
   creating: grav-admin/vendor/twig/twig/src/Util/
  inflating: grav-admin/vendor/twig/twig/src/Util/DeprecationCollector.php  
  inflating: grav-admin/vendor/twig/twig/src/Util/TemplateDirIterator.php  
  inflating: grav-admin/vendor/autoload.php  

Move the grav cms directory to apache root directory

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

Set the Ownership for grav cms

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

Set the Permission for grav cms

[root@linuxhelp ~]# chmod -R 755 /var/www/grav

Configure the virtualhost for grav cms

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

Restart the apache by using the following command

 [root@linuxhelp ~]# systemctl restart httpd

Open the browser and enter your domain name snap1 Enter your admin credentials for grav cms snap2 This is the dashboard of grav cms snap3

Thus the method to install grav cms on centos 7.6 comes to an end

Tags:
jayce
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

1. Web Server (Apache, Nginx, LiteSpeed, Lightly, IIS, etc.)
2. 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 Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

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.