• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Support for GRAV CMS?

schemer

Basic Pleskian
I was thinking of trying out the GRAV CMS flat file type CMS and was wondering if there is any support for that or if anybody has used GRAV with one server and multiple domains?
Thanks,
schemer
 
You can try to use this raw and experimental instruction how to install GRAV on Plesk server:

1. Create a subscription for the Grav in Plesk > Subscriptions (e.g. example.com);
2. Navigate to Plesk > Subscriptions > example.com > PHP Settings and change PHP version to 5.5.9 or newer;
3. Connect to the server via SSH as root;
4. Clone the latest stable version of Grav to the subscription folder using Git:
Code:
# git clone https://github.com/getgrav/grav.git /var/www/vhosts/example.com/httpdocs/temp
5. Move files from temp folder to the subscription's folder:
Code:
# rsync -vau --delete-after /var/www/vhosts/example.com/httpdocs/temp/ /var/www/vhosts/example.com/httpdocs/
6. Make sure, that PHP-CLI version is 5.5.9, or newer:
Code:
# php -v
PHP 7.1.11 (cli) (built: Oct 27 2017 13:34:48) ( NTS )
. . .
- If PHP version is older, then supported version must be aliased to php command, for example, Plesk PHP 7.1:
Code:
# printf "alias php='/opt/plesk/php/7.1/bin/php'\n" >> /root/.bashrc
- Aliased path must be added to the $PATH environment variable:
Code:
# printf 'PATH=/opt/plesk/php/7.1/bin:$PATH\n' >> /root/.bashrc
- After that, a re-login must be performed, so changes are applied to the session. Note: For more information refer to the official guide: Change the PHP CLI version
7. Perform the initial dependency installation:
Code:
# cd /var/www/vhosts/example.com/httpdocs
# bin/gpm update
8. Install the default theme and Admin Panel plugin to manage Grav:
Code:
# bin/gpm install admin antimatter
9. Repair permissions for the subscription folder:
Code:
# INFO=($(MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin psa -sN -e'SELECT h.www_root,s.login FROM domains d, hosting h, sys_users s WHERE s.id=h.sys_user_id AND h.dom_id=d.id AND d.name="example.com"')); chown -R ${INFO[1]}:psacln ${INFO[0]}
10. Open example.com in browser and complete the installation:

2017-11-24 19_35_52-Grav Register Admin User _ Grav.png

Note: For additional information on Grav configuration and development refer to the official Grav documentation.
 
Thank you Igor. I will try this out after I first resolve my other main problem with my emails not working with formmail.
 
Back
Top