Comunidade vBulletin em Português
Esta é a discussão em Instalando o vBulletin em localhost [Passo-a-Passo] parte do fórum vB Dicas que integra a categoria vBulletin: Dicas, Tutoriais, FAQ, Artigos e etc. Participe sempre de nossos debates.
| |||||||
| Registrar | FAQ | Membros | Calendário | Pesquisar | Postados Hoje | Marcar Fóruns Como Lidos | Especiais! |
| ||||
|
Bem, tentarei ensinar nesse tutorial como é simples e fácil instalar o vBulletin em localhost. Lembrando que é quase mesma coisa a instalação em servidor remoto. Vamos a obra. 1- Mova a pasta "upload" para sua pasta raiz do localhost, e o renomeie para vBulletin. Ex.: C:\Apache\htdocs 2- Renomeie o arquivo "config.php.new" dentro da pasta include para config.php. 3- Agora devemos abrir o arquivo config.php num editor de php qualquer, pode ser no "bloco de notas" do Windows ou no Dreamweaver da macromedia. E editaremos as seguintes linhas: Citação:
4- Agora iremos começar a instalação do nosso Forum, abre o seu browser e digite na barra de endereço: --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_01.jpg 5- Irá aparecer na tela do browser a caixa onde vc irá por seu "Customer Number", veja link acima da imagem, que é seu código de acesso que o vBulletin.org te passa para a instalação. Digite-o e clique em "Enter Install System". --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_02.jpg 6- Agora passaremos para a etapa 01 para a instalação. Irá dar uma mensagem de "Bem-Vindo" do vBulletin, veja link acima da imagem. Clique em "Next Step (1/13)" --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_03.jpg 7- Passaremos para a parte onde o vBulletin onde ele irá virificar a configurações, veja link acima da imagem. Clique em "Next Step (2/13)" --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_04.jpg 8- Iremos para a tela onde será verificado a conexão e criação das tabelas, no banco de dados, veja link acima da imagem. Clique em "Next Step (3/13)" --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_05.jpg 9- Agora o vBulletin irá conectar ao banco de dados e criará as tabelas no MySQL, veja link acima da imagem. Clique em "Next Step (4/13)" --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_06.jpg 10- Agora será a parte o vBulletin irá fazer algumas alterações de tabela, veja link acima da imagem. Clique em "Next Step (5/13)" --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_07.jpg 11- Nessa parte o vBulletin irá criar "dados padrão" do Fórum, veja link acima da imagem. Clique em "Next Step (6/13)" --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_08.jpg 12- Agora passaremos para parte onde será instalado o "Master language" que nada mais seria o pack e tradução, nesse caso é "inglês" a linguagem padrão", veja link acima da imagem. Clique em "Next Step (7/13)" --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_09.jpg 13- Nessa parte é onde ele importa os dados da Templaste do Forum, veja link acima da imagem. Clique em "Next Step (8/13)" --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_10.jpg 14- Aqui é a parte onde é importando o "Help" do painel de administração do Fórum, veja link acima da imagem. Clique em "Next Step (9/13)" - Por Favor me corrijam se está errado o que descriminei. --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_11.jpg 15- Nessa parte da instalação, no meu ponto de vista é a segunda parte mais "legal", só perdendo para a modificação no arquivo "config.php", veja link acima da imagem. Irá aparecer as seguintes opções: Citação:
--------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_12.jpg 16- Aqui será onde irá importar mais alguns dados padrões do vBulletin, veja link acima da imagem. --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_13.jpg 17- Nessa parte é onde você irá por o nome do Administrador do Fórum: Citação:
--------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_14.jpg 18- Aqui é onde irá aparecer a confirmação da criação da conta do Administrador, veja link acima da imagem. Clique em "Next Step (13/13)" --------------------------------------- http://i2.photobucket.com/albums/y50...etin/vB_15.jpg 19- Aqui mostrará a mensagem onde o fórum foi instalado corretamente, e irá pedir para que apague o arquivo "install.php" da pasta "install", veja link acima da imagem. --------------------------------------- Espero que esse tutorial foi claro, para mostrar aos usuários que não é um "bicho de sete cabeças" a instalação do vBulletin. |
| Os seguintes 12 Usuários disseram Obrigado rissato por essa útil mensagem: | ||
Anch (30-06-2007), bondedocec (07-06-2007), felipe_chamon (22-04-2007), gabiruboyz (11-05-2007), killerofnet (09-06-2007), overdigo (10-09-2008), ronin (27-08-2008), slayer (12-05-2007), Thomy (12-12-2007), univaldo (14-06-2007), wizardstyle (19-04-2007), Yassuo (14-03-2008) | ||
| ||||
|
Parabens meu caro! Por favor zipe as imagens e coloque em nosso forum reservado q eu uparei para ca e depois vc atualiza o link. Ficamos livres de intempéries em outro host. Abraçao B
__________________ #Por mais chato que seja: NÃO respondo a dúvidas por MP, email e afins.# ~Todas as questões no fórum, por favor.~ //Visite: Roadmap e Changelog do vB-Brasil// Meu blog pessoal: www.jbarroca.net |
| ||||
|
no meu deu este erro: Step 2) Connect to the database Attempting to attach to database Error description: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) /home/www/wilyah.freehostia.com/vBulletin/includes/class_core.php on line 273 The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file. |
| O seguinte Usuário agradeceu à william_t por essa útil mensagem: | ||
slayer (12-05-2007) | ||
| ||||
| Citação:
da uma olhada se tu colocou os dados do banco de dados certo.. user, senha, bd essas coisa.. |
| ||||
| Please Enter Your Customer Number New InstallationvBulletin 3.6.4 Installer You can't continue until keygen.php has not replaced value me ajuda por favor Última edição por Ganondorf; 07-01-2007 às 21:00. |
| ||||
| Citação:
|
| ||||
|
nao e tinha criado databasse agora eu consegui, que eu falei com meu amigo arruma o arquivo .config dai ele pediu a database e dai eu lembrei que nao tinha criado como que fica esse codigo do config.php semquere eu mexi nele: Citação:
Última edição por alexandreh; 08-01-2007 às 01:06. |
| ||||
|
De uma olhada se eu fiço certo no config.php Código:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.6.4
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ©2000-2006 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
/*-------------------------------------------------------*\
| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
+---------------------------------------------------------+
| If you get any errors while attempting to connect to |
| MySQL, you will need to email your webhost because we |
| cannot tell you the correct values for the variables |
| in this file. |
\*-------------------------------------------------------*/
// ****** DATABASE TYPE ******
// This is the type of the database server on which your vBulletin database will be located.
// Valid options are mysql and mysqli, for slave support add _slave. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
$config['Database']['dbtype'] = 'mysql3.freehostia.com';
// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$config['Database']['dbname'] = 'dmxbrasil.freehostia.com';
// ****** TABLE PREFIX ******
// Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';
// ****** TECHNICAL EMAIL ADDRESS ******
// If any database errors occur, they will be emailed to the address specified here.
// Leave this blank to not send any emails when there is a database error.
$config['Database']['technicalemail'] = 'dbmaster@example.com';
// ****** FORCE EMPTY SQL MODE ******
// New versions of MySQL (4.1+) have introduced some behaviors that are
// incompatible with vBulletin. Setting this value to "true" disables those
// behaviors. You only need to modify this value if vBulletin recommends it.
$config['Database']['force_sql_mode'] = false;
// ****** MASTER DATABASE SERVER NAME AND PORT ******
// This is the hostname or IP address and port of the database server.
// If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;
// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.
$config['MasterServer']['username'] = 'The Dog';
$config['MasterServer']['password'] = '123456';
// ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
// This option allows you to turn persistent connections to MySQL on or off.
// The difference in performance is negligible for all but the largest boards.
// If you are unsure what this should be, leave it off. (0 = off; 1 = on)
$config['MasterServer']['usepconnect'] = 0;
// ****** SLAVE DATABASE CONFIGURATION ******
// If you have multiple database backends, this is the information for your slave
// server. If you are not 100% sure you need to fill in this information,
// do not change any of the values here.
$config['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = '';
$config['SlaveServer']['password'] = '';
$config['SlaveServer']['usepconnect'] = 0;
// ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
// This setting allows you to change the name of the folders that the admin and
// moderator control panels reside in. You may wish to do this for security purposes.
// Please note that if you change the name of the directory here, you will still need
// to manually change the name of the directory on the server.
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';
// Prefix that all vBulletin cookies will have
// Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
$config['Misc']['cookieprefix'] = 'bb';
// ******** FULL PATH TO FORUMS DIRECTORY ******
// On a few systems it may be necessary to input the full path to your forums directory
// for vBulletin to function normally. You can ignore this setting unless vBulletin
// tells you to fill this in. Do not include a trailing slash!
// Example Unix:
// $config['Misc']['forumpath'] = '/home/users/public_html/forums';
// Example Win32:
// $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
$config['Misc']['forumpath'] = '';
// ****** COOKIE SECURITY HASH ******
// This option allows you to encode cookie.
// You may use any latin and/or any other alphanumeric symbols.
// Leave this blank to use the default value.
// Note: if you change this all users will be logout.
$config['Misc']['cookie_security_hash'] = '';
// ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
// The users specified here will be allowed to view the admin log in the control panel.
// Users must be specified by *ID number* here. To obtain a user's ID number,
// view their profile via the control panel. If this is a new installation, leave
// the first user created will have a user ID of 1. Seperate each userid with a comma.
$config['SpecialUsers']['canviewadminlog'] = '1';
// ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
// The users specified here will be allowed to remove ("prune") entries from the admin
// log. See the above entry for more information on the format.
$config['SpecialUsers']['canpruneadminlog'] = '1';
// ****** USERS WITH QUERY RUNNING PERMISSIONS ******
// The users specified here will be allowed to run queries from the control panel.
// See the above entries for more information on the format.
// Please note that the ability to run queries is quite powerful. You may wish
// to remove all user IDs from this list for security reasons.
$config['SpecialUsers']['canrunqueries'] = '';
// ****** UNDELETABLE / UNALTERABLE USERS ******
// The users specified here will not be deletable or alterable from the control panel by any users.
// To specify more than one user, separate userids with commas.
$config['SpecialUsers']['undeletableusers'] = '';
// ****** SUPER ADMINISTRATORS ******
// The users specified below will have permission to access the administrator permissions
// page, which controls the permissions of other administrators
$config['SpecialUsers']['superadministrators'] = '1';
// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// vB_Datastore_Filecache - for using a cache file
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';
// vB_Datastore_Memcached - for using a Memcache server
// It is also necessary to specify the hostname or IP address and the port the server is listening on
// $config['Datastore']['class'] = 'vB_Datastore_Memcached';
// $config['Misc']['memcacheserver'] = '127.0.0.1';
// $config['Misc']['memcacheport'] = '11211';
// ****** The following options are only needed in special cases ******
// ****** MySQLI OPTIONS *****
// When using MySQL 4.1+, MySQLi should be used to connect to the database.
// If you need to set the default connection charset because your database
// is using a charset other than latin1, you can set the charset here.
// If you don't set the charset to be the same as your database, you
// may receive collation errors. Ignore this setting unless you
// are sure you need to use it.
// $config['Mysqli']['charset'] = 'utf8';
// Optionally, PHP can be instructed to set connection parameters by reading from the
// file named in 'ini_file'. Please use a full path to the file.
// Example:
// $config['Mysqli']['ini_file'] = 'c:\program files\MySQL\MySQL Server 4.1\my.ini';
$config['Mysqli']['ini_file'] = '';
// Image Processing Options
// Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings.
$config['Misc']['ma |