It is always better to follow the instructions on the wiki, as they are always more current (patches take longer to get into master). For example, in your script you have the old MySQL security tweak, but it is commented out. The new tweak: sudo mysql_secure_installation
I do not recommend using a single step install script. This makes it more difficult to help you fix your problems when something goes wrong.
DP Tripathi schreef op wo 27-05-2015 om 11:53 [+0530]:
> Just follow the instructions.
Some pretty minor issues to start with:
Why does it do this:
sed -e 's/ident//; s/sameuser/trust/' /etc/apache2/ports.conf.dpt > /etc/apache2/ports.conf
sed -e 's/ident//; s/sameuser/trust/' /etc/mysql/my.cnf.dpt > /etc/mysql/my.cnf
sed -e 's/ident//; s/sameuser/trust/' /etc/perl/XML/SAX/ParserDetails.ini.dpt > /etc/perl/XML/SAX/ParserDetails.ini
also, rewriting the ParserDetails.ini hasn't been needed for a long
The code does stuff on port 8000, but the messages talk about port 8080.
I think in general 8080 is the more common port to set up secondary
The last echo writes and then immediately opens an editor to the file,
so you wouldn't know what you need to do with it. If it did show the
message, it would ask them to change the port, and then open firefox,
assuming that it hadn't been changed. Also, if they did change it, it
now wouldn't match the "Listen" line added near the top.
This looks like a reasonable quick-start to get a Koha server up,
though. It won't give you nice things like name-based addressing that
you'd probably want in a production server, but they'd be easy enough to
add on after the fact.