User Tools

Site Tools


Sidebar

js#vista.png msort nsort

vtigercrm:debian_install

Installing VTiger on Debian Lenny

  • Install all needed packages (and don't forget php5-ldap if you want to auth against LDAP or AD:
    # apt-get install -V php5 apache2 mysql-server php5-gd libapache2-mod-auth-mysql php5-mysql php5-imap php-apc php5-ldap
  • Configure PHP for Apache

You need to do the following recommended changes to make sure PHP works well with V-Tiger.

# nano /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/
# find -type d -name language|xargs chown www-data.www-data
# chown www-data.www-data include/js/ jscalendar/lang/

Apache

Create a Virtual Host for apache

# nano /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/

vtigercrm/debian_install.txt · Last modified: 2020/02/24 11:16 (external edit)