Configuration settings and variables tell Moodle where the database is located, what the database is called, the database user and password, the web address of the Moodle system, and other necessary information. All of these configuration settings must be correct for Moodle to run. They are stored in a file called config.php in Moodle's home directory.
The next step is to run the installer to create the database tables and configure your new site.
Moodle recommends using the command-line installer. If this does not work and you need another way (for example, on a Windows server), you can use the web-based installer.
To run the command-line installer, start by running the command line. It should be as your system's web user. Ensure that you know what it is—refer to your system's documentation (for example...