Continuing with our series, this blog post is going to show you how to install plugins in WordPress CMS to provide more capabilities to your online blog.
This series started with setting up WordPress in Ubuntu 12.04, configuring permalinks, and posting your first blog post. To read our previous tutorials in this series, click here , here and here.
Now, plugins in WordPress are little tools, sometimes big, that lets your enhance your webpage, enabling more options which speed, protect and secure your online blog. There are also some which will help your blog rank better in Google’s search results. Some plugins are very useful and must be used. Other are not. So, when installing plugins in WordPress be mindful as they can also slow down your blog.
Without wasting anymore of your time, lets get going and learn how to install plugins in WordPress.
Objectives:
- Install Plugins in WordPress using Ubuntu 12.04 (Precise Pangolin)
- Enjoy!
There are two primary ways to install Plugins in WordPress. One way is do it from WordPress’ admin page. To do this, login to WordPress and go to Plugins –> Add New.
Then search for the plugins you wish to install
Finally install it by clicking the install link. Most of the time, if permissions are not setup correctly on the filesystem, this option will fail.
If the above option fails, you must temporarily run the commands below to change the files and folders permissions before installing.
sudo chmod 777 -R /var/www/myhblog.com/
After that, go back and try installing the plugin and this time it will work.
When you’re done installing your plugins, run the commands below to restore your permissions.
sudo find /var/www/myblog.com/ -type d -exec chmod 755 {} \;
sudo find /var/www/myblog.com/ -type f -exec chmod 644 {} \;
Another way of install plugins in WordPress is by copy the contents of the plugins in the plugins directory of WordPress.
To do that, you must extract the plugin files you downloaded and move or copy it to:
/var/www/myblog.com/wp-content/plugins/
Run this command to accomplish it.
sudo cp -R plugin-folder /var/www/myblog.com/wp-content/plugins/
Go to WordPress’ admin page –> Plugins and activate it.
Enjoy!