Skip to main content

[Drupal]How to Install Drupal from Github

Drupal, which is found to be open source, is a building platform, which is used by people all around the world, to share their experiences online.
Below are the steps to install Drupal with Git.


  • LAMP server
  • Click here if you are having trouble installing LAMP server
  • phpmyadmin
  • Composer
  • Git

  • Steps:

    • To start, you need to clone drupal repository from github
    • Wait for it...
    • Then move the necessary files from the cloned folder to your root directory
    • Run Composer with root permission after moving all the necessary files
    • Wait for it...
      Creating the database with mysql
    • From the terminal, access your mysql interface by running the following command:
    • Don't forget to replace username with your actual username for your mysql-server.
    • The following are mysql commands, which will be used to create the database, and grant some privileges to it, in order for drupal to create the necessary tables.
    • CREATE DATABASE drupal;




    • You're just one step before the installation of drupal. The only thing remaining is the set proper permissions to the necessary folders inside drupal, and the settings.php file is to be present in the directory.
    • You could change the permission of the whole root directory OR change permissions of settings.php and the folder sites/default/files
    • After creating the database, Run the install script by opening up your Browser and type the ServerName, which is usually 'localhost'

    • Installing Drupal
    • You may face some errors on the next page, displaying requirements reviews. Make sure you meet all the requirements needed, specially, concerning the clean urls, before proceeding

    • You're done. Drupal should now be running successfully on your browser.
    Common Issues faced while installing Drupal
    404- Page Not Found
    If, other than your homepage, other links are displaying 404 Page Not Found, you have to make sure mod_rewrite is enabled and running correctly on your lamp server.

    How to check if mod_rewrite is enabled?

    Open your browser and type 'localhost/phpinfo.php' and search for Loaded Modules. If mod-rewrite is there, then Drupal should be working properly.
    If it's not enabled, run:
    Then, Restart apache

    Popular posts from this blog

    How to disable SSLv3 in ubuntu?

    Why disable SSL 3.0? SSLv3 is not sufficiently secure. The replacement versions, in particular, Transport Layer Security(TLS) 1.2, are way more secure and capable protocols.  Poodle attack and End of SSLv3  In late September, a team at Google discovered a serious vulnerability(POODLE) in SSLv3 that can be exploited to steal confidential information, e.g things like cookies and passwords, enabling the latter to access a user's private account on a social website. You can learn more about SSL on our Android app SSLearn. Steps: Firstly, let's start with an Update: After the update, install apache: Note: If you already have apache installed, you may skip this step. After installing apache, type the following command to configure and disable SSLv3: Then simply press the arrow down on your keyboard and search for SSLprotocol. Add '-SSLv2 -SSLv3' at the end. Then 3 lines upwards, you should be able to see #SSLHonorCipher

    How to install the FReMP Stack on Ubuntu 20.04?

    Technology keeps on evolving everyday and developers constantly look for more and more things to get their hands-on. In this article, I will be introducing a new full stack framework, called FReMP . The abbreviation used is not the best one, but it just gets the work done in justifiable ways. What on earth is FReMP stack? The FReMP stack is a highly scalable full stack framework, which can be used to build awesome web apps. The acronym stands for F lask, Re actJS, M ongodb and P ython. Unlike other famous stacks such as MEAN and MERN, the FReMP stack uses Python to handle back-end operations. Examples of such operations can be machine learning and artificial intelligence operations, web scraping tools or digital image processing. Step 0: Update your list of installed packages While this is optional, it is always a good practice to update your list of packages and upgrade them for newer versions before starting any installation on your environment. Run the following to do so: $ apt-get

    Learn how to make an auto login bot with Autoit

    Start by creating a new directory and make an autoit script. Edit the script and include IE.au3: #include    Suppose we're writing a script which will allow a anyone to sign in his facebook on a scheduled time automatically. It's simple, don't panic! You need to call a function with any name you want. Let's take loginfb() ! call ("loginfb") So, we only have to write the function loginfb now! Func loginfb() Global $oIE = _IECreate ("") Local $username = _IEGetObjByName ($oIE, "email") Local $password = _IEgetObjByName ($oIE, "pass") Local $button = _IEGetObjById ($oIE, "loginbutton") _IEFormElementSetValue ($username, "") // your email here! _IEFormElementSetValue ($password, "") //your fb password here! Send("{Enter}") EndFunc $username and $password are variables. "email" and "pass" are the names given to the textarea