30/01/2020

How to install Koha In Out Management System | Attendance Management System in Koha 20.05

By Technical Digit

How to Install Koha In Out Management System | Attendance Management System (Gate Register) in Koha Software

“Koha In Out Management System” is designed in php framework which works along with koha software. This koha plugin is used to track user entry time and exit time in a particular location of library. It generates various types of reports as per requirement.

 


You can install PHP by executing following commands.
sudo apt-get install php -y

sudo apt-get install -y php-{bcmath,bz2,intl,gd,mbstring,mysql,zip} && sudo apt-get install libapache2-mod-php -y

Download the package from following link. And Copy them into Home directory.
Now we have to copy the inout directory into ‘htdocs’ directory. Open the terminal into Home directory and apply the following commands.

sudo su
sudo mv /home/inout /usr/share/koha/opac/htdocs
cd /usr/share/koha/opac/htdocs
chmod 777 -R inout

Steps for quick database setup.
Open the terminal and apply the following commands.

sudo su
mysql -uroot -p
[Enter MySQL Root password]
create database lib;
grant all privileges on lib.* to 'root'@'localhost' identified by 'mysqlroot';
flush privileges;
Quit;

Now restore the sample database which is present in the ‘inout/DB’ directory by applying following command in terminal. Open Terminal in ‘inout’ directory.

sudo su 
mysql -uroot -p lib < inout.sql 
[Enter MySQL Root password]

Replace your password in the file ‘dbconn.php’ located in ‘inout/functions’ directory, at the line number 3.

You can access “Koha In Out Management System” at URL given below:
http://localhost/inout/admin.php

Koha In Out Management System
Koha In Out Management System

ajax loader