The new update was released as Kloxo-MR 6.5.0.f-2013080502.
What different with previous?. The answers are:
1. Change timestamp from 20130318XX (where XX = release number) to YYYYMMDDAA (where YYYY = year; DD = month; DD = day; AA = number)
2. Change lxphp + lxlighttpd to php52s + Hiawatha (read
http://www.hiawatha-webserver.org/)
3. Make dns server config also as template-based config (like web server config)
4. Bugfixes some issue (error 'socket' and etc).
5. For php-fpm, now using 'socket' instead 'ip:port'. To make sure in '/etc/sysctl.conf' have content 'fs.file-max = 209708'
Planning:
- add MaraDNS beside Bind and DJBDns
- add Hiawatha beside Apache, Lighttpd and Nginx
====================================
- For fresh install - the same as previous
- For update (especially if using djbdns as dns server):
1. Update kloxo-mr.repo:
cd /etc/yum.repos.d
rm -rf kloxo-mr.repo
wget https://raw.github.com/mustafaramadhan/kloxo/release/kloxo-mr.repo
2. Run this steps:
### update djbdns
yum update djbdns -y
### update for others
yum update
### if using 'cleanup-simple' need additional step with 'sh /script/fixdns'
sh /script/cleanup
### restart - maybe need 2x until no 'FAIlED' message
sh /script/restart-all
===================
Note:
- If have a problem with https/7777 access, change /usr/local/lxlabs/kloxo/init/hiawatha.conf with (already fixed since 2013080602):
# Hiawatha main configuration file
#
ServerString = Hiawatha for Kloxo-MR
ServerId = lxlabs
ConnectionsTotal = 2048
ConnectionsPerIP = 64
SystemLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-system.log
GarbageLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-garbage.log
MaxUrlLength = 65536
PIDfile = /var/run/kloxo-hiawatha.pid
BanOnGarbage = 300
BanOnMaxPerIP = 60
BanOnMaxReqSize = 300
KickOnBan = yes
RebanDuringBan = yes
#CGIhandler = /opt/php52s/bin/php-cgi:php
#ExecuteCGI = yes
FastCGIserver {
FastCGIid = PHP5
ConnectTo = /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
Extension = php
}
MimetypeConfig = hiawatha-mimetype.conf
Binding {
BindingId = port7778
Port = 7778
#Interface = 0.0.0.0
MaxKeepAlive = 180
TimeForRequest = 10,60
MaxRequestSize = 256
}
Binding {
BindingId = port7777
Port = 7777
#Interface = 0.0.0.0
MaxKeepAlive = 180
TimeForRequest = 10,60
MaxRequestSize = 256
#RequiredCA = /usr/local/lxlabs/kloxo/etc/program.ca
SSLcertFile = /usr/local/lxlabs/kloxo/etc/program.pem
}
Hostname = 0.0.0.0
WebsiteRoot = /usr/local/lxlabs/kloxo/httpdocs
StartFile = index.php
AccessLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-access.log
ErrorLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-error.log
TimeForCGI = 7200
UseFastCGI = PHP5
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
ErrorHandler = 404:/error/404.html
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html
VirtualHost {
RequireSSL = yes
Hostname = 0.0.0.0
WebsiteRoot = /usr/local/lxlabs/kloxo/httpdocs
StartFile = index.php
AccessLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-access.log
ErrorLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-error.log
TimeForCGI = 7200
UseFastCGI = PHP5
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
ErrorHandler = 404:/error/404.html
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html
}
and then restart kloxo with 'sh /script/restart'.
===================
Upload update to 2013080701 will make bind able to use for Kloxo-MR again!. Please using update kloxo-mr.repo inside /etc/yum.repos.d