wget the latest WordPress installed – pronto!

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

wget it
[code]user@server:~$ wget http://wordpress.org/latest.tar.gz[/code]
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
[code]user@server:~$ cp latest.tar.gz /path/to/your/directory;[/code]

Go to that directory
[code]user@server:~$ cd /your/directory[/code]

Verify that it’s there
[code]user@server:~/your/directory$ ls
latest.tar.gz[/code]

Unpack the tar ball
[code]user@server:~/your/directory$ tar -xvf latest.tar.gz[/code]
*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…
[code]user@server:~/your/directory$ ls
wordpress[/code]

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.

5 Replies to “wget the latest WordPress installed – pronto!”

Leave a Reply

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