How to setup and configure a wordpress blog for clients

Modified on Wed, 5 Jul, 2017 at 12:48 PM

http://172.1.1.13/wiki/installing


You can create MySQL users and databases quickly and easily by running mysql from the shell. The syntax is shown below and the dollar sign is the command prompt:

######################################

$ mysql -u adminusername -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5340 to server version: 3.23.54 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> CREATE DATABASE databasename; Query OK, 1 row affected (0.00 sec) mysql> GRANT ALL PRIVILEGES ON databasename.* TO "admin"@"127.0.0.1"

-> IDENTIFIED BY "DG6byTKsfw";

Query OK, 0 rows affected (0.00 sec) mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.01 sec)

mysql> EXIT Bye $

######################################

The example shows:

that root is also the adminusername. It is a safer practice to choose a so-called "mortal" account as your mysql admin, so that you are not entering the command "mysql" as the root user on your system. (Any time you can avoid doing work as root you decrease your chance of being exploited). The name you use depends on the name you assigned as the database administrator using mysqladmin.

wordpress or blog are good values for databasename.

wordpress is a good value for wordpressusername but you should realize that, since it is used here, the entire world will know it too.

hostname will usually be localhost. If you don't know what this value should be, check with your system administrator if you are not the admin for your Wordpress host. If you are the system admin, consider using a non-root account to administer your database.

password should be a difficult-to-guess password, ideally containing a combination of upper- and lower-case letters, numbers, and symbols. One good way of avoiding the use of a word found in a dictionary, uses the first letter of each word in a phrase that you find easy to remember.

If you need to write these values somewhere, avoid writing them in the system that contains the things protected by them. You need to remember the value used for databasename, wordpressusername, hostname, and password. Of course, since they are already in (or will be, shortly) your wp-config.php file, there is no need to put them somewhere else, too.

Update Username & Password into ZOHO

Step 2 Creating & Configuring Website

Copy the wordpress contents from folder:\inetpub\wwwroot\WordPress? to a new folder within the iPro Folder

Folder Structure: ClientBlog? i.e allthingsblog

Locate the file wp-config.php and open

Enter your database information under the section labeled

MySQL settings - You can get this info from your web host

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 some possible DB_HOST values). If a port, socket, or pipe is necessary, append a colon (:) and then the relevant information to the hostname.

Step 3: Run the Install Script

Point a web browser to start the installation script.

If you placed the WordPress? files in the root directory, you should visit: http://example.com/wp-admin/install.php If you placed the WordPress? files in a subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php

Please Always Update to latest version of Wordpress

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article