Vtiger CRM - Installation Guide for Linux OS
From vtiger.com
Contents |
[edit] System Requirements
- Hardware: x486 and above with 256 MB RAM or higher with minimum 100 MB disk space.
- Operating System: RedHat Linux 7.2/8.0/9.0, SuSe 9.0, Debian 3.0, Mandrake 10.0, and Fedora Core 3.
- Web Server: Apache 2.0.40 and above.
- Database: MySQL 4.0.X.
- PHP: 4.3.X version.
- Web Browser: Netscape 7.0 and above, Mozilla 1.4 and above, or Opera 7.21 and above.
[edit] Linux Dependency Packages
Disclaimer: This document is for informational purposes only and is provided "AS IS", without any express or implied warranties. Use of this document or any information contained therein is at your own risk.
| Red Hat 7.2/8.0/9.0 | Debian 3.0(woody) | SuSe 9.0 | Mandrake 10.0 | Fedora Core 3.0 | Mac OS X 10.3 |
| libpng | xlibs | bison | libxfree86-dev | libpng | freetype2 |
| libpng-devel | xlibs-dev | flex | libjpeg | libpng-devel | expat |
| libjpeg | libgd2 | libpng | freetype | libjpeg | jpegsrc |
| libjpeg-devel | libfreetype6 | zlib | libfreetype | libjpeg-devel | libpng |
| freetype | libfreetype6-dev | xpm | libpng | freetype | zlib |
| freetype-devel | jpegsrc | zlib | freetype-devel | imap-2004d | |
| zlib | zlib | freetype2-devel | Xfree86 | zlib-devel | |
| Xfree86-devel | libpng | XFree86-devel | libxfree86 | xorg-x11 | |
| openssl | jpeg-6b | openssl | openssl | xorg-x11-devel | |
| openssl-devel | /usr/lib/libjpeg.so.62.0.0 or /usr/lib/libjpeg.so | openssl-devel | openssl-devel | openssl | |
| krb5-devel ( for kerberos support) | /usr/lib/libjpeg.so.62.0.0 or /usr/lib/libjpeg.so.62 | heimdal-devel | krb5-devel | openssl-devel | |
| imap-2004d | /usr/lib/libpng12.so.0 or /usr/lib/libpng12.so | imap-2004d | imap-2004d | krb5-devel | |
| unzip | imap-2004d | ||||
| | openssl | | | | |
| | libssl-dev | | | | |
| | libkrb5-dev | | | | |
| imap-2004d |
[edit] Installation Prerequisites
- Please ensure that you have root privileges on the system. If you are installing with any other user privileges, the vtiger CRM software will not be installed properly.
- Before installing the vtiger CRM software, stop the Apache and MySQL services (If running in your system).
- The vtiger CRM software is compatible with Apache 2.0.40 and above and MySQL 4.0.X. If these software are already installed in your machine, you can use the same. Otherwise use the Apache and MySQL bundled with the vtiger CRM software.
[edit] Installing vtiger CRM
To work with vtiger CRM, you must have Apache, MySQL, and PHP installed in you machine. You can install vtiger CRM according to your software requirements:
- Install complete package of vtiger CRM - vtigercrm-4-2-4.bin.
Note: Use this package if you have not installed Apache, MySQL, and PHP packages in your machine. - Install vtiger CRM without Apache and MySQL - vtigercrm-4-2-4.bin
Note: This package is same as above except that you may not install Apache and MySQL. But PHP package will be installed even though it is available in your machine.Use this package if you have already installed Apache and MySQL, packages in your machine. - Install only vtiger CRM source - vtigercrm-4-2-4.tar.gz.
Note: Use this package if you have already installed Apache, MySQL, and PHP in your machine.
[edit] Installing Combined vtiger CRM, Apache, and MySQL
For the convenience of first time users, vtiger CRM is bundled with compatible versions of Apache, MySQL, and PHP.
Follow the procedure given below to install the complete package of vtiger CRM:
- Download vtigercrm-4-2-4.bin from the following URL:
http://www.sourceforge.net/projects/vtigercrm/ - Log in as a
rootuser. - Grant execute permission to run the vtigercrm-4-2-4.bin file:
#chmod 777 vtigercrm-4-2-4.bin - Run the vtigercrm-4-2-4.bin file as given below:
#./vtigercrm-4-2-4.bin
Please read the license agreement and enter Y to start the installation process or N to abort the installation. - To install the Apache follow the procedure given below:
- Press Y key to install the Apache when the following message is displayed:
Do you want to install Apache 2.0.50 that is bundled with vtiger CRM. - Specify the absolute path for installing the Apache when the following message is displayed:
Specify the absolute path for installing vtiger CRM (For example /home/vtiger) and then press ENTER</br> - Press Y key to create a new directory if it does not exist, when the following message is displayed:
Please type yes (y) or no (n): /home/<vtiger CRM directory > directory does not exist. Create it now? - Specify the Apache port number when the following message is displayed:
Specify the port where you wish to start Apache: Port Number
- Press Y key to install the Apache when the following message is displayed:
- To install the MySQL follow the procedure given below:
- Press Y key to install the MySQL when the following message is displayed:
Do you want to install the MySQL 4.0.20 that is bundled with vtiger CRM? - Specify the MySQL port number, user name, and password. If the port you have specified is free, installation process will continue otherwise specify a different port.
- Press Y key to install the MySQL when the following message is displayed:
- Installation details, such as Apache, MySQL, PHP, and GD library are displayed. Press C to continue or Q to abort the installation. Installation process takes approximately 5 to 8 minutes.
- Press Y to start the vtiger CRM server immediately when the following message is displayed:
Do you want to start the vtigerCRM server?
Otherwise, you can start the server by running the startvTiger.sh file present under the <vtiger CRM Home>/bin directory.
[edit] Installing vtiger CRM without Apache and MySQL
If you have already installed Apache (version 2.0.44 through 2.0.50) and MySQL 4.0.X and above in your machine, follow the steps given below:
- Download vtiger_CRM_4_2.bin from the following URL:
<a href="http://www.sourceforge.net/projects/vtigercrm/">http://www.sourceforge.net/projects/vtigercrm/. - Log in as a
rootuser into the system. - Grant execute permission to run the vtigercrm-4-2-4.bin file:
#chmod 777 vtigercrm-4-2-4.bin - Run the vtigercrm-4-2-4.bin file as given below:
#./vtigercrm-4-2-4.bin
Please read the license agreement and enter Y to start the installation process or N to abort the installation. - Follow the steps given below to use the existing Apache:
- Type “n” to use the existing Apache, when you get the following message:
Do you want to install Apache, 2.0.50 that is bundled with vtiger CRM ? Yes(y)/No(n): - Type “y” to continue to use the existing Apache when you get the following message:
Do you want to continue Yes(Y)/No(N):<Enter y if you are sure> - Enter the location of the Apache directory:
Specify the location of Apache in your system (For example /etc/httpd):
If you are not providing the correct path, following message is displayed:
Note: If the specified path or Apache version is not compatible, system prompts to install the bundled Apache.Kindly provide the location for httpd file in your system (example: /usr/sbin):
- Enter the port where you wish to start the Apache, when the following message is displayed:
Specify the port where you wish to start the Apache:
Note: If some other application is running in the specified port, you can chose a different port by typing N or close the application by typing C.
- Type “n” to use the existing Apache, when you get the following message:
- Follow the steps given below to use the existing MySQL:
- Type “n” to use the existing Apache, when you get the following message:
Do you want to Install the MySQL 4_0_20 that is bundled with vtigerCRM ? Yes(Y)/No(N): - Enter the MySQL directory, when the following message is displayed:
Enter the absolute path of MySQL installed in your system: - Enter the MySQL connection parameters, such as Port number, User name, Password, and MySQL socket file location.
Note: If you enter wrong details, following message is displayed:Either some other application is running on the port specified or there might be some errors in the connection parameters. Kindly start the specified mysql server and press C to continue with installation, press Y to re-enter the connection parameters, N to install the bundled MySQL or Q to quit: yKindly re-enter the mysql connection parameters
- Type “n” to use the existing Apache, when you get the following message:
- If you have provided correct details in Step 1 through 6, all your input details are displayed. Read the details and type C to continue or Q to abort the installation.
- Installation process takes approximately 10 minutes. Please ignore the messages displayed in console during installation.
- Once installation is successfully completed, the following message is displayed:
************************ INFO ****************************Product Successfully installedKindly use the link http://<hostname>/vtiger/install.php through your browser to start using the product**********************************************************
Copy the URL displayed in the console to the Web browser and configure the vtiger CRM server. - Start your existing Apache and complete the vtiger CRM configuration.
[edit] Installing only vtiger CRM
If you have already installed Apache, MySQL, PHP, and all other necessary dependency packages, you can install vtiger CRM source only. Before installing the vtiger CRM ensure that following files/directories are having Read/Write permissions:
- cache/
- test/
- modules/Email/template
- test/wordtemplatedownload/
- Download vtigercrm-4-2-4.tar.gz from the following URL:
http://www.sourceforge.net/projects/vtigercrm/. - Extract the vtigercrm-4-2-4.tar.gz file into Apache root directory.
- Start the MySQL database and create a database for vtige CRM. The default database name is vtigercrm4. If you want to use different database then modify the 2setConfig.php file present under the <vtiger CRM Home>/install/ directory as given below in all the places.
$db_name = 'vtigercrm4_2_4'; to$db_name = '<your database name>';
In the connection.php file present under the <vtiger CRM Home> directory, populate the values for the following variables:$mysql_username$mysql_password$mysql_port$apache_port
Example:$mysql_username = 'root';$mysql_password = 'public';$mysql_port = '3306';$apache_port = '0.0.0.0:80'; - Start Web Browser and follow the procedure given in the "Configuring vtiger CRM Server" section for completing the vtiger CRM installation.
Note: You must increase the value for max_execution_time in php.ini file as it takes about 300 seconds to execute the vtiger CRM installation script. By default the value is set as 30 seconds.
[edit] Starting and Stopping vtiger CRM
To start the vtiger CRM server, run the following command from the <vtiger Home>/bin directory:
#sh startvtiger.sh
To stop the vtiger CRM server, run the following command from the <vtiger Home>/bin directory:
#sh stopvtiger.shNote: The start and stop scripts are not bundled with vtigercrm-4-2-4.tar.gz. Hence you have to start MySQL and Apache manually and then configure the vtiger CRM server.
[edit] Configuring vtiger CRM Server
- Start the Web Browser and enter <localhost>/vtiger/index.php in location bar.
- In the Registration page, complete the product registration (optional). Click the Next button.
- In the System Check page, PHP, MySQL database, config.php, directories that have read/write permissions, and GD graphics library version status are displayed. Click the Next button.
Note: Please ensure that all the directories have the read/write permission; otherwise, you cannot work with features that require file upload and download. - In the Database Configuration page, enter the appropriate values for Database and Site Configuration sections.
- Database Configuration
- Host Name (mandatory) – By default, Host Name is set as <Machine Name>:<port number>. Please do not change the port number as it is added during installation.
- MySQL User Name (mandatory)– vtiger (Non-editable).
- MySQL Password (optional)– currently Non-editable.
- MySQL Database Name (mandatory)– vtiger (Non-editable).
- Site Configuration
- URL (mandatory) – Enter the host name. By default, it is http://<machine name>.
- path (mandatory) – By default, this is the path where vtiger CRM is installed.
- Path to Cache Directory (must be writable) - By default, this is cache/. This folder is used to store the files, such as attachments, and import/export- related files temporarily.
- Admin Configuration
- username – By default, the user name is set as “admin”.
- admin password (mandatory) – By default, the password is set as “admin”. You can change password after logging in to the vtiger CRM.
- email address – Enter the administrator’s E-mail address.
- Database Configuration
- In the Confirm System Configuration page, review the configuration information. If you want to change the details, click the Change button. If you want to populate some data, select the Also populate demo data? check box. Now click the Create button.
- In the Create Config File page, click the Next button.
- In the Create Database Tables page, the created database tables are displayed. Click the Finish button to complete the installation process.
- In the Login page, by default the User Name field is set as “admin”. In Password field, enter the admin password you have set during installation process. Once you logged in successfully, vtiger CRM interface is displayed in your Web browser.
[edit] Troubleshooting Tips
The “Forbidden” message is displayed in Web browser while starting vtiger CRM through Web browser:
old <Directory /> new <Directory /home/<user>
Grant permission to execute the httpd.conf file:#chmod -R 777 /home/<user>
#./bin/httpd -d . -f ./conf/httpd.conf -k stop#./bin/httpd -d . -f ./conf/httpd.conf -k start
[edit] Known Issues
- During vtiger CRM installation if you aborted the installation process, a temporary directory called vtigerCRM_linux is created under installation directory. This directory is not deleted automatically and you have to delete it manually.
- If you create a new role with space (for example, Sales User) in the name, then you will have issues allocating permissions.
- You cannot change the user’s role once specific role is assigned to the user.
- If you are migrating from older version (v3.0 or v3.2) to vtiger CRM 4.0, immediately after logging as “admin” user, assign roles to all the other users. Otherwise, users cannot log in and the “UserInfoUtil at line 10” error message is displayed in browser.
[edit] Related Documents
You can refer to the following documents to use the vtiger Outlook Plug-in software with vtiger CRM:
- The vtiger Outlook Plug-in User Guide (Refer to:http://vtiger.com/products/crm/help/vtiger_Outlook_Plugin_User_Guide.pdf).
- The vtiger Office Plug-in User Documentation (Refer to:http://vtiger.com/products/crm/help/vtiger_Office_Plugin_User_Guide.pdf).
- The vtiger Thunderbird Extension User Documentation (Refer to:http://vtiger.com/products/crm/help/vtiger_Thunderbird_Extension_User_Guide.pdf)
Note: The vtiger Outlook Plug-in, vtiger Office Plug-in, and vtiger Thunderbird/Mozilla Extension are browser-side software and work only with Microsoft Outlook, Microsoft Office, and Thunderbird/Mozilla E-mail clients respectively.
