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.

Doug

Doug is an experienced project leader who strives to keep our clients' projects flowing smoothly. As a Developer, Doug is able to ensure a high level of customer satisfaction by focusing his efforts on the setup & support of content management systems (i.e. WordPress & Drupal), custom theme development, CSS/HTML coding, and graphic design. When Doug is not working on web projects, he can be found performing with several professional bands around San Diego.

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

      1. Note: those commands should go on separate lines, the wordpress blog editor is combining them after I submit the comment.
        command 1: mv wordpress/* .
        command 2: rmdir wordpress

Leave a Reply

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