Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

pt-br:Instalando o WordPress Localmente

cb-warning.png
Artigo ou Seção com explicações avançadas
A seguir, estão explicações ou instruções para usuários avançados, o que pode exigir o conhecimento de termos e ferramentas não comuns a todas as pessoas.
Adicione {{Avançado}} para usar esta caixa.

Seja você um desenvolvedor de temas, plugins ou mesmo esteja migrando um site, é interessante ter como testar suas criações localmente, sem ter que enviá-las para um servidor remoto toda a vez, para isso, você pode instalar o WordPress localmente.

WAMP, XAMPP

Se não tiver IIS em seu computador ou não quer usá-lo, você pode usar o WAMP Server, o WAMP Server, ou o BitNami WAMPStack, estes aplicativos podem ser baixados e configurarados para executar um web site em seu próprio computador. Especialmente para Mac existe o MAMP.

Esse programas servem para criar servidores independente da plataforma e consistem principalmente na base de dados MySQL, o servidor web Apache e os interpretadores para linguagens de script: PHP e Perl, além do WordPress, você poderá instalar qualquer software que use estas linguagens.

WordPress local para Site Web

Após ter criado um site local, você pode importá-lo para um site web sem problema algum, os passos são os mesmo de importar o WordPress entre servidores:

  1. Instale o WordPress no seu servidor web, pode ser manualmente ou através das ferramentas do serviço de hospedagem, geralmente você pode escolher entre instalar na raiz do site ou em uma pasta blog ou site.
  2. Usando um cliente FTP ou o gerenciador de arquivos do serviço de hospedagem, exclua a pasta wp-content da instalação web e em seguida envie a mesma pasta da sua instalação local. Isso vai manter seu tema e plugins.
  3. No servidor web, crie um banco de dados vazio com o mesmo nome e senha do banco de dados local, estas informções ficam no arquivo wp-config.php.
  4. Exporte os dados do banco de dados local, de prefência em formato .zip.
  5. Importe o arquivo .zip em seu banco de dados web.
  6. Acesse a tabela com sufixo </tt>_options</tt> e mude os URLs em siteurl e home para o URL de seu site web.
  7. Tente acessar seu site e observe se consegue acessar os links normamente no site.
Sites externos
  1. Transfira seu wordpress ( local ) para um servidor online sem perder nada (vídeo)
cb-help.png
Artigo parcialmente traduzido ou que precisa de tradução
Este documento está parcialmente traduzido ou precisa ser traduzido. Toda a tradução é feita por voluntários e você pode ser um deles.
ParticiparArtigos para traduzirFórum de SuporteTodos os Artigos

Software Appliance - Ready-to-Use

You may find that using a pre-integrated software appliance is a great way to get up and running with WordPress, especially in combination with virtual machine software (e.g., VMWare, VirtualBox, Xen HVM, KVM).

A software appliance allows users to altogether skip manual installation of WordPress and its dependencies, and instead deploy a self-contained system that requires little to no setup, in just a couple of minutes.

  • TurnKey WordPress Appliance: a free Ubuntu-based appliance that just works. It bundles a collection of popular WordPress plugins and features a small footprint, automatic security updates, SSL support and a Web administration interface.
  • BitNami WordPress Appliance: free WordPress appliances based on Ubuntu or Open Suse. Native installer and Cloud images also available.

Easy 5 Minute WordPress Installation on Windows

Download, install, and configure WordPress with the Microsoft Web Platform Installer (Web PI). Installation is very easy and takes on average about 5 minutes to complete.

Step 1. Things you need to know before starting.
  1. These steps will work on Windows versions which include IIS, such as Windows XP professional, Windows Vista, Windows 7 and Windows Server.
  2. You must be able to install programs on your machine (i.e. have administrator rights).
Step 2. Navigate to the WordPress Installation Page
  1. Choose the "Install" button.
  2. If you have Web PI already installed, it will automatically be launched and you can skip to the next step.
  3. If you do not have the Web Platform Installer, you will be prompted to install it.
  4. Web PI is a tool from Microsoft that downloads and installs the latest components you need to develop or host Web applications on Windows. Everything in the tool is free. Web PI will install and configure IIS, PHP, MySQL and anything else you may need.
Step 3. Choose to Install WordPress
  1. When Web PI launches, you will see an information page for WordPress. Start installing WordPress by pressing the "Install" button in the lower right hand corner.
Step 4. Installation of WordPress and its requirements
  1. Finding Dependencies: Web PI will determine the minimum set of components and modules you need on your machine to run WordPress. It will only install what you’re missing. For example, PHP will be installed and configured to run WordPress.
  2. Configure the Database: After accepting the terms, if you need to install MySQL, you will be asked to create a password for the root account database account. Keep this password safe. WordPress will ask for this information later.
  3. Choose the site: Choose a site to install WordPress to. You may install to an existing Web site in IIS or create a new site. Use the default setting if you do not have advanced configuration needs.
  4. WordPress Setup: WordPress will need answers to a few specific questions such as the username (in the case of a new MySQL install is root) and password for your MySQL database to complete the install.
Step 5. Completion
  1. Once you enter the WordPress setup information, Web PI will finish the installation.
  2. Click, Launch in Browser and WordPress will launch.

Alternatively, the BitNami WordPress installer is a free, self-contained native installer for WordPress that includes Apache, MySQL and PHP so it works out of the box.

Installing Multiple Blogs

Detailed information about Installing Multiple Blogs is available.


brasil-1.png
A documentação do WordPress em Português do Brasil.
Todas as comunidades lusófonas também são bem-vindas! Adicione {{Codex-pt}} em seus artigos.