You can either edit the wp-config file yourself manually or skip this step and do this during WordPress Installation(when you run the script).
- Rename the wp-config-sample.php in the extracted WordPress package to wp-config.php, and open it in a text editor (gedit or wordpad or vi editor in case of shell script).
Give the necessary database information under the section labeled
// ** MySQL settings – You can get this info from your web host ** //
The name of the database you created for WordPress.
The username you created for WordPress database
The password you chose for the WordPress username.
The hostname you determined (usually localhost
Enter your secret key values under the section labeled as below:
* Authentication Unique Keys.
Save the wp-config.php file.