SSH Your Way To A Faster WordPress Installation

0
525
Wordpress and MobaXTerm

So you want to use WordPress for building your website, eh?

To understand this handy tip in its intended context, lets look at the process of getting WordPress downloaded and placed on your hosting server. First, you need to download the software from WordPress.org. If you are on a Windows desktop, you will launch your browser and surf over to the download page to get it. When you are done, the WordPress ZIP file will reside in your Windows User download directory.

But here is where most people make the mistake of using the wrong tool for the job.

One way to get the WordPress distribution over to your Linux server, is by using an FTP client like Filezilla. There’s nothing wrong with that approach. But, if you want to make your life easier, don’t unzip the WordPress distribution onto your Windows hard drive and then transfer all the files over individually. No way Jose! Why?

Because when you transfer WordPress file by file, the opening and closing of the FTP connection for every file takes way too long. A much more faster way of doing this is transferring the single ZIP file over to the server. Then, connect to the server via a Secured Shell (SSH) client. One such client available for Windows (its free!) is the excellent MobaXTerm.

In MobaXTerm, you setup a SSH session by clicking the Session toolbar button to bring up the configuration screen. Then, simply fill in the hostname, FTP username, and FTP port (usually port 22).

MobaXTerm SSH session configuration

You should now see in the Save Sessions tab your website listed. Double click on that to connect to your website server. You will be logged in and be taken to the shell console.

With your WordPress zip file sitting in the appropriate location on the web server, issue the following command:

unzip wordpress-4.5.3.zip

So how fast is this you say? Two seconds! Compare this with how long it will take to do a file by file transfer (10-15 minutes). You may not think this is a big deal, but if you are setting up many Wordpress websites at the same time, it is.

So by using the right tools for the job, you can save yourself a whole lot of time in preparing your WordPress installation.

Of Interest