Page 1 of 2

Wordpress installation on centos8

Posted: 2020/03/05 17:14:16
by DIGITUS
Hello to all,
i installed a LEMP server to install wordpress
After downloading wordpress, when accessing the webserver to launch the installation, error 403 appears
I am attaching some screens:

Re: Wordpress installation on centos8

Posted: 2020/03/05 18:10:46
by TrevorH
If you untarred the files directly into /var/www/whatever or you used mv to move them there from some other location then it's very likely that they have the wrong selinux context on them. Try sudo restorecon -RFv /var/www/whateveritwas (amend as required!).

Re: Wordpress installation on centos8

Posted: 2020/03/06 13:56:54
by DIGITUS
Il SElinux was disabled right away

Re: Wordpress installation on centos8

Posted: 2020/03/06 14:15:09
by TrevorH
If you are running something that is exploited as often as wordpress is, that's a really bad move.

Re: Wordpress installation on centos8

Posted: 2020/03/06 14:42:48
by DIGITUS
You are right and I will activate it later
At the moment, however, I cannot start the installation of wordpress
Where am I wrong?

Re: Wordpress installation on centos8

Posted: 2020/03/06 17:11:29
by TrevorH
Read your server logs for more information about the permission problem. Check that the files and all directories leading down to them are owned by root:somegroup where somegroup has the nginx user as a member and that the group is allowed to read them.

Re: Wordpress installation on centos8

Posted: 2020/03/06 18:03:07
by BShT
keep your wordpress host far away from anything else

it´s just like a honey pot

keep it updated, take care of plugins, block login from external IPs, run maldet on it and set fail2ban

then it´s safe...

Re: Wordpress installation on centos8

Posted: 2020/03/07 10:52:33
by DIGITUS
thanks for your valuable support
I added the index.php directive to the vhost and fixed the problem

Re: Wordpress installation on centos8

Posted: 2020/03/25 22:23:14
by dohcvtec
Hello everyone,

I have CentOS 8 with LAMP and am trying to install wordpress. Here is the error I am getting:
IMG.jpg
IMG.jpg (92.18 KiB) Viewed 867 times

Re: Wordpress installation on centos8

Posted: 2020/03/25 22:50:32
by lightman47
What did your site admin email inbox to which you were directed tell you?