koha installation Steps:- -------------- apt-get update downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies. sudo apt-get update sudo apt-get upgrade ----------------------------------------- The git version control system is installed with the following command apt-get install git --------------------------------- make executes commands in the makefile to update one or more target names, where name is typically a program. apt-get install make -------------------------------------------------- The Apache HTTP Server, colloquially called Apache, is a free and open-source cross-platform web server software. apt-get install apache2 ------------------------------------------- MariaDB Server is one of the most popular open source relational databases. sudo apt-get install mariadb-server mariadb-client --------------------------------------------------- Clone the public repository git clone git://git.koha-community.org/koha.git kohacloneun git clone https://github.com/Koha-Community/Koha.git kohacloneun ------------------------------------------------------------ Add Koha community repository Add Koha software channel into Ubuntu. It will install the current (latest) version of Koha. Apply the following two commands one by one: echo deb http://debian.koha-community.org/koha stable main | sudo tee /etc/apt/sources.list.d/koha.list wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add - -------------------------------------------------------------------------------- Update the software repository sudo apt-get update ---------------------------------------------------------------- The following command will install the latest release of Koha.The koha-common package will automatically install koha's dependencies if they are not already present on your system. sudo apt install koha-common ------------------------------------------------------------ https://git.koha-community.org/gitweb/?p=koha.git;a=summary cd kohaclone/ Create a branch to work on git branch git checkout -b v22.05.02 v21.05.02 perl Makefile.PL -------------------------- directory name where you want to install -------------------------- ex: koha-dev make make install cd /etc/apache2/sites-available/ ln -s /home/mapsystems/koha-devnew/etc/koha-httpd.conf kohanew.conf vi kohanew.conf ------------------------------------------------------------- vi /etc/apache2/ports.conf -------------------------- make sure to add this 2 lines in ports.conf if not available -------------------------- then change to edit the file Listen 80 Listen 8080 Listen 8081 Listen 8082 NameVirtualHost *:80 NameVirtualHost *:8080 ------------------------- then save and quit ------------------------- then disabling the default site /etc/init.d/apache2 restart ---------------------------------------------------------- Apply the following commands to create Apache configuration files. sudo a2enmod rewrite sudo a2enmod cgi sudo a2dissite 000-default sudo a2enmod deflate a2ensite kohanew.conf ---------------------------------------------------------------- mysql -u root -p Database Show databases; Create database eprint; Use eprint;