System

Setting up the In Out System on your server is simple with this detailed guide. Follow these steps to ensure a smooth installation and access.

1. Setting Up the PHP Environment

Begin by updating package lists:

sudo apt-get update

Then, install software-properties-common and PHP along with required 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 to apply changes:

sudo service apache2 restart 

2. Downloading the Repository

Clone the repository using Git:

cd /usr/share/koha/opac/htdocs 

sudo git clone –recursive https://github.com/omkar2403/inout.git 

Alternatively, download the package, unzip it, and move it to the target directory. Set proper permissions:

sudo chmod 755 -R inout/ 

3. Setting Up the Database

Login to MySQL and create the database:

create database lib; 

grant all privileges on lib.* to ‘admin’@’localhost’; 

flush privileges; 

quit; 

Restore the sample database:

mysql -u admin -p lib < inout.sql 

Update database connection details in dbconn.php, replacing placeholders with your credentials. Restart Apache:

sudo systemctl restart apache2 

4. Accessing the System

Once installed, access the system at:
🔗 http://localhost/inout/login.php

Login Credentials

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

With this guide, your In Out System is now fully operational!

Leave a Reply

Your email address will not be published.