CRM SalesMax linux installationThe process of installation on linux is pretty simple - you need to install the necessary packages used in our system, then download and configure the components of the system:Installing the Necessary Componentsthe SalesMax system requires:
Configure the databaseexecute following commands in console with root rights:su - postgres psql -c "create user crm createdb password '123'" psql -c "create database crm owner crm encoding 'UTF-8'"edit file pg_hba.conf - add following line before other uncommented lines host crm crm 127.0.0.1/32 passwordfile pg_hba.conf is located in the same with other PostgreSQL configuration files (in Debian based distros it's /etc/postgresql/8.x/main). Then restart PostgreSQL database sudo /etc/init.d/postgresql-8.x reloadif you already have a backup of previous SalesMax installation - load it using: pg_restore -d crm [путь к файлу с архивом]end session of postgres user exit Configure the JBoss application serverDownload the specially prepared JBoss application server distribution pack and unzip it into /usr/local directoryThen add the run rights to the files run.sh and shutdown.sh, located in /usr/local/jboss-4.2.0/bin directory chmod +x /usr/local/jboss-4.2.0/bin/run.sh chmod +x /usr/local/jboss-4.2.0/bin/shutdown.shThere are autorun scripts in the /usr/local/jboss-4.2.0/bin directory, for example, for Red Hat there is a file jboss_init_redhat.sh, for Ubuntu — it's jboss_init_ubuntu.sh Check these files to insure location of JBoss и Java JRE are set correctly. After that, copy the required autorun script into /etc/init.d and create a symlink to it in /etc/rc`runlevel`.d directory, to run jboss after the database PostgreSQL. Download the latest versions of the .ear and .war filesDepending on the necessary version - run:for standard version cd /usr/local/jboss-4.2.0/server/default/deploy wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0/chart.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0/Root.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0/help.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0/salescontrol.earfor building version cd /usr/local/jboss-4.2.0/server/default/deploy wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.building/chart.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.building/Root.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.building/help.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.building/salescontrol.earfor magazine / newspaper publishers version cd /usr/local/jboss-4.2.0/server/default/deploy wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.magazine/chart.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.magazine/Root.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.magazine/help.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.magazine/salescontrol.earfor radio / TV version cd /usr/local/jboss-4.2.0/server/default/deploy wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.radio/chart.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.radio/Root.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.radio/help.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.radio/salescontrol.earfor XEROX version cd /usr/local/jboss-4.2.0/server/default/deploy wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.xerox/chart.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.xerox/Root.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.xerox/help.war wget http://www.mawisoft.com/distrib/salesmax/6.0/salesmax-deploy6.0.xerox/salescontrol.ear Configure the web server portBy default the system will run on port 8080. If you want to use another port - edit the file /usr/local/jboss-4.2.0/server/default/deploy/jboss-web.deployer/server.xml using a text editor and change 8080 to the desired value.Adjust the path to javaEdit the file /usr/local/jboss-4.2.0/bin/run.conf and specify the correct path to java - find the line beginning withJAVA_HOME= and specify the directory where java is located (for example, in ubuntu it is usually /usr/lib/jvm/java-6-sun). Start the systemsudo /etc/init.d/jboss_[xxxx].sh startIn 1-2 minutes, depending on the system performance, the server should start and go into operation Register the main system userStart your browser and go tohttp://[IP of your computer]:8080/salescontrol/install.jsp and fill in the form. Final configurationAfter completing the above form, open the “Configuration” section, click on the “Settings” tab, find the postgres.bin parameter and edit it to the value indicating the correct location of the pg_dump utility (included in postgresql), usually it is located in the /usr/bin directory, use the locate pg_dump command if necessary. Without the correct settings of this parameter, the system can not automatically back up data archives.Edit the parameters of the mail server in the bottom of the same page. |
Order CRM SalesMax SaaS |