sangkrit

WordPress Installation In Your LAMP Server


Change the owner/group permission of /var/www/ directory so that you can extract wordpress in /var/www/ directory.

Open the terminal and type the following command:

sudo chown username /var/www/

Open: www.wordpress.org

wordpress.org

 

Click the button ‘Download WordPress’

After you download wordpress, open the terminal and move to the directory /var/www/ and unzip the wordpress zip file here by typing the following command: # unzip wordpress-X.X.X.zip [press enter]

Start the LAMP server.

Login to MySQL console: mysql -u root -p

Create a new database for wordpress via this command:

CREATE DATABASE ‘wordpress’;

If everything went alright then you will get a result:

Query ok, 1 row affected (0.xsec)

Database for wordpress is ready. Now open localhost in your web-browser. You will see the following page:

Click the Button ‘Create a Configuration File’

create wordpress configuration file

 

Click ‘Let’s go’

Enter the database name, Database Username, Password, Default host is ‘localhost’ and you may enter a table prefix if you want to use your wordpress database for other installations. If not you may leave the table prefix as it is.

Click ‘Submit’ button

 

 

The following page will get visible in your netbook, click ‘Run the install’

 

 

Choose a title for your website.

Choose a username and password

Choose an e-mail address

Click ‘Install WordPress’

 

 

Now click ‘Log In’

 

 

Enter the username and password you have chosen and press ‘enter’

 

Welcome to your dashboard, from here you can handle your website easily.

 

 


Leave a Reply