Bugzilla – Attachment 83343 Details for
Bug 22017
Cannot start the web installer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
koha installation commands log
koha-install-log.md (text/markdown), 3.55 KB, created by
ignujee
on 2018-12-18 11:06:24 UTC
(
hide
)
Description:
koha installation commands log
Filename:
MIME Type:
Creator:
ignujee
Created:
2018-12-18 11:06:24 UTC
Size:
3.55 KB
patch
obsolete
>1 wget -q -O- https://debian.koha-community.org/koha/gpg.asc | sudo apt-key add - > 2 adduser sudo user > 3 sudo adduser sudo user > 4 su > 5 wget -q -O- https://debian.koha-community.org/koha/gpg.asc | sudo apt-key add - > 6 sudo gedit /etc/hosts > 7 sudo nano /etc/hosts > 8 sudo nano /etc/koha/koha-sites.conf > 9 lynx http://koha-intra.cdc.org > 10 echo 'deb http://debian.koha-community.org/koha oldstable main' | sudo tee /etc/apt/sources.list.d/koha.list > 11 vi /etc/apt/sources.list.d/koha.list > 12 sudo apt-get update > 13 clear > 14 sudo apt-get install koha-common > 15 clear > 16 sudo apt-get install lynx > 17 clear > 18 sudo a2enmod rewrite > 19 sudo a2enmod cgi > 20 sudo service apache2 restart > 21 systemctl restart apache2 > 22 sudo koha-create --create-db koha > 23 sudo koha-passwd libraryname > 24 sudo koha-passwd koha > 25 gedit /etc/koha/koha-sites.conf > 26 nano /etc/koha/koha-sites.conf > 27 nano /etc/apache2/sites-enabled/koha.conf > 28 nano /etc/koha/koha-sites.conf > 29 sudo nano /etc/apache2/ports.conf > 30 sudo systemctl apache2 restart > 31 sudo service apache2 restart > 32 sudo a2dissite 000-default > 33 sudo a2enmod deflate > 34 sudo a2ensite koha > 35 sudo koha-passwd koha > 36 sudo koha-email-enable koha > 37 sudo koha-translate --list --available > 38 clear > 39 sudo koha-translate --install ml > 40 sudo koha-passwd koha > 41 koha-remove koha > 42 sudo koha-removve koha > 43 sudo koha-remove koha > 44 mysql -u root -p > 45 mysql -u root > 46 mysql -u root -p > 47 users > 48 groups > 49 mysql > 50 mysql -u root -p > 51 sudo a2dissite koha > 52 sudo rm -vrf /etc/apache2/sites-available/koha > 53 sudo rm -rvf /etc/apache2/sites-enabled/koha > 54 sudo update-rc.d -f zebra-server remove > 55 sudo update-rc.d -f zebraqueue-daemon remove > 56 sudo rm -rv /etc/init.d/zebra-server > 57 sudo rm -rv /etc/init.d/zebraqueue-daemon > 58 sudo rm -rvf /usr/share/koha > 59 sudo rm -rvf /var/log/koha > 60 sudo rm -rvf /var/lib/koha > 61 sudo rm -rvf /var/lock/koha > 62 sudo rm -rvf /var/run/koha > 63 sudo rm -rvf /etc/koha > 64 sudo mysql -uroot -pcdcdit > 65 sudo deluser --remove-home kohaadmin > 66 sudo deluser --remove-home koha > >sudo apt-get install --reinstall koha-common > >sudo koha-create --create-db cdclib >User cdclib-koha already exists. > >sudo chown mysql.root /var/log/mysql/error.log && sudo chmod 640 /var/log/mysql/error.log >sudo nano /etc/koha/koha-sites.conf > >Before setting up Koha, we need to make some basic settings in /etc/koha/koha-sites.conf. It is a question of determining the domain under which Koha and OPAC (the website where the user can search the library and login to their account) can be reached later. It is composed as follows: > > OPAC: library.domain.tld > Koha-Intranet: library-intra.domain.tld > >To do this, we open the file and change the following parameters: > > DOMAIN â here we enter the main domain, e.g. â.my-school.orgâ. > INTRASUFFIX â default â-intraâ, e.g. library-intra.my-school.org > >Edits in koha-sites.conf >DOMAIN=".cdc.org" >INTRAPORT="8080" > >$ sudo a2enmod rewrite >$ sudo a2enmod cgi >$ sudo service apache2 restart > >$ sudo a2enmod deflate >$ sudo a2ensite cdclib >$ sudo service apache2 restart > >$sudo a2dissite 000-default [enable OPAC] >$sudo service apache2 restart > >$ sudo nano /etc/hosts >... >192.168.1.10 cdclib.cdc.org >192.168.1.10 cdclib-intra.cdc.org >... > >Base Installation > >http://cdclib-intra.cdc.org > >OPAC: library.domain.tld >Koha-Intranet: library-intra.domain.tld >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 22017
: 83343