Posts

Tomcat start

Tomcat Restart Change directory to run command cd /opt/tomcat/ pwd Login as root sudo su cd bin/ ll Start Tomcat ./startup.sh exit Restart sudo systemctl restart tomcat9.service

Koha OPAC Side Scroll Nav

 Koha OPAC Side Scroll Nav <style> #mySidenav a {   position: absolute;   left: -40px;   transition: 0.3s;   padding: 15px;   width: 100px;   text-decoration: none;   font-size: 20px;   color: white;   border-radius: 0 5px 5px 0; } #mySidenav a:hover {   left: 0; } # about {   top: 20px;   background-color: #04AA6D; } # blog {   top: 80px;   background-color: #2196F3; } # projects {   top: 140px;   background-color: #f44336; } # contact {   top: 200px;   background-color: #555 } </style> <div id="mySidenav" class="sidenav"> <a href=" LINK " id=" about " target="_blank" rel="noopener"> NAME </a> <a href=" LINK /" id=" blog " target="_blank" rel="noopener"> NAME </a>  <a href=" LINK " id=" projects " target="_blank" rel="noopener"> NAME </a> <a href=" LINK " id=" contact  "

Koha Plugin : In Out Management System

Image
  Koha Plugin : In Out Management System System Requirements:   Software:   Apache (Already there in koha server)   PHP   MySQL (Already there in koha server)  Any text editor like vim/mousepad/leafpad/gedit Hardware:  A computer system with a widescreen monitor  Automatic barcode scanner Installation: PHP Installation:  for Debian 10 & Ubuntu 20.04 LTS Open a terminal and enter the following commands. sudo apt-get install -y git php libapache2-mod-php php-{bcmath,bz2,intl,gd,mbstring,mysql,zip,cli,fpm,opcache,xml,curl,intl,xsl,soap,json} cd /usr/share/koha/opac/htdocs sudo git clone https://github.com/omkar2403/inout.git sudo chmod 777 -R inout Setup the database: Go to MySQL shell and create a database, user, and password for inout   sudo su mysql -uroot -p [Enter MySQL Root password] CREATE database   libinout ; CREATE USER ' libinout '@'localhost' IDENTIFIED BY ' libinout123 '; GRANT ALL PRIVILEGES ON *.* TO ' libinout '@'localhost' WIT

Koha INSTALLATION

Image
   Koha INSTALLATION After installation of ubuntu 20.4 (Focal Fossa), right click on the mouse choose open terminal. past the following comments in terminal. Update Ubuntu using apt   sudo apt update sudo apt upgrade -y if the system asks for update make it "Remind me later" it may confuse the process Clear the apt-get packager manager cache sudo apt clean Install MariaDB-server dependence sudo apt install -y mariadb-server Provide MySQL/MariaDB root password (If the password asks during the installation process, enter the password in the window. Apply the following command, if the password window did not appear during the installation secure it) Securing MariaDB Run this command to improve the security of the MariaDB installation:   sudo mysql_secure_installation   (The script will prompt you to set up the root user password, remove the anonymous user, restrict root user access to the local machine and remove the test database. In

Dspace User add and delete

Login as a superuser sudo su  (Enter password and hit enter) Create a new E-Person /dspace/bin/dspace user --add --email abc@gmail.com -g FristName -s Surname --password Password Show the list of all user accounts. The output result will appear on the terminal. /dspace/bin/dspace user --list Modify an account of User/E-person /dspace/bin/dspace user --modify -m given_email@gmail.com -M -i newmail@gmail.com -s surname -g Given_name -m new_email@gmail.com -t Phone_number  Remove the E-Person/User account /dspace/bin/dspace user --delete -m abc@gmail.com Restrict the E-Person/User to log-in /dspace/bin/dspace user --modify -m abc@gmail.com -C disabled   Explanation of the user commands The dspace user command adds, lists, modifies, and deletes EPerson records. To create a new user account: [dspace] /bin/dspace user --add --email jquser@example.com -g John -s User --password hiddensecret   /dspace//bin/dspace user --add --email a@gmail.com -g N -s Your Name --password a@gmail.com [dsp

IP CONFIG

Image
  IP CONFIG Run the below commands sudo su ifconfig (Note- inet addr: 192.168.5.156 and Mask 255.255.255.0) ip route sho (Note- defaul via 192.168.5.1 dev) gedit /etc/network/interfaces  Add following lines with the network credentials. Following lines contains example network details. Add your own network details. (e.g. free google DNS: 8.8.8.8) auto eth0 iface eth0 inet static address 192.168.5.156 gateway 192.168.5.1 netmask 255.255.255.0 dns-nameservers 8.8.8.8 systemctl restart network-manager.service systemctl restart networking.service systemctl restart resolvconf.service If resolvconf not restart the run below commands sudo -i apt install resolvconf systemctl enable resolvconf.service systemctl start resolvconf.service systemctl status resolvconf.service sudo service networking restart  sudo /etc/init.d/resolvconf restart

Bacic HTML

Site Embed   <!DOCTYPE html> <html> <body> <h1> Library Site </h1> <iframe width="320" height="240" src=" https://libsciinfo.blogspot.com/ " title=" Library   Site "> </iframe> </body> </html>

Cheick-in and check-out Email Notification

Image
 Item check-out Goto : Tools  › Notices and Slips  › Check out slip Email Section Past it these codes <!DOCTYPE html> <html lang="en"> <head>     <style>         body{                     }         h1,h2,h3,h4,h5,h6{             margin: 0;             padding: 0;         }         p{             margin: 0;             padding: 0;         }         .container{             width: 90%;             margin-right: auto;             margin-left: auto;         }         .brand-section{            background-color: #0047AB;            padding: 10px 20px;         }         .logo{             width: 50%;         }         }         .col-6{             width: 50%;             flex: 0 0 auto;         }         .text-white{             color: #fff;         }         .company-details{             float: left;             text-align: left;         }         .body-section{             padding: 16px;             border: 1px solid gray;         }         .heading{      

OPAC Modifications

OPAC Modifications OPAC Header Image in Intranet sudo cp /home/koha/header.png /usr/share/koha/opac/htdocs Find it :  http://localhost/header.png     or   http://Your IP/header.png OPAC User JS $("select[name='idx']").append("<option value='bc'>Accession No.</option>"); $("#login").hide(); $("#logo").hide(); OPAC Interface Color and Set the OPAC Background Image Go to : Home › Administration › System preferences › OPAC › OpacUserCSS Final Full coding Style available in the end OpacUserCSS open a tag for body and set the background to color: body { background:#FFF8D6; } OpacUserCSS open a tag for body and set the background to Image: body { background-image: url("http://www.lecturemaker.com/wp-content/uploads/2013/07/HP_paper.gif"); background-color: #F4ECF7; } Next try changing the standard link colour: a, a:visited { color:#3366ff; } To change the link colour on mouse over. /*change link

Total views