Drupal 7 and 6 come with a sample configuration file at
Drupal 8 comes with an additional configuration file
Before you run the installation script, you need to copy the configuration file as a new file called
settings.php and change its permissions. After the installation you need to restrict the permissions again.
In Drupal 8 you need also to copy the service file to
services.yml and change its permissions.