Development Server Setup
Install postfix so php can send mail
# apt-get install postfix
Select "Internet Site" for the "General type of mail configuration" and use yourdomain.com as the "System mail name"
Edit /etc/profile and set umask 002 so all developers can edit files
Create the group for all the developers
# groupadd www-users
Create the developers
Edit php.ini to set values appropriate for Drupal
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB) upload_max_filesize = 51M
Make sure the rewrite module is enabled. Look into /etc/apache2/mods-enabled, if not then vreate a symlink
cd /etc/apache2/mods-enabled ln -s ../mods-available/rewrite.load
Install the GD library for PHP otherwise you'll get Error: The GD library for PHP is missing or outdated
On Ubuntu php5-gd is not using bundled GD library.
Quoting this discussion
As you are probably aware, PHP has bundled an upgraded GD library for some time, which supports image rotation, convolution and alpha blending. The package php5-gd still uses Boutell's version of the library, which restricts the abilities of the PHP module.
It would be great if future versions of php5-gd can be built against PHP's GD library in order that the GD module can be used to its greatest extent.
Using bundled libraries is security hell. It will never happen in Debian. And I very much doubt that it will happen in Ubuntu.
However modified packages come from http://www.dotdeb.org/ as they provide upgraded packages for LAMP stacks.
Open a command line interface and add following two lines to /etc/apt/sources.lst
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
apt-get update apt-get install php5-gd
It will complain about non-authenticated sources .. just ignore, it will also update some additional php libs , keep local modified php.ini
Bounce Apache
/etc/init.d/apache2 restart
Install subversion
apt-get install subversion
Install CVS if not already installed.
apt-get install cvs
- Login to post comments