Installation from GitHub

These steps are based on a new installation on a Ubuntu Server 9.10

user/password: openzis/openzis

pwd => /home/openzis

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
sudo apt-get install git-core

git clone git://github.com/cwhiteley/OpenZIS.git

cd OpenZIS
pwd => /home/openzis/OpenZIS

sudo apt-get install mysql-server
user/pass root/openzis

sudo apt-get install mysql-client
sudo apt-get install php5-mysql
sudo apt-get install libmysqlclient-dev

mysql -u root -p
> source ZISDB.sql
> use openzis
> show tables

You should have 32 rows returned.

> quit

sudo apt-get install apache2
sudo apt-get install php5 php5-common
sudo apt-get install libapache2-mod-php5 php5-gd php5-dev
sudo apt-get install php-pear

Add two lines to php.ini file located at: /etc/php5/apache2/

sudo vi php.ini

extension=pdo.so
extension=pdo_mysql.so

sudo pecl install pdo_mysql

sudo a2enmod rewrite

move to /etc/apache2/

sudo vi apache2.conf

Near the end of the file add:

NameVirtaulHost *

move to /etc/apache2/sties-available

sudo vi admin


ServerAdmin someone@openzis.org
DocumentRoot /home/openzis/OpenZIS/OpenZIS/ADMIN_SERVER
Servername admin.openzis.us

Options Indexes FollowSymLinks
AllowOverride All
Order deny,allow



Save your admin file

sudo vi zis


ServerAdmin someone@openzis.org
DocumentRoot /home/openzis/OpenZIS/OpenZIS/ZIT_SERVER
Servername zis.openzis.us

Options Indexes FollowSymLinks
AllowOverride All
Order deny,allow


Save your zis file

sudo a2ensite admin
sudo /etc/init.d/apache2 reload
sudo a2ensite zis
sudo /etc/init.d/apache2 reload

move to /home/openzis/OpenZIS/OpenZIS
update the config.ini at a minimum you should update your password and your
application.root.directory. In this example your application.root.directory should look like this:

application.root.directory = /home/openzis/OpenZIS/OpenZIS;

Now you should be able to connect to your admin site as admin.openzis.us with the user/pass as admin/admin.

If you setup your Apache with a different URL you will need to update the ZIS setting from within the UI interface.

Comments

One Response to “Installation from GitHub”

  1. Install US SIF 1.5r1 Specification in your ZIS : Zone Integration Server Blog (SIF) on March 9th, 2010 8:12 am

    [...] Update: These installation steps are no longer correct: The most recent version is located at: http://sif.openzis.org/2010/03/04/installation-from-github/ [...]