Thursday, May 31, 2012

How to install Wordpress into Linux Mint 12?

Here are the steps in installing Wordpress to Linux Mint 12.

Step 1:
Before Installing Wordpress we need to ensure that apache is installed in our system.
Go to Menu->Terminal. And type the below code in terminal and hit enter.
sudo apt-get install apache2
Type your linux mint password and press enter.
Type Y and hit enter to confirm apache installation.
After the successful installation , open your favorite browser and type
http://localhost/
in the address bar and press enter. If you will see ‘It works!’ , then your apache works fine.
Step 2:
Next step is to have the web administration tool installed into your system.
Install phpmyadmin in either of these two ways:
We can install PHP by going to the Software Manager ---search for phpmyadmin----click install

 or go to Menu->Terminal. And type the below code in terminal and hit enter.
sudo apt-get install phpmyadmin
Type your linux mint password if needed.
Type y and hit enter to confirm PHP installation.


After the successful installation restart Apache using the below code
sudo /etc/init.d/apache2 restart
Test PHP installation
If you installed phpmyadmin using the graphical mode, then you have to go to the File System /usr/share/ then copy phpmyadmin folder to File System /var/www/
then type the this code to the terminal

cd /var
sudo chmod -R 777 www

Type your root password if required. The above code will allow you to Read-Write-Execute from the directory specified.


By then, you should be able to access localhost/phpmyadmin in your web browser.
Now open your favorite browser and type
http://localhost/phpmyadmin
in the address bar and press enter. If you will see the below page , then your php works fine.
sudo /etc/init.d/apache2 restart
 
For sometime you need to restart your apache for some configurations to take effect. Just type the above code.

Step 3:
Installing MySql
Go to Menu->Terminal. And type the below code in terminal and hit enter.
sudo apt-get install mysql-server
Type your linux mint password if needed.
Type y and hit enter to confirm MySql installation.
During the installation you will be prompted for a password. Choose something secure and type the password and hit enter.
Step 4:
Installing Wordpress
Download latest Wordpress packages and extract the file. Copy wordpress to File System /var/www/

and then type the following code
cd /var/www
chmod -R 777 wordpress
in the address bar type localhost/wordpress/ and press enter.
You should be prompted of your database name, username, password... provide the following information to create your configuration file. After which, you will be able to access your dashboard.

Your wordpress is now ready to go. Start building your own website.
Enjoy!

No comments:

Post a Comment

Part 7. Commercial Law. Piercing the viel. Solidary liability

Because a corporation’s existence is only by fiction of law, it can only exercise its rights and powers through its directors, officers, or...