You should install from source and not from a package.
Here are the notes I did to install it on Debian. Should be the same for ubuntu server.
Hope this helps!
Intro
Attempt to install V-Tiger (an open source CRM) from source on the new Debian 5 (lenny).
Install Debian
Install debian in expert mode and keep a simple base system.
Basic system needs
# apt-get install -V ssh screen
Prepare the system
We need to prepare the system to host V-Tiger. For that we need to install a few packages necessary for the CRM.
Package installation
Install the following to meet V-Tiger dependencies
# apt-get install -V php5 apache2 mysql-server php5-gd libapache2-mod-auth-mysql php5-mysql php5-imap
Configure PHP for Apache
You need to do the following recommended changes to make sure PHP works well with V-Tiger.
File: /etc/php5/apache2/php.ini
safe_mode = Off # default
display_errors = On # default
file_uploads = On # default
register_globals = Off # default
max_execution_time = 600 # was: 30
output_buffering = On # was: Off
memory_limit = 64M # default
error_reporting = E_ALL & ~E_NOTICE # default
allow_call_time_pass_reference = On # default
log_errors = Off # default
short_open_tag = On # default
Reboot the box to make sure all is in place. It's not in production yet!
V-Tiger
This is the installation of V-Tiger 5.0.4 from source.
Prepare
base
extract the files to /var/www and set the permissions.
Code: extract V-Tiger and set permissions
# cd /var/www
# tar zxvf ~/vtigercrm-5.0.4.tar.gz
# find vtigercrm/ -type d -exec chmod 750 {} \;
# find vtigercrm/ -type f -exec chmod 640 {} \;
# chown -R www-data: vtigercrm/
Apache
Create a Virtual Host for apache
File: /etc/apache2/site-available/vtiger
<VirtualHost *:80>
ServerName vtiger.mydomain.com
DocumentRoot /var/www/vtigercrm/
ErrorLog /var/log/apache2/vtiger.mydomain.com.error_log
CustomLog /var/log/apache2/vtiger.mydomain.com.access_log combined
<Directory /var/www/vtigercrm>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
now make sure you make a link to it in site-enabled.
Code: make a link
# cd /etc/apache2/site-enabled
# ln -s ../site-available/vtiger
restart Apache.
# /etc/init.d/apache2 restart
MySQL
We need to create a database for V-Tiger and grant it permisions to it's DB.
Code: create a db and grant rights to it
# mysql -u root -p
mysql> CREATE DATABASE vtiger DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
mysql> GRANT ALL ON vtiger.* TO 'vtgrusr'@'localhost' IDENTIFIED BY 'YourPassword';
Configure
Time to configure V-Tiger using the web interface. make sure you made changes to your DNS/host file to point the VirtualHost IP to the name.
In your browser, type:
http://vtiger.mydomain.com/
... and finish the configuration. That's it!