[ <- Previous Page ] | [ ^ Table Of Contents ^ ] | [ Next Page -> ] |
This installation procedure assumes:
Description | Command |
---|---|
Create user zwebit | Depends on Linux/Unix system used |
Create group zwebit and verify user zwebit is a member of group zwebit | Depends on Linux/Unix system used |
super user | su |
change directory | cd /usr/local |
Download zwebit-x.y.z.tar.gz where x.y.z is the latest release | ftp |
unzip the file | gunzip zwebit-x.y.z.tar.gz |
verify zwebit-x.y.z.tar file exists | ls -l |
extract files from the tar file | tar -xvf zwebit-x.y.z.tar |
verify directory zwebit-x.y.z exists | ls -l |
create a symbolic link to it | ln -s zwebit-x.y.z zwebit |
verify zwebit links to zwebit-x.y.z | ls -l |
change directory to zwebit | cd zwebit |
configure automake | ./configure |
make the package | make |
install it | make install |
verify file /etc/ld.so.conf has a /usr/local/lib entry; if not, add it and run command ldconfig as root | edit /etc/ld.so.conf ldconfig |
in the file zwebit/html/common.inc, update the $site variable to your site name | edit zwebit/html/common.inc |
exit super user | exit |
If postgres is configured differently, take the appropriate equivalent steps for your configuration. These steps were taken on a Redhat V8.0 configuration. Your mileage may vary.
Description | Command |
---|---|
Verify postgres is installed and operational | Depends on Linux/Unix system used; RH 8.0, startx, ServerSettings,
Services, verify postgresql is checked and is operational.
ps -ef | grep postmaster *Should return something if postgres is running |
Super user | su |
Enter pgsql/data directory | cd /var/lib/pgsql/data |
Verify parameter tcp-ip=true in file postgresql.conf | edit postgresql.conf |
Add these two lines to the /var/lib/pgsql/data/pg-hba.conf file host test 127.0.0.1 255.255.255.255 trust host prod 127.0.0.1 255.255.255.255 trust |
edit pg-hba.conf |
Then restart postgres | /sbin/service postgresql restart |
Super user postgres | su postgres |
Create zwebit user | createuser zwebit create databases=Y create more users=Y |
Exit superuser postgres | exit |
Exit superuser | exit |
Super user zwebit | su zwebit |
Create test database | createdb test |
Create prod database | createdb prod |
Create test system tables | cd /usr/local/zwebit/sql
psql -d test -f ptrkeys.sql psql -d test -f idata.sql psql -d test -f testkeys.sql |
Create prod system tables | psql -d prod -f ptrkeys.sql
psql -d prod -f idata.sql |
This installation procedure assumes apache is used as the web server software.
[ <- Previous Page ] | [ ^ Table Of Contents ^ ] | [ ^ Top Of Page ^ ] | [ Next Page -> ] |
Visit the GNU home page.
FSF & GNU inquiries & questions to
gnu@gnu.org.
Comments on these web pages to
info@zhsac.com.
Copyright (C) 2003 HealthCare Systems and Consulting
Verbatim copying and distribution of this entire article is
permitted in any medium, provided this notice is preserved.
Last updated: 07/21/2003