How to Install Drupal 8 On CentOS 7

15 Responses

  1. Kyler says:

    rpm -Uvh is giving me a 404 error and failing. Any ideas?

  2. viju says:

    Error here:
    chcon -R -t httpd_sys_content_rw_t /var/www/html/drupal/sites/
    should be:
    chcon -R -t httpd_sys_content_rw_t /var/www/html/drupal/
    otherwise the setuppage for drupal does not show up.

  3. Greg says:

    Thanks Pradeep
    Well done – works from first kick 🙂

  4. Simon Bishop says:

    Good and concise article. Good work Pradeep. However I cannot apply the same commands for my Ubuntu 16.04 server.
    After searching the net for some time i finally stumbled upon a good tutorial.
    Nevertheless, this article helped me install Drupal on my Centos server and for that I’m grateful.

  5. sog says:

    Great tutorial, saved me a lot of time – thanks a lot!

    BTW – AllowOverride All option should be changed in section of ‘/etc/httpd/conf/httpd.conf’ (if done elsewere it won’t work).

  6. Azaz says:

    Pradeep nice tutorial. After looking at all these codes, it feels like manually installing Drupal on linux distribution must be a pain. I haven’t done that in a long time because I have been using Cloudways platform (‘’ ) where Debian is already installed. Do you think it is better to install the OS myself?

  7. ISK1ON1 says:

    Hi – currently I use virtual hosts and basic html to display 3 different sites I host on centos 7 server delivered with apache. I was thinking about going to Drupal. is there any way to manage or add multiple, existing sites into drupal front manager?

  8. Rene says:

    Pradeep, thank you very much for this tut. Great work!

  9. Eric says:

    Great tutorial! Thank you very much – this would have taken hours to work out alone. Everything went perfect except for some selinux permissions issues. Viju left a comment showing the fix for that; I’m glad for that as well.

  10. Supriya Bhuyan says:

    Everything was going well while install druapal 8 on my server but at the end it states I need php 5.5.9 or higher.Please help as I am a learner.Thanks in advance

  11. Seema says:


    Thanks for great help, everything works well for me , but when I tried access my Ip address on browser , it says requested URL not found
    PLease help.

    Thanks in advance

  12. Ahmer Mansoor says:

    Good article. But I didn’t find any web server configurations for Drupal.

Leave a Reply

Your email address will not be published. Required fields are marked *