
New Setting up the In Out System
Setting up the In Out System on your server is simple with this step-by-step guide. Follow along to get your system up and running efficiently!
1. Prepare PHP Environment
Update System
sudo apt-get update
Install Required Packages
sudo apt -y install software-properties-common
sudo apt-get -y install php php-{bcmath,bz2,intl,gd,mbstring,mysql,zip} libapache2-mod-php
Restart Apache
sudo service apache2 restart
2. Get the In Out Repository
Option A: Clone with Git
sudo apt-get install git
cd /usr/share/koha/opac/htdocs
sudo git clone --recursive https://github.com/omkar2403/inout.git
Option B: Manual Download
- Download from GitHub
- Unzip and move:
unzip inout.zip
sudo mv inout /usr/share/koha/opac/htdocs
cd /usr/share/koha/opac/htdocs
Set Proper Permissions
sudo chmod 755 -R inout/
3. Configure MySQL Database
Login and Create Database
mysql -uroot -p
create database lib;
grant all privileges on lib.* to 'admin'@'localhost';
flush privileges;
quit;
Import Sample DB
cd /usr/share/koha/opac/htdocs/inout/DB/
sudo su
mysql -u admin -p lib < inout.sql
Edit Connection File
Open and edit dbconn.php
:
$servername = "localhost";
$username = "admin";
$password = "Admin@7676";
$db = "lib";
$koha = "koha_library";
$conn = mysqli_connect($servername, $username, $password, $db);
if (!$conn) {
die("Connection failed: " . mysqli_connect_error($conn));
}
Final Apache Restart
sudo systemctl restart apache2
4. Launch the System
Visit: http://localhost/inout/login.php
5. Default Login Info
- Master —
master / superuser
- Operator —
user / 123456
- Library Admin —
admin / library
Credit By
Omkar Kakeru
Founder Of PlayTech