Professional Documents
Culture Documents
Server Side
The database server used is MySQL on a Fedora 10 OS. After the installation and configuration of Fedora 10, (you may login as root
to do things faster) open the Terminal (GUI) by going to Applications > System Tools > Terminal. Type
Yum will download and install the packages and their dependencies. After the installation, set MySQL and Apache to start as
services during start up. From the terminal, issue the command
[root@computer ~]#ntsysv
Scroll down and look for mysqld and httpd. Select both by pressing the spacebar and click OK. You may reboot for the changes to
take effect or you may start the services by issuing the commands
Just press Enter if you’re asked to enter a password. Now on the MySQL console, we will start creating the “pscafepos” database
(you may name your database any name you want, same with the username) and the database user with granted privileges
mysql>create pscafepos;
mysql>create user “admin”@”localhost” identified by “password”
mysql>grant all privileges on pscafepos.* to admin@localhost identified by “password” with grant option;
Launch your web browser and download PSCafePOS from the SourceForge page
“http://sourceforge.net/projects/pscafe/files/”
Look for version 2.0.5 as it is the latest version. Right click the downloaded file and select “Extract Here”. Navigate the extracted file
and open the php folder. Copy all its contents to the directory “/var/www/html/”. Right click on the “config.php” file and open it
with a text editor. Configure the file to work with your database. Comment out first the line that starts with “die ( “br…)” by adding
two forward slashes at the beginning of the line. Here are the other lines that need to be edited:
Save the file and quit the text editor. We will then set the correct permissions to the web directory. Open the Terminal. Issue the
following commands:
Don’t close the terminal yet. We will also set the correct permissions for the reports folder. Issue the commands:
We will now populate the created database with tables. Open your browser and type in the address field:
http://localhost/commons/schemaupdater/index.php
Click the “Install/Upgrade Now” button to start filling up the database. After you are prompted that the task is successfully done,
type in the browser’s address field
http://localhost/management
Username : demo
Password : demo
After logging in, start creating users. For the Cashier users, type in their username, leave the percent character after the “@” symbol
and supply the password.