Setting up a new Drupal site or upgrading from command line
Drupal untar tar.gz using ssh:
cd /var/www/
wget http://ftp.osuosl.org/pub/drupal/files/projects/drupal-5.1.tar.gz
(Drupal version is just a for-instance.)
tar -xzvf drupal-5.1.tar.gz
cp -r drupal-5.1/* drupaldev/
cd drupaldev/sites/
The following applies if you have a subversion repository set up in which you keep your sites projects.
(A lot of redundancy in the paths here but quit yer whining.)
svn checkout http://www.example.org/svn/drupal/dev/example.org /var/www/drupaldev/sites/example.org
You may find it useful to create a symbolic link to aim, for the moment, the default at your working directory:
ln -s example.org/ default
Move to this directory and be root if necessary:
/etc/init.d# ./apache2 restart
And get a 500 internal server error! Yay!
According to the error log (
</code>)...
<blockquote>[Tue Apr 10 22:01:32 2007] [alert] [client 209.6.110.123] /var/www/drupaldev/.htaccess: Option Indexes not allowed here
server:/var/log/apache2# vi error.log
Drupal untar tar.gz using ssh:
cd /var/www/
wget http://ftp.osuosl.org/pub/drupal/files/projects/drupal-5.1.tar.gz
(Drupal version is just a for-instance.)
tar -xzvf drupal-5.1.tar.gz
cp -r drupal-5.1/* drupaldev/
cd drupaldev/sites/
The following applies if you have a subversion repository set up in which you keep your sites projects.
(A lot of redundancy in the paths here but quit yer whining.)
svn checkout http://www.example.org/svn/drupal/dev/example.org /var/www/drupaldev/sites/example.org
You may find it useful to create a symbolic link to aim, for the moment, the default at your working directory:
ln -s example.org/ default
Move to this directory and be root if necessary:
/etc/init.d# ./apache2 restart
And get a 500 internal server error! Yay!
According to the error log (
</code>)...
<blockquote>[Tue Apr 10 22:01:32 2007] [alert] [client 209.6.110.123] /var/www/drupaldev/.htaccess: Option Indexes not allowed here
server:/var/log/apache2# vi error.log
Comments
Some background
Stefan's setup:
We modified this to have separate exports of our test and live sites to drupallive and drupaltest so that drupal and its modules can also be tested (and what I set up above, drupaldev, as a development working copy).
Post new comment