sudo apt-get updatesudo apt-get upgrade
This will ensure that your base system is fully updated before we get started. If you didn't install LAMP or OpenSSH, you can run:
sudo apt-get install openssh-server mysql-server php5 apache2 php5-mysql
and this will install the software you need. Let's start by getting the software. Go to the URL:
and copy the link to pmos-1.1-1999.tar.gz. You run the following:
cd /opt; sudo wget http://downloads.sourceforge.net/processmaker/pmos-1.1-1999.tar.gz?modtime=1225133280&big_mirror=0
Your URL at the end of the wget may be different depending on the version of the package and the mirror site that SourceForge provides you. Run the following:
sudo tar zxvf pmos-1.1-199.tar.gz
so that the files extract in the /opt mount, you should see that this extracts a directory: processmaker. After this has completed, you will run:
sudo /etc/init.d/apache2 reload
Now we need to create a superuser on the MySQL database. This is done by running:
sudo a2enmod expiresand because we are going to use Joe:
sudo a2enmod rewrite
sudo /etc/init.d/apache2 force-reload
sudo apt-get install joeNow we need to configure apache2 to read from the configuration files. To do this, you will run:
sudo cp /opt/processmaker/etc/pmos.conf /etc/apache2/sites-available/and add in the following line to the pmos.conf file:
sudo joe /etc/apache2/sites-available/pmos.conf
sudo a2ensite pmos.conf
php_value magic_quotes_gpc 0once these have been added, reload apache2:
sudo /etc/init.d/apache2 reload
Now we need to create a superuser on the MySQL database. This is done by running:
mysql -pChange the USER to the name of the new user, and PASSWORD to the new password.
mysql> grant all on *.* to 'USER@localhost' identified by 'PASSWORD' with grant option;
cd /opt/processmakerFinally you will want to open the site in a browser:
sudo mkdir shared compiled
sudo chmod 777 shared compiled
sudo chmod 777 -R workflow/engine/content/languages
sudo chmod 777 -R workflow/engine/js/labels
sudo chmod 0777 -R workflow/engine/config/
sudo chown www-data:www-data -R /opt/processmaker
http://servername:port/You may need to disable the default site in apache2, you can do this by running:
sudo a2dissite defaultThe installation configuration page should appear and test your configuration. You should expect that MySQL fails, until you enter in the username/password that you created previously in this guide. You can click on the TEST button to verify that it's configured properly. Also you will get a warning that the memory_limit for PHP is too low. By default PHP will install with the memory_limit = 16M. To change this run:
sudo /etc/init.d/apache2 reload
sudo joe /etc/php5/apache2/php.iniand change the 16M to 40M. Once this is done you have to reload apache2 for the changes to take effect. Once this is done you should have green across the board, and be ready to move forward with the install. If everything installed properly, you should get to a login screen, at which point you will enter using the default login information of:
Username: adminObviously once you login, you'll want to change this information to something more secure. That should be, it, if you've followed everything here, the software should be installed and ready for you to go to work and play with it! The below URL will get you started on configurations. This is my first time using this software, so I'll write up a post regarding configuration and integration with other systems after I get to that juncture in my process.
Password: admin
Note, if you are logging in from another machine, you might get a 3rd option during the login asking for workspace. By default, the default workspace is: workflow.
