Complete Guide to Installing the In Out System

The In Out System is a reliable solution for managing user entries efficiently. Follow this step-by-step guide to install and configure it seamlessly.
Total
0
Shares

The In Out System is a reliable solution for managing user entries efficiently. Follow this step-by-step guide to install and configure it seamlessly.

1. Setting Up the PHP Environment

Begin by updating your package lists:

sudo apt-get update

Install the required dependencies and PHP modules:

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 for the changes to take effect:

sudo service apache2 restart

2. Downloading the Repository

sudo apt-get install git
cd /usr/share/koha/opac/htdocs
sudo git clone --recursive https://github.com/omkar2403/inout.git

Manual Download:

Unzip and move the package:

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. Configuring the Database

Login to MySQL and create a new database:

mysql -uroot -p
create database lib;
grant all privileges on lib.* to 'admin'@'localhost';
flush privileges;
quit;

Restore the sample database:

cd /usr/share/koha/opac/htdocs/inout/DB/
sudo su
mysql -u admin -p lib < inout.sql

Edit dbconn.php to update database connection details:

$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));
}

Restart Apache:

sudo systemctl restart apache2

4. Accessing the System

Your In Out System is now live! Access it via: http://localhost/inout/login.php

Default Login Credentials

  • Master: Username – master | Password – superuser
  • Operator: Username – user | Password – 123456
  • Library Admin: Username – admin | Password – library

Credit By –

Omkar Kakeru

Founder PlayTech

Leave a Reply

Your email address will not be published. Required fields are marked *

2 × two =

You May Also Like

Realme GT 6 and Buds Air 6 Pro:

Realme has introduced its latest flagship smartphone, the Realme GT 6, alongside the Buds Air 6 Pro wireless earbuds, marking a significant leap in technology and user experience. These new offerings cater to the demands of tech enthusiasts and everyday users alike, blending cutting-edge features with sleek design elements.
View Post