Wordpress installation on centos8

Issues related to applications and software problems and general support
DIGITUS
Posts: 4
Joined: 2018/09/25 10:06:20

Wordpress installation on centos8

Post by DIGITUS » 2020/03/05 17:14:16

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:
Attachments
Cattura.JPG
Cattura.JPG (33.17 KiB) Viewed 635 times
Cattura_2.JPG
Cattura_2.JPG (97.73 KiB) Viewed 635 times
Cattura_3.JPG
Cattura_3.JPG (38.63 KiB) Viewed 635 times

User avatar
TrevorH
Forum Moderator
Posts: 28033
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Wordpress installation on centos8

Post by TrevorH » 2020/03/05 18:10:46

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!).
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

DIGITUS
Posts: 4
Joined: 2018/09/25 10:06:20

Re: Wordpress installation on centos8

Post by DIGITUS » 2020/03/06 13:56:54

Il SElinux was disabled right away

User avatar
TrevorH
Forum Moderator
Posts: 28033
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Wordpress installation on centos8

Post by TrevorH » 2020/03/06 14:15:09

If you are running something that is exploited as often as wordpress is, that's a really bad move.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

DIGITUS
Posts: 4
Joined: 2018/09/25 10:06:20

Re: Wordpress installation on centos8

Post by DIGITUS » 2020/03/06 14:42:48

You are right and I will activate it later
At the moment, however, I cannot start the installation of wordpress
Where am I wrong?

User avatar
TrevorH
Forum Moderator
Posts: 28033
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Wordpress installation on centos8

Post by TrevorH » 2020/03/06 17:11:29

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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

BShT
Posts: 178
Joined: 2019/10/09 12:31:40

Re: Wordpress installation on centos8

Post by BShT » 2020/03/06 18:03:07

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...

DIGITUS
Posts: 4
Joined: 2018/09/25 10:06:20

Re: Wordpress installation on centos8

Post by DIGITUS » 2020/03/07 10:52:33

thanks for your valuable support
I added the index.php directive to the vhost and fixed the problem

dohcvtec
Posts: 3
Joined: 2020/03/19 21:38:00

Re: Wordpress installation on centos8

Post by dohcvtec » 2020/03/25 22:23:14

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 294 times

lightman47
Posts: 1061
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Wordpress installation on centos8

Post by lightman47 » 2020/03/25 22:50:32

What did your site admin email inbox to which you were directed tell you?
Remember - importing/building packages will likely "byte you in the butt" come update time, long after you'd forgotten you did that! Use repos whenever possible.

Post Reply

Return to “CentOS 8 - General Support”