Hướng dẫn cài đặt installer.php wordpress
WordPress is well-known for its ease of installation. Under most circumstances, installing WordPress is a very simple process and takes less than five minutes to complete. now offer tools (e.g. Fantastico) to automatically install WordPress for you. However, if you wish to install WordPress yourself, the following guide will help. Before you begin the install, there are a few things you need to have and do. Refer the article Before You Install. If you need multiple WordPress instances, refer Installing Multiple WordPress Instances. Here’s the quick version of the instructions for those who are already comfortable with performing such installations. More follow.
– If you installed WordPress in the root directory, you should visit: http://example.com/ – If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://example.com/blog/ That’s it! WordPress should now be installed. Download and unzip the WordPress package from wordpress.org/download/.
If you are using a , you may already have a WordPress database set up for you, or there may be an automated setup solution to do so. Check your hosting provider’s support pages or your control panel for clues about whether or not you’ll need to create one manually. If you determine that you’ll need to create one manually, follow the instructions for Using phpMyAdmin below to create your WordPress username and database. For other tools such as Plesk, cPanel and Using the MySQL Client, refer the article Creating Database for WordPress. If you have only one database and it is already in use, you can install WordPress in it – just make sure to have a distinctive prefix for your tables to avoid over-writing any existing database tables. If your web server has installed, you may follow these instructions to create your WordPress username and database. If you work on your own computer, on most Linux distributions you can install PhpMyAdmin automatically. Note: These instructions are written for phpMyAdmin 4.4; the phpMyAdmin user interface can vary slightly between versions.
You can either create and edit the wp-config.php file yourself, or you can skip this step and let WordPress try to do this itself when you run the installation script (step 5). (you’ll still need to tell WordPress your database information). (For more extensive details, and step by step instructions for creating the configuration file and your secret key for password security, please see Editing wp-config.php). Return to where you extracted the WordPress package in Step 1, rename the file wp-config-sample.php to wp-config.php, and open it in a text editor. under the section labeled
DB_NAME The name of the database you created for WordPress in Step 2. DB_USER The username you created for WordPress in Step 2. DB_PASSWORD The password you chose for the WordPress username in Step 2. DB_HOST The hostname you determined in Step 2 (usually localhost, but not always; see ). If a port, socket, or pipe is necessary, append a colon (:) and then the relevant information to the hostname. DB_CHARSET The database character set, normally should not be changed (see Editing wp-config.php). DB_COLLATE The database collation should normally be left blank (see Editing wp-config.php). Enter your secret key values under the section labeled
Save the Now you will need to decide where on your domain you’d like your WordPress-powered site to appear: – In the root directory of your website. (For example, http://example.com/) – In a subdirectory of your website. (For example, http://example.com/blog/) Note: The location of your root web directory in the filesystem on your will vary across and operating systems. Check with your hosting provider or system administrator if you do not know where this is.
Point a web browser to start the installation script.
If WordPress can’t find the wp-config.php file, it will tell you and offer to try to create and edit the file itself. (You can also do this directly by loading
0 in your web browser.) WordPress will ask you the database details and write them to a new wp-config.php file. If this works, you can go ahead with the installation; otherwise, go back and The following screenshots show how the installation progresses. Notice that in entering the details screen, you enter your site title, your desired user name, your choice of a password (twice), and your e-mail address. Also displayed is a check-box asking if you would like your blog to appear in search engines like Google and DuckDuckGo. Leave the box unchecked if you would like your blog to be visible to everyone, including search engines, and check the box if you want to block search engines, but allow normal visitors. Note all this information can be changed later in your Administration Screen. If you successfully install the WordPress, login prompt will be displayed. Install script troubleshooting – If you get an error about the database when you run the install script: – Go back to and , and make sure you entered all the correct database information into wp-config.php. – Make sure you granted your WordPress user permission to access your WordPress database in Step 3. – Make sure the database server is running. Install WordPress On A Ubuntu 14.04 LTS You can also install WordPress on Ubuntu with one click WordPress Hosting on Atlantic.Net.
You can also install WordPress on Ubuntu with one click using this StackScript on Linode.
In less than 5 minutes from now, you will have your blog ready on your domain. You will install WordPress on your own domain as an Automated Process with ONE Click WordPress Installation feature from iPage hosting.
The following are some of the most common installation problems. For more information and troubleshooting for problems with your WordPress installation, check out FAQ Installation and FAQ Troubleshooting. I see a directory listing rather than a web page. The web server needs to be told to view index.php by default. In Apache, use the DirectoryIndex index.php directive. The simplest option is to create a file named .htaccess in the installed directory and place the directive there. Another option is to add the directive to the web server’s configuration files. I see lots of
1 errors. How do I fix this? You probably introduced a syntax error in editing wp-config.php.
My page comes out gibberish. When I look at the source I see a lot of “
2” tags. If the
2 tags are being sent to the browser, it means your is not working properly. All PHP code is supposed to be executed before the server sends the resulting to your web browser. (That’s why it’s called a preprocessor.) Make sure your web server meets the requirements to run WordPress, that PHP is installed and configured properly, or contact your hosting provider or system administrator for assistance. I keep getting an
4 message but I’m sure my configuration is correct. Try resetting your MySQL password manually. If you have access to MySQL via shell, try issuing:
If you do not have shell access, you should be able to simply enter the above into an SQL query in phpMyAdmin. Failing that, you may need to use your host’s control panel to reset the password for your database user. I keep getting an
5 message but I’m sure my configuration is correct. Check to make sure that your configuration of your web-server is correct and that the MySQL plugin is getting loaded correctly by your web-server program. Sometimes this issue requires everything in the path all the way from the web-server down to the MySQL installation to be checked and verified to be fully operational. Incorrect configuration files or settings are often the cause of this issue. My image/MP3 uploads aren’t working. If you use the Rich Text Editor on a blog that’s installed in a subdirectory, and drag a newly uploaded image into the editor field, the image may vanish a couple seconds later. This is due to a problem with TinyMCE (the rich text editor) not getting enough information during the drag operation to construct the path to the image or other file correctly. The solution is to NOT drag uploaded images into the editor. Instead, click and hold on the image and select Send to Editor. |