Difference between revisions of "Set up an internet cafe"
From Organic Design wiki
(→Initial config: db setup) |
|||
Line 19: | Line 19: | ||
sudo -u postgres createdb -E utf8 -O admin outkast | sudo -u postgres createdb -E utf8 -O admin outkast | ||
sudo -u postgres psql -e outkast < outkafe.sql | sudo -u postgres psql -e outkast < outkafe.sql | ||
+ | |||
+ | Use ''--keep'' to analyse the files before installation | ||
== See also == | == See also == |
Revision as of 08:40, 29 September 2008
Set up an internet cafe Organic Design procedure |
In order to achieve it goals OutKafe comprises a number of core components:
- A server-daemon for counting time down centrally outkafed
- A management console where you can add time, kick users, define special offers etc. outkafe-admin
- A number of platform specific clients apps which control login on your terminals including clients for linux and windows
- A central database server (currently only postgresql is supported)
- A back-end library to abstract all database work out for ease of maintenance and stability across the various components.ok
Initial config
Add an entry to /etc/postgresql/8.3/main/pg_hba.conf to allow plaintext password connections over TCP/IP from any workstations:
host all all 127.0.0.1/32 password
Set listen_addresses to '*' in /etc/postgresql/8.3/main/postgresql.conf
sudo -u postgres createuser -D -A -P admin sudo -u postgres createdb -E utf8 -O admin outkast sudo -u postgres psql -e outkast < outkafe.sql
Use --keep to analyse the files before installation