Install Koha on Ubuntu
Install Ubuntu 18.04 and update
Open Terminal and get sudo(root@user) ready for installation
Update Ubuntu
Open terminal and get on root@user and typ this commant or copy past
sudo apt update
sudo apt upgrade
Add koha community Key repository copy past.
Server configuration command copy past.
sudo gedit /etc/koha/koha-sites.conf
Change Post Number in Koha staff client to 8080.
INTRAPORT="8080"
Install MariaDB server command.
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirrors.up.pt/pub/mariadb/repo/10.4/ubuntu bionic main'
sudo apt update
sudo apt install mariadb-server
Assign Root password for MariaDB
If password asks during the installation process, enter the password in the window. Apply following command, if the password window did not appear during the installation,
sudo mysqladmin -u root password newpass [Replace 'newpass']
Koha instance creation
Apply the following commands to create Apache configuration files.
sudo a2enmod rewrite
sudo a2enmod cgi
sudo service apache2 restart
Create a Koha instance with the name library.
sudo koha-create --create-db library
Add new port
We have assigned 8080 port for the Koha staff client and 80 for OPAC.
Open the following file and add a new port.
sudo gedit /etc/apache2/ports.conf
Copy-paste following line below Listen 80
Listen 8080
Restart Apache,
sudo service apache2 restart
Enable modules and sites
sudo a2dissite 000-default
sudo a2enmod deflate
sudo a2ensite library
sudo service apache2 restart
Restart Memcached
sudo service memcached restart
Use this link and open the koha software and login fast time master pass word.
then create library admin login and library.
http://127.0.1.1:8080 (Staff client)
http://127.0.1.1:80 (Online catalogue)
Install Ubuntu 18.04 and update
Open Terminal and get sudo(root@user) ready for installation
Update Ubuntu
Open terminal and get on root@user and typ this commant or copy past
sudo apt update
sudo apt upgrade
Add koha community Key repository copy past.
sudo apt-get install libmarc-record-perl sudo apt-get install libxml-sax-perl wget http://ftp.br.debian.org/debian/pool/main/libm/libmarc-charset-perl/libmarc-charset-perl_1.35-2_amd64.deb wget http://ftp.br.debian.org/debian/pool/main/libm/libmarc-xml-perl/libmarc-xml-perl_1.0.3-1_all.deb sudo dpkg -i libmarc-charset-perl_1.35-2_amd64.deb libmarc-xml-perl_1.0.3-1_all.deb sudo apt-get install koha-common
Server configuration command copy past.
sudo gedit /etc/koha/koha-sites.conf
Change Post Number in Koha staff client to 8080.
INTRAPORT="8080"
Install MariaDB server command.
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirrors.up.pt/pub/mariadb/repo/10.4/ubuntu bionic main'
sudo apt update
sudo apt install mariadb-server
Assign Root password for MariaDB
If password asks during the installation process, enter the password in the window. Apply following command, if the password window did not appear during the installation,
sudo mysqladmin -u root password newpass [Replace 'newpass']
Koha instance creation
Apply the following commands to create Apache configuration files.
sudo a2enmod rewrite
sudo a2enmod cgi
sudo service apache2 restart
Create a Koha instance with the name library.
sudo koha-create --create-db library
Add new port
We have assigned 8080 port for the Koha staff client and 80 for OPAC.
Open the following file and add a new port.
sudo gedit /etc/apache2/ports.conf
Copy-paste following line below Listen 80
Listen 8080
Restart Apache,
sudo service apache2 restart
Enable modules and sites
sudo a2dissite 000-default
sudo a2enmod deflate
sudo a2ensite library
sudo service apache2 restart
Restart Memcached
sudo service memcached restart
Use this link and open the koha software and login fast time master pass word.
then create library admin login and library.
http://127.0.1.1:8080 (Staff client)
http://127.0.1.1:80 (Online catalogue)

No comments:
Post a Comment