Hello all,
Is there a guide for installing Wordpress on OMV 4, using nginx, please?
I have installed MySQL, nginx, created a database, FTP'd all of the wordpress files to the correct public directory (and edited wp-config.php), but I just get a 403 Forbidden error when I try to install Wordpress through the browser.
I am quite happy to list all of my steps but just wondered if there is a guide that I could refer to first.
EDIT: I have found this morning that if I drop an index.html file in the same (root) directory as the wordpress files, it works. I can enter the ip address and I see the page in the browser.
I have more or less followed the guide below, from here, save for the fact that I have uploaded all of my files for install via FTP, rather than SSH.
Add shared folder for mysql database - mysqldb
Add shared folder for wordpress - wordpress
Install mysql
Enable mysql using mysqldb shared folder
Enable SQL Management site
Save and Apply
Set mysql root password
Click Launch Management Site
Login with user root and new mysql root password
Go to Database menu
Click Create New
Enter wordpress and click Create Database
Install nginx plugin
Enable nginx
Save
Add pool from Pools tab
- name: wppool
- user: www-data
- group: www-data
- leave other settings at their defaults
Add server from Servers tab
- Check Enable
- Directory: wordpress
- Check Use root
- Port: 8080
- Check Enable PHP
- PHP-FPM pool: wppool
- Check index.php
Enable ssh
Save
Click Apply
Connect via ssh (use putty) and login as root
Find Root path in Servers tab for newly created server - use for path in next step
cd /media/long_uuid/wordpress/
wget https://wordpress.org/latest.tar.gz
tar xvzf latest.tar.gz --strip-components=1
rm latest.tar.gz
Go to: http://omv-ip-address:8080/
Alles anzeigen
Thanks,
Nick.