kieranbarnes Independent PHP, WordPress & CubeCart Programmer

Single Line WordPress Install

Posted on July 20, 2008

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.


Related posts

  1. WordPress Auto Install Script for cPanel
    I have released version one of my WordPress Auto Install Script for cPanel. This script can...
  2. Splitting WordPress content with ‘more’ on single pages
    WordPress uses the "More" button to create a small snippet of content, usually used on...
  3. WordPress Archive Redirection (Single Items)
    If you are using the standard archive-[custom-post-type] and single-[custom-post-type] theme structure for your Custom Post...
  4. Rebranding WordPress 3.2
    Woah. The new WordPress 3.2 admin interface is much better! Theres a lot of much...
  5. WordPress 2.5 Upgrade
    This morning I upgraded to the latest WordPress 2.5, along with, perhaps, 500,000 other people......

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.