P. 1
PSCafePOS Guide

PSCafePOS Guide

|Views: 125|Likes:
Published by Alvin T. Enguillo

More info:

Published by: Alvin T. Enguillo on Feb 17, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





PSCafePOS (using Internal SIS) Installation

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 [root@computer ~]# yum install mysql* php-mysql* htmldoc* php-gd* libtranslate 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 [root@computer ~]#service mysqld start [root @computer ~]# service httpd start Create a database for the POS program. On the Terminal, type in [root @computer ~]#mysql –u root –p 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: $cfg_schoolname = “Your school’s name”; $cfg_dbhost = “localhost”; $cfg_dbtype = “mysql”; $cfg_dbname = “pscafepos”; (or any name you provided during the creation of the database) $cfg_dbuser = “admin”; (or any name you provided during the creation of the database) $cfg_dbpass = “password” (password you provided for the database user) 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: [root@computer ~]#cd /var/www/html

[root @computer html]#chown –R apache:apache * [root @computer html]#chmod –R 700 * Don’t close the terminal yet. We will also set the correct permissions for the reports folder. Issue the commands: [root @computer html]#cd /management [root @computer management]#chmod –R 777 rpttmp/ 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 Use the following credentials to login: 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.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->