Primary Goal: Create an, as close to stock as possible, LAMP stack to support Drupal 6 development.
Installed Centos 5 by following this http://linux.duke.edu/dist/centos-5/install.ptml
screen shifting with default video driver
- switched to generic vesa
Upgraded packages with Yum
- From Terminal "Yum update"
Centos 5 ships with PHP 5.1.6
Drupal 6 does not require PHP 5.2 but many contributed modules do.
- install PHP 5.2 by following this http://www.freshblurbs.com/install-php-5-2-centos-5-2-using-yum
Partitioned, formatted and mounted data drive by following this http://www.skullbox.net/newsda.php
Configured Apache using system/administration/server settings/http
- added server name
Installed flash player
- yum install flash-plugin.i386
CVS and SVN already installed
- yum install cvs.i386
- yum install subversion.i386
Created an SVN repository
- mkdir svnrepo
- svnadmin create svnrepo
- edited conf/svnserve.conf
[general]
anon-access = read
auth-access = write
realm = My First Repository
password-db = passwd
- repository can be accessed using the following url - svn+ssh://user@remote.host/myrepo/
This means that the subversion client will first ssh to remote.host, where the user can login using the system password, and then will start the subversion server in tunnel mode as svnserve -t -r /home/user/repo/.
Further details can be found at http://svnbook.red-bean.com/en/1.1/ch06s03.html
Installed Drush - http://drupal.org/project/drush
- from home directory - cd ~
- cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -d drush -r HEAD contributions/modules/drush
- chmod u+x drush
- alias drush='~/drush/drush.php'
Create symbolic link to webroot
- ln -s /var/www/html html
Download Drupal 6
- from the webroot cd ~/html
- Drush dl
Installed phpMyAdmin
- svn checkout https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/tags/STABLE/ph... phpMyAdmin-stable