Install WordPress In 30 Seconds

Posted on

If you are anything like me, then you tend to install a lot of WordPress sites. If this is the case then this task will have become trivial and shouldn’t take more than a few minutes of your time. In our business, its all about doing things quickly so I will show you something that will speed the WordPress install process up even more. If you get good, the entire process I would estimate can be 3 minutes or under (remember we are not using those easy install scripts in your web hosting account) using terminal.


1. Get the download link for WordPress

Head over to you will see the blue button on the right side. Right click the button and select “Copy Link Location”.
The the link should be:

2. Download WordPress to your install directory.

This is the part that saves a lot of time. If you have ever uploaded an entire WP install with ftp, you’ll know what I’m talking about, it takes forever!

Go ahead and log into your server through ssh, navigate to where you will install WP then enter the command

This will download the within seconds.

3. Unzip the WP archive

To unzip the WordPress archive run the command

You should see a large list of files scroll down the screen. This is good!

Now you can delete the archive, it isn’t needed anymore. Run:

4. Move files out of wordpress/ directory

After you unzip the archive, you will be left with a directory called wordpress/. To get your current location on the server, enter pwd, this will show a path – copy this to your clipboard for later use. Move into the wordpress/ folder by using cd wordpress/.

To copy all of the files from the folder and into the directory above wordpress/ run the command:
cp -r * ~/public_html/yourwebsitefolder/

Where ~/public_html/yourwebsitefolder/ is what you copied after you used the pwd command.

5. Delete the wordpress/ directory

Backup out of the wordpress/ folder by using cd ... Then run the command:
rm -rf wordpress/

Now you have all of WordPress on your server within 30 seconds.

6. Install the database

If you haven’t already set up the database, you will need to do that. Then all that is left is to visit your site, follow the instructions and enter your database connection credentials. Simple as pie!


Be very careful when you use the rm command. This command can delete your entire server if you are not careful, be sure you do not make any typing errors before you decide to press enter.