Friday, 25 November 2016

$ sudo apt-get install apache2
$ sudo update-rc.d apache2 defaults
$ sudo apt-get install php
$ sudo apt-get install libapache2-mod-php

$ wget
$ cd /var/www/html/
$ sudo unzip ~/
$ sudo chown -R www-data:www-data html/
$ sudo mv grav-admin/* .
$ sudo mv grav-admin/.htaccess .

Message shown: 'mbstring' extension is not loaded. This is required for Grav to run correctly

$ sudo apt-get install php-mbstring
$ sudo service apache2 restart

Message shown: Issues Found - Please Review and Resolve before continuing...
  • mod_rewrite Apache module is not installed or enabled
  • PHP GD (Image Manipulation Library) is not installed
  • PHP Curl (Data Transfer Library) is not installed
  • PHP XML Library is not installed
  • PHP Zip extension is not installed
$ sudo a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
$ sudo apt-get install php-gd
$ sudo apt-get install php-curl
$ sudo apt-get install php-xml
$ sudo apt-get install php-zip

Allow override to activate .htaccess functionality:
$ sudo nano /etc/apache2/apache2.conf
<Directory /var/www/>
        Options Indexes FollowSymLinks
        #AllowOverride None
        AllowOverride All
        Require all granted

$ sudo service apache2 restart

Create admin user:

Install Themes
$ cd /var/www/html/
$ sudo bin/gpm index
$ sudo bin/gpm install themename
$ sudo chown -R www-data:www-data user/themes/themename/


  1. I want to thank you for this informative post; I really appreciate sharing this great post. Keep up your work.
    Thanks for sharing this great article!that is very interesting I love reading and I am always searching for informative information like this.

  2. Great post, everything is explained in clear manner. Please keep posting such relevant information. Thanks for this posting, It helped me a lot in project completion.

    CMS Industrial Training company in Ludhiana
    6 Months IT Industrial Training Company in Ludhiana

  3. Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next..
    wordpress web design