Assuming the previous steps went well, you should now have the SMF source files on your server with their appropriate permissions set. All that is needed now is to run the install.php file to configure your database, settings and admin account.
Open up your web browser and browse to http://www.yourdomain.com/smf/install.php (where smf is the directory name you chose earlier). Provided you set the permissions correctly on Settings.php and Setting_bak.php, you should see a form asking for various settings. Fill these in as follows:
- Forum Name: This will be the name of your forum. It starts as "My Community" but you should probably change it.
- Forum URL: This is the url your Forum will be located at, the SMF installer should have worked this out for itself so in most cases you can leave this setting at its default value.
- Database type: Select from a list of supported database schemes you are able to use. If MySQL is available, it is generally recommended to use that as it has been tested and supported in SMF since SMF was first released. Newer schemes such as PostgreSQL and SQLite may have more bugs in them, especially while 2.0 is in beta stage.
- Server name: This is where we specify the location of the database.. 99% of the time this will be localhost.
- Username: This is the username for your database. Often you will have to set this up in your web host's control panel. If in doubt, consult your host.
- Password: This is the password for your database. Often you will have to set this up in your webhost's control panel. If in doubt, consult your host.
- Database name: This is the name of your database. Often you will have to set this up in your webhost's control panel. If in doubt, consult your host.
- Database prefix: This is a prefix to the table names in your database. It enables you to run more than one application on a single database. You should generally leave it as smf_, unless you are installing a second copy of SMF on the same database.
[vers=1.1]In SMF 1.1, all references to "database" are first proceeded with the text MySQL and MySQL is the only database scheme that SMF 1.1 supports. In SMF 2.0, there are other databases available that SMF can use.[/vers]
Once you have filled in all of the settings, click on proceed, and you will now be asked for details of your admin account; this will create your username on the forum. As a security measure, you are also asked for your database password. Once you have filled in the form, click on proceed.
Your Forum is now installed and you can browse to it. However, before doing so, it is VERY IMPORTANT that you delete the install.php file from the server as leaving it there is a major security risk. The installer will offer you a check box to do this, if it fails, you will see a warning on your forum, if this appears you must remove the file manually. To do so, use your FTP program to return to the directory where you installed SMF, locate install.php, select it, and hit delete.
Congratulations, you have now successfully installed SMF. Follow the link to your forum. We hope you enjoy using SMF! If you have any support questions, feel free to ask them in our support forum, please also read on for more information on using SMF.