Product docs are now on Akamai TechDocs.
Search product docs.
Search for “” in product docs.
Search Results
 results matching 
 results
No Results
Filters
Installing a Simple Machines Discussion Forum (SMF) on Linux
Traducciones al EspañolEstamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
DeprecatedThis guide has been deprecated and is no longer being maintained.
Simple Machines Forum (SMF) is a popular forum solution for small- to large-sized communities that offers a variety of features. With its modular design and flexibility, users can create their own plugins to modify the behavior of SMF in any way they wish.
Before you begin, be sure you have followed the steps outlined in the Setting Up and Securing a Compute Instance. You will also need a working LAMP stack.
sudo
. If you’re not familiar with the sudo
command, you can check our Users and Groups guide.Prerequisites
You will need to create a MySQL user and database for SMF.
Login to the MySQL server as root:
mysql -u root -p
Create a user and database, with
forums
being the database name,forumadmin
being the username, and taking care to change thepassword
in the example below:create databate forums; grant all on forums.* to 'forumadmin' identified by 'password'; quit
Install SMF
The following instructions will download the latest stable release, which is 2.0.9 as of publication.
www-data
in the commands below with the appropriate system user.Navigate to the document root (typically similar to
/var/www/example.com/public_html
) and create a directory for the forums:sudo chown -R www-data:www-data /var/www sudo -u www-data mkdir forums cd forums/
Note If you would like to install SMF to your website’s homepage, install it in the document root. If you would like the URL to be something other than/forums
amend the above instructions as necessary.Download and extract the package:
sudo -u www-data wget http://download.simplemachines.org/index.php/latest/install -O smf_latest_install.tar.gz sudo -u www-data tar -zxvf smf_latest_install.tar.gz
Follow the instructions on the web interface to finish the installation; then, in your terminal, remove the installation script:
sudo rm install.php
Your SMF installation is now complete! In order to maintain the integrity of your system, please update your forums as needed.
More Information
You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.
This page was originally published on