You enjoy working with the Gestix software and have some spare time? Join us abroad!

Do you utilize or have utilized Gestix?

Do you find it different and special?

Do you have experience and skills that could help others improve their usage of technology in their businesses or non-profits?

Do you have some spare time to work with us through our cloud infrastructure, from your home or business place?

We’re looking for people like you to join our international support team and help new Gestix users in exploring the software.

You’ll find that your knowledge is valuable to others, be it about business processes and procedures for those who are exploring the software, be it about computing skills to help those installing and setting up particular configurations.

So easy and comfortable on the cloud as it is on premises: Gestix ERP CRM applications.

So easy and comfortable on the cloud as it is on premises: Gestix ERP CRM applications.

Send your resume to jobs@gestix.com, and tell us some words about your experience and skills. We’ll get back to you immediately on a follow up.

Thank you.

Gestix Software

 

Installing Gestix on a brand new Ubuntu LTS 14.04 (Trusty Tahr)

This article covers the installation of Gestix on a new server, Ubuntu LTS 14.04 in this case, without any software installed on it but the core operating system.

First we install the prerequisites, MySQL, Apache2, and Htmldoc. Gestix does not require PHP to be installed, yet PHP, as well as other languages, can be used to interact with the Gestix Corporate edition, to implement custom reports, collaboration portals, etc. In this example PHP is not required at all.

Let’s do it.

sudo apt-get install mysql-server
sudo apt-get install apache2

Add some modules to Apache, but not too many. Enable mod_cgi to permit the execution of the gestix binaries instead of downloading them. The Apache module mod_env is also enabled here, in order to support setting environment variables from the Apache options or configuration files.

Apache recommends using a2enmod to enable Apache modules by name, so we do:

sudo a2enmod cgi
sudo a2enmod env

Then, htmldoc, a open source solution for rendering the PDFs in Gestix.

sudo apt-get install htmldoc

In order for htmldoc to work properly with Gestix, some environment variables need to be set. We’ll do it using the Apache’s options:

SetEnv TMPDIR /tmp
SetEnv PATH_INFO /usr/share/htmldoc
SetEnv HTMLDOC_NOCGI 1

Install some stuff needed by Gestix

sudo apt-get install libssl0.9.8

sudo get-get install libmysqlclient.so.16.0.0

Finally, we install the Gestix tar ball  (file type tar.gz). Using the tar ball instead of the Debian package allows to install Gestix on the default web, by extracting in the selected spot. In this case, we’ll create a subnet http://localhost/gestix so we create this gestix folder in the web folder, and get the contents of the package copied there. It will create the gnet folder with all gestix’s stuff in there.

cd /var/www/html

sudo mkdir ./gestix

cd ./gestix

sudo tar xf ~/my_downloads/gestix_erp_web_amd64.tar.gz

sudo sh ./gnet/install.sh mysql_user mysql_pw database_name

It should be ready now. Open Gestix from the browser (replace 10.0.0.11 by your server’s IP):

http://10.0.0.11/gestix/gnet/cgi-bin/gestix.cgi

Is it working fine? Good. Otherwise, please post/comment about it here. We’ll help of course.

Protect your Gestix with daily database backups

In production servers it’s advisable to install AutoMySQLBackup:

apt-get install automysqlbackup

To backup all databases invoke automysqlbackup from the command line or add it through crontab -e:

# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command

55 3 * * * automysqlbackup /home/company/mysql_backup/

More about Gestix at Gestix.com.

HOW TO install GESTIX 5.0 on Ubuntu 12.04 LTS Server

PS: I am in no away affiliated with Gestix or the company. I claim no special knowledge of the software. I can’t offer any warranty on the quality of the final installation, should you proceed as suggested. Proceed at your own risk.

This how-to uses GESTIX .deb binary distribution.

A tar.gz file is also available. If you can’t use .deb, (Fedora, RedHat, CentOS, etc) you can learn what to do from it.
With a .deb parser (for example “mc” (midnight commander)), open the deb and checkout the PRE and POST install scripts.  You will then know what you have to do. See below.

Now, if you are using .DEB:

##########################################
# It’s safe to copy paste execute the script below

apt-get update

# poppler-utils is needed for the PDF generator , used by htmldoc
# take note of the root password selected for mysql. You’ll need it
apt-get install mysql-server apache2 poppler-utils libssl0.9.8
# Gestix 5.0 (and previous) requires libmysqlclient16, which has been replaced by v18.
wget http://launchpadlibrarian.net/75954717/libmysqlclient16_5.1.58-1ubuntu1_amd64.deb
dpkg -i libmysqlclient16_5.1.58-1ubuntu1_amd64.deb

wget “http://www.gestix.com/download/v5_0/gestix_erp_amd64.deb
dpkg –i Gestix_erp_amd64.deb

cd /var/lib/gestix/bin/
mv htmldoc htmldoc.i386
mv htmldoc.64 htmldoc

#provide mysql root password when asked

##########################################

Now, proceed configuring the software itself. Point your browser to:

http://IP_SERVER/gnet/cgi-bin/gestix.cgi

Fill in all the data and proceed through the forms.

Ignore all complains of a non-existent gnet_db database. Just click “continue” every time it shows.

Enter the GESTIX license number when requested

Configure your invoice template, logo, and all the rest.

Tips:

–    To configure the GUI colors, checkout the CSS of the page you want to change with Firebug or chrome F12 devel console, for example, and then edit the appropriate .css in /var/lib/gestix/www/includes

–    To reconfigure template documents, one way to go about it is to duplicate the desired template into the “documents” folder. To know which one to pick, chose the most similar template to the one you want. Then print a document (via the browser, not via PDF). Check the URL , one of the fields will be …&prtsel=5&..
The 5 there means you’ll want to base your customization on this template. example:

cp –a /var/lib/gestix/www/html/5 /var/lib/gestix/documents

edit the files in /var/lib/gestix/documents/5

You can also use Firebug on the browser print preview pane. On chrome, cancel the print dialog, and “inspect element” on the items you want to change. Then, edit the html files. Refresh. Repeat until satisfied.

–    To have Gestix running on an encritped HTTP connection (ie HTTPS), which is highly suggested if you are running Gestix on the Internet, the PDF generator will not be able to reach your company logo on https. So, either keep at least a copy of that file reachable on the same URL, on http, or edit the desired .html template document and hardcode the logo url (http://SERVER/images/logo.png) for example, where you find the $doclogo  variable.

###

If you must use GESTIX from the tar.gz file:

–    make sure mysql and http are installed and running (duh!)

–    copy and add Gestix libs (.so) to your system (which Gestix .deb script abusively copies straight into /usr/lib (!)

–    add the contents of gestix_http.conf to your apache configuration,

–    restart apache

–    chown gestix/temp and gestix/www/images to httpd-user

–    grant privileges to gestix on mysql:

–    mysql -u root -p –execute=”GRANT ALL PRIVILEGES ON *.* TO ‘gestix’@’localhost'”

plus run:

echo db > /var/lib/gestix/temp/EnableConfig.cfg (or wherever you installed gestix)
chmod 755 /var/lib/gestix/bin/htmldoc
cd /var/lib/gestix/www/cgi-bin
ln -sf gnet-app.cgi gestix.cgi
ln -sf gnet-pos.cgi gestixpos.cgi

Contribution

Sílvio Macedo
CEO – Xarevision, S.A.
www.xarevision.pt