wget the latest WordPress installed – pronto!

Doug Support 5 Comments

It’s so flippin’ fast! Forget about FTP-ing…

wget it

user@server:~$ wget http://wordpress.org/latest.tar.gz

This command will place the file in your current directory. You may plan on unpacking & installing in multiple directories, so you may want to cd to the parent directory of those locations. Plus, if you choose this method to get the next latest version, you can wget it in the same directory and override the previous version.

Copy it to your desired directory

user@server:~$ cp latest.tar.gz /path/to/your/directory;

Go to that directory

user@server:~$ cd /your/directory

Verify that it’s there

user@server:~/your/directory$ ls
latest.tar.gz

Unpack the tar ball

user@server:~/your/directory$ tar -xvf latest.tar.gz

*Note: -xvf combines 3 options. -x extracts the file from the archive. -v verbosely lists the files processed. -f uses the archive file.

Verify that the wordpress directory is now there…

user@server:~/your/directory$ ls
wordpress

Presto! Now just set up the mysql database, edit wp-config.php, and go to http://yourdomain.com/wordpress/wp-admin/install.php to complete the final steps.

Comments 5

    1. Post
      Author

Leave a Reply

Your email address will not be published. Required fields are marked *