Tested on a standard deployment of CENTOS 7 minimal build 1810 (in HyperV environment)
Assumptions:
Deployment of CENTOS 7 minimal build 1810 has been completed with root access to your server via SSH session.
Deployment below is based on a fully updated OS available (as of January 2019)
Copy/Paste the commands in BOLD. Submit them one at a time, waiting for each action to complete.
If you already have Database, Apache and PHP installed, you can skip down to the install Vtiger setup, however additional or modified installation requirements for your system may need to be researched by you for a successful install.
UPDATE BOX
yum -y update
INSTALL MARIADB (aka MySQL)
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY*
yum -y install epel-release
yum -y install mariadb-server mariadb
systemctl start mariadb.service
systemctl enable mariadb.service
mysql_secure_installation
“enter for none”
SET ROOT PASSWORD = Y
Remove anonymous users= Y
Disallow root login remotely = Y
Remove test database and access to it? = Y
Reload privilege tables now = Y
INSTALL APACHE
yum -y install httpd
systemctl start httpd.service
systemctl enable httpd.service
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum -y install yum-utils
INSTALL PHP
yum -y install php
systemctl restart httpd.service
yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-soap curl curl-devel php-imap php-mysqlnd php-pdo
systemctl restart httpd.service
Install PHPmyadmin (handy if editing SQL data in vtiger)
yum -y install phpMyAdmin
Edit the file
/etc/httpd/conf.d/phpMyAdmin.conf
FIND THIS
Edit the file
/etc/phpMyAdmin/config.inc.php
Change “Cookie” to “HTTP”
systemctl restart httpd.service
Add entries into firewall
firewall-cmd –permanent –zone=public –add-service=http
firewall-cmd –permanent –zone=public –add-service=https
firewall-cmd –reload
yum -y install wget
cd /tmp
wget https://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM%207.1.0/Core%20Product/vtigercrm7.1.0.tar.gz
tar -xzvf vtigercrm7.1.0.tar.gz
mv vtigercrm /var/www/html/
chown -R apache:apache /var/www/html
sed -i -r ‘s/display_errors = Off/display_errors = On/’ /etc/php.ini
sed -i -r ‘s/log_errors = On/log_errors = Off/’ /etc/php.ini
sed -i -r ‘s/memory_limit = 128M/memory_limit = 256M/’ /etc/php.ini
sed -i -r ‘s/max_execution_time = 30/max_execution_time = 0/’ /etc/php.ini
sed -i -r ‘s/short_open_tag = On/short_open_tag = Off/’ /etc/php.ini
sed -i -r ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/selinux/config
mysql -u root -p
Enter in MYSQL password
CREATE DATABASE vtiger710;
CREATE USER ‘vtiger_admin’@’localhost’ IDENTIFIED BY ‘PaSsw0rd’;
GRANT ALL PRIVILEGES ON `vtiger710`.* TO ‘vtiger_admin’@’localhost’;
FLUSH PRIVILEGES;
ALTER DATABASE vtiger710 CHARACTER SET utf8 COLLATE utf8_general_ci;
EXIT
(reboot server and test!)
shutdown -r now
server reboots….
from a webbrowser on another networked computer:
http://IPaddress/vtigercrm
You should be presented with the Vtiger setup screen like this one
Hostname = localhost
username = vtiger_admin
password = PaSsw0rd
database name = vtiger710
Select “CREATE NEW DATABASE“
put in your MariaDB user/password (root/Password)
Pick the currency of your country
Vtiger admin userUser name – defaults to admin
password = password of your choice
First Name is optional
Last Name = Administrator
email = your email address for admin messages.
Select time zone
Press NEXT
Assuming you have everything configured properly you’ll be presented with a summary screen of config settings.
Press NEXT
Select your type of company.
This is strictly for anonymous info for vtiger.
Click on NEXT
You’ll be presented with a “ALMOST THERE” menu. Its double checking your preferences.
Select “GET STARTED“
You should now be in the VTIGER dashboard
ทิ้งคำตอบไว้
คุณต้องเข้าสู่ระบบ เพื่อจะพิมพ์ความเห็น