Oratio® é un software di gestione integrata ERP distribuito sotto licenza GPL. Il software utilizza una base dati Postgres e funziona in modalità "CGI", vale a dire che é accessibile tramite un navigatore internet. Per questo, prima di poter utilizzare Oratio® é necessario assicurarsi che gli strumenti utilizzati da quest'ultimo siano presenti sul server su cui verrà installato Oratio®
L'installazione di Oratio é stata effettuata con la versione 6.0.1 di SME Server. In questo how-to si suppone che sia stato creato un Information Bay chiamato "oratio".
# rpm -uvh --NODEPS *.rpm
# /etc/init.d/postgresql start
Initializing database: [ OK ]
Starting postgresql service: [ OK ]
# mkdir -p /etc/e-smith/templates/var/lib/pgsql/data
# mkdir -p /etc/e-smith/templates-custom/var/lib/pgsql/data
# cp /var/lib/pgsql/data/postgresql.conf /etc/e-smith/templates/var/lib/pgsql/data
# cp /var/lib/pgsql/data/pg_hba.conf /etc/e-smith/templates/var/lib/pgsql/data
# cp /var/lib/pgsql/data/postgresql.conf /etc/e-smith/templates-custom/var/lib/pgsql/data
# cp /var/lib/pgsql/data/pg_hba.conf /etc/e-smith/templates-custom/var/lib/pgsql/data
# pico /etc/e-smith/templates-custom/var/lib/pgsql/data/postgresql.conf
Eliminare il commento sulla riga #tcpip_socket = false
e sostituirla con :tcpip_socket = true
# pico /etc/e-smith/templates-custom/var/lib/pgsql/data/pg_hba.conf
Sostituire la riga #local all ident sameuser
alla fine del file con :
local all trust
host all [IP_LOCAL] [MASK] trust
host all all 0.0.0.0 255.255.255.255 reject
IP_LOCAL é sostituito dal vostro indirizzo IP,
MASK é sostituito dal vostro network mask.
# /sbin/e-smith/expand-template /var/lib/pgsql/data/pg_hba.conf
# /sbin/e-smith/expand-template /var/lib/pgsql/data/postgresql.conf
/etc/init.d/postgresql stop
Stopping postgresql service: [ OK ]
/etc/init.d/postgresql start
Starting postgresql service: [ OK ]
# ln -s /etc/init.d/postgresql /etc/rc.d/rc7.d/S56postgresql
# ln -s /etc/init.d/postgresql /etc/rc.d/rc6.d/K03postgresql
# rpm -Uvh perl-DBI-1.14-10.i386.rpm perl-DBD-Pg-0.95-1.i386.rpm
# su postgres
$ createuser -d oratio
$ createuser -d -P oratio
Shall the new user be allowed to create more dataset? (y/n) y
"Shall the new user be allowed to create more new users? (y/n) n
"# rpm -Uvh tetex*.rpm --NODEPS
# pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/50DirectoryIndex00
E aggiungere login.pl alla fine : il testo del vostro file dovrà risultare :
# pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/50DirectoryIndex00PHP
E aggiungere login.pl : il testo del vostro file dovrà risultare :
# pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/80AddHandler00
E aggiungere i tipi di files .pl : il testo del vostro file dovrà risultare :
# pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/90e-smithAccess40ibays
Aggiungere l'Information Bay oratio eventualmente da sostituire con il nome assegnato all'inizio (scaricare il file)
# /sbin/e-smith/expand-template etc/httpd/conf/httpd.conf
# service httpd restart
#tar -C /home/e-smith/files/ibays/oratio/html -vzxf oratio.tar.gz
#cd /home/e-smith/files/ibays/oratio/html
#chown www:www -R *
#chmod 555 -R *
#chmod 700 -R users
localhostcon l'indirizzo del server su cui é installato Oratio®
host,
port,
useret
passwordindicanto rispettivamente l'indirizzo ip del server di database (di default
localhost), la porta (di default
5432), il nome dell'utente del server di database (nel nostro esempio
oratio) e la password scelta durante la creazione di questo utente.
localhostcon l'indirizzo del server su cui é installato Oratio®
localhostcon l'indirizzo del server su cui é installato Oratio®