How to install In Out Management System in Ubuntu connect with Koha
Latest In-Out management Installation Process.
INSTALLATION OF PHP 7.4
Open terminal and execute commands.
sudo apt-get update
sudo apt -y install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get updatesudo apt -y install php7.4sudo apt -y install php7.4-{bcmath,bz2,intl,gd,mbstring,mysql,zip}sudo apt-get -y install libapache2-mod-php7.4sudo service apache2 restartphp –v
Setup the OPAC folder:
First, Download the package of the software which contains two main files and copy it into the Home directory.
Download the stable version inout
Now we have to copy the inout directory into OPAC htdocs directory.
Open the terminal in the Home directory and apply the following commands.
sudo su
sudo mv /home/your home directory name/inout /usr/share/koha/opac/htdocscd /usr/share/koha/opac/htdocssudo chmod 777 -R inout
or
Setup the OPAC folder:
First, Download the package of the software which contains two main files and copy it into the Home directory.
Download the stable version inout
Now we have to copy the inout directory into OPAC htdocs directory.
Open the terminal in the Home directory and apply the following commands.
sudo chmod 777 -R inout
or
Download Stable Version 5.2 of the package from the Release Panel in the koha htdocs directory
cd /usr/share/koha/opac/htdocs
wget https://github.com/omkar2403/inout/archive/refs/tags/V5.2.zip
cd /usr/share/koha/opac/htdocs
wget https://github.com/omkar2403/inout/archive/refs/tags/V5.2.zip
Unzip the file
unzip V5.2.zip
unzip V5.2.zip
Change the name of the directory
mv inout-5.2 inout
mv inout-5.2 inout
Now remove the zip file as it is not required
rm V5.2.zip
rm V5.2.zip
Change the permission for inout directory
sudo chmod 777 -R inout
OR
Direct download inout in opac htdocs directory.
Run the commands
sudo apt install git
cd /usr/share/koha/opac/htdocs
git clone --recursive https://github.com/omkar2403/inout.gitsudo chmod 755 -R inoutsudo chown www-data:www-data -R inout
Setup the database:
sudo chmod 777 -R inout
OR
Direct download inout in opac htdocs directory.
Run the commands
sudo apt install git
cd /usr/share/koha/opac/htdocs
Open the terminal and apply the following commands.
sudo sumysql -uroot -p[Enter MySQL Root password]create database osmeinout;grant all privileges on osmeinout.* to 'root'@'localhost'identified by' mysql root';flush privileges;Quit;
Where ‘root’ is the username and ‘mysqlroot’ is the password. ORYou can create separate database & user for In Out Management system.
CREATE database osmeinout;CREATE USER 'osmeinout'@'localhost' IDENTIFIED BY 'osme@123';GRANT ALL PRIVILEGES ON *.* TO 'osmeinout'@'localhost' WITH GRANT OPTION;FLUSH PRIVILEGES;quit;
Where ‘osmeinout’ is the username and ‘osme@123’ is the password & osmeinout is the database .
Inout sample datas restore
Copy the inout.sql sample database file.
Now restore the sample database which is present in the ‘inout’ directory by applying
the following command in the terminal (Open Terminal in ‘inout’ directory).
sudo su
mysql -uroot -p osmeinout < inout.sql
or
Restart Apache
sudo systemctl reload apache2 && sudo systemctl restart apache2Logins:
There are 3 users for In Out System.
username : user
password : 123456
username : admin
password : library
username : master
password : superuser
No comments:
Post a Comment