Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
PSCafePOS Guide

PSCafePOS Guide

Ratings: (0)|Views: 125 |Likes:
Published by Alvin T. Enguillo

More info:

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

Availability:

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

10/28/2011

pdf

text

original

 
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 rootto 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 asservices 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 totake 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 fileand open the php folder. Copy all its contents to the directory “/var/www/html/”. Right click on the “config.php” file and open itwith a text editor. Configure the file to work with your database. Comment out first the line that starts with “die ( “br…)” by addingtwo 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 thefollowing commands:
[root@computer ~]#cd /var/www/html

You're Reading a Free Preview

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