InstallUbuntu14.
04andupdate
KohacaninstallonUbuntu/Xubuntu/Kubuntu/Lubuntu/LinuxMint17.Installtheoperating
systemfirst.Thenupdatethesystemusingfollowingcommands:
aptgetupdate
aptgetupgrade
Installlightweighttexteditor
aptgetinstallleafpad
AddKohacommunityrepository
AddKohasoftwarechannelintoUbuntu.
echodebhttp://debian.kohacommunity.org/kohaoldstablemain|sudotee
/etc/apt/sources.list.d/koha.list
wgetOhttp://debian.kohacommunity.org/koha/gpg.asc|sudoaptkeyadd
aptgetupdate
InstallKoha
FollowingcommandwillinstalllatestreleaseofKoha.
aptgetinstallkohacommon
ThecommandwillstarttodownloadKohaandrequiredpackages.
Ontheway,theprocesswillasktoentermailofsystem.Acceptthedefaultvalues.
Haveyougotfollowingerrormessage?
Errorswereencounteredwhileprocessing:
libapache2mpmitk
apache2mpmitk
kohacommon
E:Subprocess/usr/bin/dpkgreturnedanerrorcode(1)
This error related with apache2mpmitk issue. Apply following commands. If you have not
founderrorrelatedtoapache2mpmitk,skipfollowingsection.
Howtosolveapache2mpmitkissue?
Applyfollowingcommandsinaterminal
sudoa2dismodmpm_event
sudoa2enmodmpm_prefork
sudoserviceapache2restart
sudoaptgetinstallf
Serverconfiguration
Inthisstep,needtoeditnetworkinformationlikedomainnameandportnumbers.
sudoleafpad/etc/koha/kohasites.conf
HereIchangeportnumberofKohastaffclientto8080.Findfollowinglineinthefileand
makechanges.
INTRAPORT="8080"
InstallMySQLserver
ApplyfollowingcommandtoinstallMySQLserver.
sudoaptgetinstallmysqlserver
Giveanewpasswordforrootuserwhileinstallation.
Kohainstancecreation
ApplyfollowingcommandstocreateApacheconfigurationfiles.
sudoa2enmodrewrite
sudoa2enmodcgi
sudoserviceapache2restart
CreateaKohainstancewiththenamelibrary.
sudokohacreatecreatedblibrary
UbuntuMySQLsecurityTweak
Applyfollowingcommand:
sudomysql_secure_installation
[EntertheMySQLRootpassword]
GivetheanswerYforthefirstquestion.GiveNforotherquestions.
Addingports
Wehaveassigned8080portforKohastaffclientand80forOPAC.
Openfollowingfileandaddnewport.
sudoleafpad/etc/apache2/ports.conf
CopypastefollowinglinebelowListen80
Listen8080
RestartApache,
sudoserviceapache2restart
Enablemodulesandsites
sudoa2dissite000default
sudoa2enmoddeflate
sudoa2ensitelibrary
sudoserviceapache2restart
ChangeKohadefaultmasterpassword
Seethefollowinglink
http://kohageek.blogspot.in/2013/05/howtochangemasterpasswordofkoha.html
InstallmissingPERLmodules
AfterinstallneedtoinstallsomePERLPERLmodulesusingCPAN.
Koha>AboutKoha>PerlModules
FindmissingPERLmodulesindifferentcolors.
OpenaterminalandapplyfollowingcommandtoenableCPAN.
sudosu
cpan
ToinstallaparticularPERLmodule,e.g.
installTest::DBix::Class
HowtostartKoha
Openfollowinglinks,
http://127.0.1.1:8080(Stffclient)
http://127.0.1.1:80(Onlinecatalogue)