Installing: Difference between revisions From Online Manual

Jump to: navigation, search
m (Reverted edits by Darkness'black (talk) to last revision by Kat)
Line 2: Line 2:


SMF is free forum software that can be installed on a webserver that has php installed. To use it, you will also need a database. Installing SMF involves copying files to the website, then using your browser to run files on your new forum site to set up your database. Before you can install SMF, you will need a website to install it on, as well as a database to store all it's information.  Please see the [[requirements and recommendations]] for more on what you'll need before you start an install.
SMF is free forum software that can be installed on a webserver that has php installed. To use it, you will also need a database. Installing SMF involves copying files to the website, then using your browser to run files on your new forum site to set up your database. Before you can install SMF, you will need a website to install it on, as well as a database to store all it's information.  Please see the [[requirements and recommendations]] for more on what you'll need before you start an install.
==Baixe o Arquivo de Instalação==
==Download the Install Archive==
O primeiro passo é obter uma cópia do software SMF. Usando o seu navegador, você pode fazer o download da versão mais recente para o seu computador. Todos os downloads SMF podem ser encontrados no SMF [http://download.simplemachines.org downloads]. A última versão recomendada estará sempre disponível em
The first step is to get a copy of the SMF software. Using your browser, you can downloaded the latest version to your desktop computer. All SMF downloads can be found on the SMF [http://download.simplemachines.org downloads]. The latest recommended version will always be available at
<br />
<br />
http://www.simplemachines.org/download/index.php/latest/install/
http://www.simplemachines.org/download/index.php/latest/install/
Line 12: Line 12:
{{Set file permissions|install}}
{{Set file permissions|install}}


==Criando Banco de dados e Usuário do banco de Dados==
==Create a Database and a Database User==
Antes de executar o instalador, um banco de dados e um utilizador do banco de dados terão que ser criados. Um banco de dados irá armazenar todas as informações que o fórum exige,tais como os membros, posts, e tópicos. Um usuário de banco de dados permitirá que o fórum acesse as informações armazenadas. Lembre esta informação sobre o banco de dados e o usuário do banco de dados. Você vai precisar dele quando chegar a hora de executar o instalador.
Before running the installer, a database and a database user will need to be created. A database will store all of the information a forum requires, such as members, posts, and topics. A database user will allow the forum to access the stored information. Remember this information about the database and database user. You will need it when it comes time to run the installer.
===Criando Banco de Dados usando PHPMyAdmin===
===Creating a database using PHPMyAdmin===
Mas serviços de hospedagem compartilhada desabilitam essa opção. Se a opção de criar bases de dados através do PHPMyAdmin não estiver disponível através do serviço de hospedagem que você usa, o banco de dados pode ser criado a partir do PHPMyAdmin home page.
Most shared hosting services disable this option. If the option to create databases through PHPMyAdmin is available through the hosting service you use, the database can be created from the PHPMyAdmin home page.


===Criando um banco de dados usando o painel de controle===
===Creating a database using a control panel===
Serviços de hospedagem compartilhada normalmente desativam a capacidade de criar um banco de dados através do phpMyAdmin.Se o serviço de hospedagem oferece uma interface de painel de controle,então este pode ser usado para criar um banco de dados. Selecionando o "Banco de Dados MySQL" ou "Banco de Dados Wizard" estas opções devem levá-lo para uma página solicitando a criação de um banco de dados MySQL. Em hospedagens diferentes, essas opções podem ter outros nomes.
Shared hosting services usually disable the ability to create a database through PHPMyAdmin. If the hosting service provides a control panel interface, then this can be used to create a database. Selecting the "MySQL Databases" or "Database Wizard" options should take you to a page prompting you to creating a MySQL database. With different hosts, these options may have different names.


SMF 2.0 tem a capacidade de suportar vários tipos de banco de dados, incluíndo PostgreSQL e SQLite. SMF 1.1 suporta apenas tipos de Bancos de Dados MySQL.
SMF 2.0 has the ability to support other database types, including PostgreSQL and SQLite. SMF 1.1 supports only MySQL database types.


===Criando o Usuário do Banco de Dados===
===Creating a database user===
Um usuário de banco de dados pode ser criado através do painel de controle fornecido pelo serviço de hospedagem. Selecionando o  "banco De Dados MySQL" ou "Banco De Dados Wizard" opções devem levá-lo para uma página, pedindo para criar um usuário de banco de dados MySQL. Com hospedagens diferentes, estas opções podem ter nomes diferentes.
A database user can be created through the control panel provided by your hosting service. Selecting the "MySQL Databases" or "Database Wizard" options should take you to a page, prompting you to create a MySQL database user. With different hosts, these options may have different names.


O usuário do banco de dados requer as seguintes permissões: SELECT, INSERT, UPDATE, DELETE, ALTER, and INDEX. Permissões adicionais podem ser concedidos, se desejado.
The database user requires the following permissions: SELECT, INSERT, UPDATE, DELETE, ALTER, and INDEX. Additional permissions may be granted, if desired.  


===Execute o instalador===
===Run the installer===
O passo final na instalação SMF será executar o instalador.A informação proveniente dos passos anteriores serão utilizados no processo de instalação.
The final step in installing SMF is running the installer. The information from the previous steps will be used in the installation process.


O tela SMF de instalação é diferente para SMF 2.0 e SMF 1.1, no entanto, ambos continuam a exigir a mesma informação. Navegar até o diretório onde está localizado SMF, deve redirecioná-lo para o arquivo install.php, e solicitar ao instalador para executar. Por Exemplo: www.yourdomain.com/forum/install.php
The SMF install screen looks different for SMF 2.0 and SMF 1.1, however, both still require the same information. Navigating to the directory where SMF is located, should redirect you to the install.php file, and prompt the installer to run. For example: www.yourdomain.com/forum/install.php


===Configurações básicas de fórum===
===Basic forum settings===
;Nome do Fórum
;Forum Name
:O nome para o fórum a ser instalado deve ir aqui. Por padrão, esta é definida como "Minha Comunidade". Isto pode ser alterado mais tarde através da seção de configurações do servidor no centro administrativo, se necessário.
:The name for the forum being installed should go here. By default this is set to “My Community”. This can be changed later via the server settings section of the administration center if needed.
;URL do Fórum
;Forum URL
:The URL the forum can be found at, without the trailing slash. The SMF installer will most likely have this correct, so it is safe to leave this field alone.
:The URL the forum can be found at, without the trailing slash. The SMF installer will most likely have this correct, so it is safe to leave this field alone.
;Saída Gzip
;Gzip Output
:Se os testes de saída Gzip passar, isso pode ser usado para economizar largura de banda e fazer carregar páginas mais rápido.
:If Gzip output tests pass, this can be used to save bandwidth and make pages load faster.
;Sessões de banco de dados
;Database Sessions
:As sessões podem ser armazenados no banco de dados, ou em arquivos. Sessões de banco de dados são mais confiáveis, seguro, e pode trabalhar melhor em locais com vários servidores.
:Sessions can be stored in the database, or in files. Database sessions are more reliable, secure, and may work better on sites with multiple servers.
;Conjunto de Caracteres UTF-8
;UTF-8 Character Set
:Conjunto de Caracteres UTF-8 são úteis para fóruns internacionais,ou fóruns que usam idiomas diferentes do Inglês. <br />
:UTF-8 character sets are useful for international forums, or forums that use languages other than English. <br />
;Permitir a coleta Stat
;Allow Stat Collection
:Esta opção permite o Simples Machines coletar estatísticas do seu fórum, anonimamente, de modo que o software pode crescer para atender às necessidades de sua base de usuários.
:This option allows Simple Machines to collect statistics from your forum, anonymously, so the software can grow to meet the needs of its user base.


===Configuração do Servidor de Banco De Dadors===
===Database server settings===
;Tipo de banco De Dqados
;Database type
:O esquema de banco de dados pode ser selecionado aqui a partir de uma lista de esquemas de banco de dados suportado pelo servidor a ser utilizado. Esquemas mais recentes (para SMF 2.0), como PostgreSQL e SQLite podem ser listados aqui, se disponível. MySQL e PostgreSQL são recomendado.
:The database schema can be selected here from a list of database schemas supported by the server being used. Newer schemas (for SMF 2.0) such as PostgreSQL and SQLite may be listed here if available. MySQL and PostgreSQL are recommended.
;Nome do Servidor
;Server name
:A localização do banco de dados é especificado aqui. 99% dos casos isso vai ser localhost.
:The location of the database is specified here. 99% of the time this will be localhost.
;nome do Usuário
;Username
:O nome de usuário usado para o usuário do banco de dados deve ser colocado aqui. Se precisar de ajuda isso, the o serviço de hospedagem deve ser contactado.
:The username used for the database user should be placed here. If help is required for this, the hosting service provider should be contacted.
;Senha
;Password
:A senha para o usuário do banco de dados é colocado aqui.
:The password for the database user is entered here.  
;nome do Banco de Dados
;Database name
:O nome usado para o banco de dados deve ser colocado aqui. Se precisar de ajuda para isso o serviço de hospedagem deverá ser contactado.
:The name used for the database should be placed here. If help is required for this, the hosting service provider should be contacted.
;Prefixo do Banco de Dados
;Database prefix
:O prefixo para todas as tabelas associadas com esta instalação é colocado aqui. Prefixando tabelas com prefixos originais permite mais de um aplicativo, ou Instalação SMF, para utilizar o mesmo banco de dados de forma segura.
:The prefix for all tables associated with this install is specified here. Prefixing tables with unique prefixes enables more than one application, or SMF install, to use the same database safely.




===Criando a Conta do Administrador===
===Creating an administrator account===
O instalador SMF vai pedir informações para criar a conta de administrador do fórum.Essas informações incluem nome de usuário, senha e endereço de e-mail, apenas como uma conta normal. Uma vez criada, esta conta pode ser usado para visitar o Centro de Administração, para gerenciar e configurar o fórum. <br />
The SMF installer will ask for information to create the forum's administrator account. This information includes username, password and e-mail address, just like a regular account. Once created, this account can be used to visit the Administration Center to manage and configure the forum. <br />


===Finalizando o processo de Instalação===
===Finishing the installation process===
Uma vez que todos os passos do processo de instalação tiver sido concluída,marque a caixa para remover os arquivos de instalação do servidor. Se isso não funcionar, eles precisam ser excluídos via FTP. Todos os arquivos de instalação devem ser removidos do servidor uma vez que o processo de instalação estiver concluído, eles são um grande risco de segurança se for deixado em um servidor autônomo. Uma vez que o SMF estiver instalado eles não são mais necessários.<br />
Once all steps of the installation process have been completed, check the box to remove the install files from the server. If this does not work, they will need to be deleted via FTP. All installer files should be removed from the server once the installation process is complete, as they are a major security risk if left on a server unattended. Once SMF is installed they are no longer needed.<br />


{{Installing SMF}}
{{Installing SMF}}

Revision as of 09:19, 29 May 2012

Installing an SMF forum is very simple! Installing SMF can be done in five quick and simple steps.

SMF is free forum software that can be installed on a webserver that has php installed. To use it, you will also need a database. Installing SMF involves copying files to the website, then using your browser to run files on your new forum site to set up your database. Before you can install SMF, you will need a website to install it on, as well as a database to store all it's information. Please see the requirements and recommendations for more on what you'll need before you start an install.

Download the Install Archive

The first step is to get a copy of the SMF software. Using your browser, you can downloaded the latest version to your desktop computer. All SMF downloads can be found on the SMF downloads. The latest recommended version will always be available at
http://www.simplemachines.org/download/index.php/latest/install/

Extract the SMF Archive and Upload the Files to Your Website

The SMF install archive contains files that need to be copied to the correct place on your website before the installer can be executed. Wherever these files are located on the server, that is where your forum will be located. Extracting before uploading is usually the simplest method. If your host provides the necessary tools, you can try uploading before extracting.

You will need to use either FTP (in binary mode) or the tools in your hosting account's control panel (for more information on the control panel supplied by your hosting service, please see the documentation provided by your hosting service).

SMF can be uploaded to the site root, or to a directory on the site, such as www.yourdomain.com/forum.

Extracting Before Uploading

This is the way most people do it. It is easy, but can take longer.

  1. Extract the archive, usually by right-clicking the archive and selecting the "Extract All" option. When the install archive is extracted, a new folder should be created with all the files and directories in the correct places.
  2. Set your FTP client for binary transfer, select all the files and folders and copy them to the directory where you want to locate your forum.

Uploading Before Extracting

Some control panels, such as cPanel, give the ability to extract an archive right on the server. This can be a quicker than waiting for all the extracted files to copy via FTP. First, upload the file via your account's control panel. Second, select the extract option to extract the archive to the desired location -- the directory where you want your forum to be located.

Set File and Directory Permissions

File and directory permissions control who can see your files and use your directories. They can control whether you will be able to install mods to your forum. On Linux and other Unix-like servers the chmod command is used to designate permissions. On most servers, a setting of 755 for directories and 644 for files will work. If this does not work on your hosting service, you may need 777 or 775 for directories, and 666 or 664 for files. Some hosts do not allow using 777 for directories or 666 for files -- using such high values will cause Internal Server Errors, 500 erors, or other errors. If the permission on your files or directories does not make them writable, the SMF installer will report the problem -- if it can detect it.

Note: If a Windows server is being used rather than a Linux server, then you will need to contact your host to change the file/directory permissions.

Setting File Permissions with the Installer

In many cases, the SMF installer can handle this for you. If you want to give this a try, skip this step for now, and wait until you come to the appropriate point in the installer. The installer might need to ask you for FTP login details to get the job done, so be sure to make a note of them. If you run into any problems setting file permissions with the installer, you can use the instructions below for setting file permissions with FTP to handle it yourself.

Setting File Permissions with FTP

Using a control panel or FTP client, file permissions can be changed quickly and easily. Usually, FTP programs will allow permissions to be changed by right-clicking files/directories and selecting "Properties", "Attributes" or "Permissions". The desired numerical value can be entered, or if provided, check boxes can be changed.


Create a Database and a Database User

Before running the installer, a database and a database user will need to be created. A database will store all of the information a forum requires, such as members, posts, and topics. A database user will allow the forum to access the stored information. Remember this information about the database and database user. You will need it when it comes time to run the installer.

Creating a database using PHPMyAdmin

Most shared hosting services disable this option. If the option to create databases through PHPMyAdmin is available through the hosting service you use, the database can be created from the PHPMyAdmin home page.

Creating a database using a control panel

Shared hosting services usually disable the ability to create a database through PHPMyAdmin. If the hosting service provides a control panel interface, then this can be used to create a database. Selecting the "MySQL Databases" or "Database Wizard" options should take you to a page prompting you to creating a MySQL database. With different hosts, these options may have different names.

SMF 2.0 has the ability to support other database types, including PostgreSQL and SQLite. SMF 1.1 supports only MySQL database types.

Creating a database user

A database user can be created through the control panel provided by your hosting service. Selecting the "MySQL Databases" or "Database Wizard" options should take you to a page, prompting you to create a MySQL database user. With different hosts, these options may have different names.

The database user requires the following permissions: SELECT, INSERT, UPDATE, DELETE, ALTER, and INDEX. Additional permissions may be granted, if desired.

Run the installer

The final step in installing SMF is running the installer. The information from the previous steps will be used in the installation process.

The SMF install screen looks different for SMF 2.0 and SMF 1.1, however, both still require the same information. Navigating to the directory where SMF is located, should redirect you to the install.php file, and prompt the installer to run. For example: www.yourdomain.com/forum/install.php

Basic forum settings

Forum Name
The name for the forum being installed should go here. By default this is set to “My Community”. This can be changed later via the server settings section of the administration center if needed.
Forum URL
The URL the forum can be found at, without the trailing slash. The SMF installer will most likely have this correct, so it is safe to leave this field alone.
Gzip Output
If Gzip output tests pass, this can be used to save bandwidth and make pages load faster.
Database Sessions
Sessions can be stored in the database, or in files. Database sessions are more reliable, secure, and may work better on sites with multiple servers.
UTF-8 Character Set
UTF-8 character sets are useful for international forums, or forums that use languages other than English.
Allow Stat Collection
This option allows Simple Machines to collect statistics from your forum, anonymously, so the software can grow to meet the needs of its user base.

Database server settings

Database type
The database schema can be selected here from a list of database schemas supported by the server being used. Newer schemas (for SMF 2.0) such as PostgreSQL and SQLite may be listed here if available. MySQL and PostgreSQL are recommended.
Server name
The location of the database is specified here. 99% of the time this will be localhost.
Username
The username used for the database user should be placed here. If help is required for this, the hosting service provider should be contacted.
Password
The password for the database user is entered here.
Database name
The name used for the database should be placed here. If help is required for this, the hosting service provider should be contacted.
Database prefix
The prefix for all tables associated with this install is specified here. Prefixing tables with unique prefixes enables more than one application, or SMF install, to use the same database safely.


Creating an administrator account

The SMF installer will ask for information to create the forum's administrator account. This information includes username, password and e-mail address, just like a regular account. Once created, this account can be used to visit the Administration Center to manage and configure the forum.

Finishing the installation process

Once all steps of the installation process have been completed, check the box to remove the install files from the server. If this does not work, they will need to be deleted via FTP. All installer files should be removed from the server once the installation process is complete, as they are a major security risk if left on a server unattended. Once SMF is installed they are no longer needed.



Advertisement: