By Dr. DOT on
Before I untar & unzip Drupal 6.13 (currently on 6.12) do I upload it to the document root of the drupal install or to a separate directory?
Before I untar & unzip Drupal 6.13 (currently on 6.12) do I upload it to the document root of the drupal install or to a separate directory?
Comments
If you are upgrading ..
If you are upgrading (and sounds like you are) , please follow the upgrade instructions. Make a backup of your existing site before making any changes. http://drupal.org/node/287824
I usually untar/unzip it on my local machine before uploading it to my live server.
Ok, thanks. BTW, the video
Ok, thanks. BTW, the video link on the page you supplied comes up 404 - Page Not Found
When I 'tar -zxvf
When I 'tar -zxvf drupal-6.13.tar.gz' all extracted files and directories land in the directory 'drupal-6.13' off the document root of my Drupal install. Is there anyway to get the extract to install in the base Drupal directory so I don't have to manually move everything?
I found the following on this
I found the following on this node: http://drupal.org/upgrade/downloading-drupal-command-line
Tar
rjbrown99 - February 6, 2009 - 19:45
It took me a bit of Googling, but if you want to extract the new drupal instance with Tar and NOT have it go into a subdirectory called drupal-6.X/, the appropriate tar command is:
tar -xzvpf ./drupal-6.X.tar.gz --strip-components 1
The --strip-components will get rid of the subdirectory inside of the tar and extract it right to your current dir. You still have to copy .htaccess and other stuff back but at least it gets rid of the copying steps for the actual drupal instance.