Install PHP
apt-get update
apt-get upgrade
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
Download following two files from here and put in your home folder.
entry.php and entrylog.sql
You can open entry.php file and identify the lines critical information stored.Enable line numbers in Editor tool.
Goto Line numbers 15&16. Where Koha database username and password entered.
You can enter your Koha database user name and password. Line 29 contains name of Koha databse.
Create data base for gate register
Open a terminal and apply following commands,
sudo su
mysql -uroot -p
[Enter MySQL Root password]
create database entrylog;
grant all privileges on entrylog.* to 'gate'@'localhost' identified by 'gate123';
flush privileges;
quit;
Move entry.php to Koha OPAC server folder
sudo su
mv entry.php /usr/share/koha/opac/htdocs
cd /usr/share/koha/opac/htdocs
chmod +x entry.php
Restore sample database
sudo su
mysql -uroot -p entrylog < entrylog.sql
Open Gate register
http://127.0.1.1/entry.php
apt-get update
apt-get upgrade
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
Download following two files from here and put in your home folder.
entry.php and entrylog.sql
You can open entry.php file and identify the lines critical information stored.Enable line numbers in Editor tool.
Goto Line numbers 15&16. Where Koha database username and password entered.
You can enter your Koha database user name and password. Line 29 contains name of Koha databse.
Create data base for gate register
Open a terminal and apply following commands,
sudo su
mysql -uroot -p
[Enter MySQL Root password]
create database entrylog;
grant all privileges on entrylog.* to 'gate'@'localhost' identified by 'gate123';
flush privileges;
quit;
Move entry.php to Koha OPAC server folder
sudo su
mv entry.php /usr/share/koha/opac/htdocs
cd /usr/share/koha/opac/htdocs
chmod +x entry.php
Restore sample database
sudo su
mysql -uroot -p entrylog < entrylog.sql
Open Gate register
http://127.0.1.1/entry.php