- Techie Buzz - http://techie-buzz.com -
Install plugins and themes easily using shell
Posted By Keith Dsouza On May 30, 2007 @ 8:25 am In How To | No Comments
[5]
Once you have successfully logged into the server you will be shown a welcome message and a command prompt where you can start typing in your commands.
The first thing you will require is a link to the plugin. You can get that by right clicking on the link for the plugin download and copy link location. Once you have the link get back to the terminal and navigate to the plugin or theme directory
To do that you may have to key in the following command;
cd /path/to/your/plugins
Once you are in the plugins directory to download the file to your server run the following command;
wget http://www.someplugin.com/someplugin.zip [6]
Wget is a non-interactive network downloader to download files and webpages to Linux machines using command line. Running the above command will download the file to your plugins directory. Once the file has been downloaded you need to run the unzip command to unzip the files. Depending on the archive type run the following command.
For zip files:
unzip someplugin.zip
For tar.gz files:
tar -xvf someplugin.tar.gz
Running either of the commands will decompress the files to the folder. The tar command has additional parameters xvf passed to it.
Here x tells the command to extract the files, v is short form for verbose which means show output on console and f means archive.
That's it once you have done that you simply need to go to your wordpress plugin page and activate the plugin to use it.You can also backup the zip file you downloaded to a different folder using the following command;
mv someplugin.zip ~/mypugsbackup
I have created the mypugsbackup folder in the home directory for my user so the absolute folder path is something like this /home/username/mypugsbackup but using instead of typing in the entire path I am using '~' which points to the home directory /home/username and saves me few words to type.
There are few more posts I have planned which will help you to easily upload your changes to your server in windows without using a FTP client.
Do let me know if you use any different way to install your plugin and as always you are free to contact me [7] with your doubts and I would be glad to help you out with that.Article printed from Techie Buzz: http://techie-buzz.com
URL to article: http://techie-buzz.com/how-to/install-plugins-and-themes-easily-using-shell.html
URLs in this post:
[1] Putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/
[2] Poderosa: http://en.poderosa.org/
[3] here: http://techie-buzz.com/technology-buzz/desktop-softwares-that-keep-me-productive.html
[4] Image: http://cache.techie-buzz.com/images/stories/Installpluginsandthemeseasilyusingshell_AEB5/poderosaconnect5.png
[5] Image: http://cache.techie-buzz.com/images/stories/Installpluginsandthemeseasilyusingshell_AEB5/puttyconnection1.png
[6] http://www.someplugin.com/someplugin.zip: http://www.someplugin.com/someplugin.zip
[7] contact me: http://techie-buzz.com/contact-us
Click here to print.
Copyright © 2009Techie Buzz. All rights reserved.