Single Line Wordpress Install

July 20th, 2008
No Gravatar

I’m getting a pro at installing Wordpress now.I’m trying to cut down my install time to a minimum.

Here’s a one line Linux command to;

  • Download the latest Wordpress.
  • Unzip, move files from the wordpress/ directory to the root.
  • Clean up some unnecessary files.
  • Create some necessary files.
  • Set some necessary permissions.
wget http://wordpress.org/latest.zip &&
unzip latest.zip &&
mv wordpress/* . &&
touch robots.txt sitemap.xml sitemap.xml.gz .htaccess &&
chmod 777 robots.txt sitemap.xml sitemap.xml.gz .htaccess
&& rm license.txt readme.html latest.zip &&
mkdir wp-content/uploads &&
chmod 777 wp-content/uploads

Now I just need to create the MySQL database and user from that command and I’m laughing.

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


Tags: , , , , , , ,

Was this post useful to you? Let me know, buy me a beer!
Alternatively, if you're feeling impecunious, you may like to subscribe to my RSS feed, or see other articles in the Linux, Wordpress category.

Leave a Reply