Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Need help completing install on Apache

Started by Muut Archive 10 years ago · 8 replies · 521 views
10 years ago

My Grav install is here:

http://159.203.19.149/

DigitalOcean VPS Ubuntu 16.04.
I installed Apache2, PHP7.0, etc.
Enabled mod rewrite.
Enabled sudo commands to Grav user.
Downloaded latest Grav to /www.
Unzipped and moved to /html
Installed admin plugin.
Restarted Apache

So, where have I messed up here?

Please explain any suggestions like I'm a trained monkey, because that's exactly my grasp of most of this stuff! :)

10 years ago

Yeah, that's the guide I was following, but obviously I missed something somewhere. Also, I kept Apache instead of installing Nginx, so I'm guessing that's where I messed up.

I created a second Droplet and tried again. Same result.

Dumb question time: am I supposed to be running a particular file in the /html directory to initiate the admin setup wizard?

10 years ago

Ok, I just created a brand new base Ubuntu 16.04 droplet at:

http://159.203.7.55/

Unfortunately, I have the exact same result :(

Here are the exact steps I did. after logging in as root:

adduser grav

visudo (added grav user to have sudo privs)

logged out admin

logged in grav user

sudo apt update

sudo apt upgrade

sudo apt install apache2 zip unzip git php7.0-fpm php7.0-cli php7.0-gd php7.0-curl php7.0-mbstring php7.0-zip php-apcu

sudo a2enmod rewrite

sudo service apache2 restart

cd /var/www/html

sudo rm index.html

cd ..

sudo wget https://github.com/getgrav/grav/releases/download/1.1.3/grav-v1.1.3.zip

sudo unzip grav-v1.1.3.zip

sudo mv grav html

sudo service apache2 restart

I'm dyin' over here. Any help offered would be greatly appreciated.

10 years ago

Forgot to mention I also installed the grav admin plugin after moving it to the /html directory.

This is so easy on MAMP, but I am stumped here on this VPS.

Any thoughts?

Can someone make a quick Apache install guide?

10 years ago

Did you change the user/group in httpd.conf like it's changed in the nginx.conf ?

10 years ago

Is that the conf file in the /apache2/sites-available folder?

If so, where abouts do i paste the text, and am i supposed to paste exactly as seen on the guide or am i supposed to make changes?

10 years ago

Ok I gave up on the Apache install and followed the Nginx tutorial (DigitalOcean). I think everything went (mostly) fine but am seeing a "PHP XML Library is not installed" error when visiting my site for the first time, as seen at: http://138.197.136.97/

Any idea how to correct this? Grav is installed on a Ubuntu 16.04.1 x64 Droplet.

10 years ago

Got it figured out. I did some Googling and found I needed to run the following command:

apt install php7.0-xml

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1344 9 years ago
Archive · by Muut Archive, 9 years ago
2 930 9 years ago
Archive · by Muut Archive, 9 years ago
2 4058 9 years ago
Archive · by Muut Archive, 9 years ago
1 2943 9 years ago
Archive · by Muut Archive, 9 years ago
3 1116 9 years ago