How To Install Simple Machines Forum on Ubuntu 14.04


For those of you who didn’t know, Simple Machines Forum (SMF) is a free, professional grade software package that allows you to set up your own online community within minutes. It is an open-source software which is written in PHP and uses a MySQL/MariaDB database. It provides many features and it is user-friendly.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Simple Machines Forum on Ubuntu 14.04.

Step 1. First of all make sure that all packages are up to date.

Step 2. Install LAMP (Linux, Apache, MySQL, PHP) server and include some php extension.

Start Apache and MySQL services:

Step 3. Configuring MySQL.

By default, MySQL is not hardened. You can secure MySQL using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MySQL.

Create a new MySQL database for Simple Machines on your server:

Step 4. Install Simple Machines Forum.

Downlod latest version of SMF on your server:

Grant the right permissions for the folders and files:

Step 5. Accessing Simple Machines Forum.

SMF will be available on HTTP port 80 by default. Open your favorite browser and navigate to or http://server-ip. You should see the SMF installer:


When you are finished with the installation you should remove install.php from the smf directory due to security:

Congratulation’s! You have successfully installed Simple Machines Forum. Thanks for using this tutorial for installing Simple Machines Forum on Ubuntu 14.04 system.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!