Imagehosting Maintenance
Scheduled Maintenance 02/1/2009 from 1:00-03:00 CET
You may not connect or can have problems with loading images :-) thank you for your patience.
ORION.janforman.com virtual server may be down for some time.
Scheduled Maintenance 02/1/2009 from 1:00-03:00 CET
You may not connect or can have problems with loading images :-) thank you for your patience.
ORION.janforman.com virtual server may be down for some time.
There are two kernels (bzImage and bzSafe), bzImage is experimental one and bzSafe is default.
Copy your testing kernel to bzImage and run # grub-set-default 1
After rebooting your new kernel is trying to boot, if anything goes wrong bzSafe is selected after new reboot.
If you like new kernel, simply copy bzImage to bzSafe …
– This is very friendly grub.conf for server –
title=Kernel Safe
root (hd0,1)
kernel /boot/bzSafe root=/dev/hda2
savedefault
title=Kernel Experimental
root(hd0,1)
kernel /boot/bzImage root=/dev/hda2
savedefault 0
– This is very friendly grub.conf for server –
Change (hd0,1) and root=/dev/hda2 to suit your system configuration, have fun ;-)
Server oriented optimalization. Be careful this is not 100% RFC compatible, but working nice on my servers
// lower MTU for some connections, possible values are
// 1400 (safe), 1436, 1492
// 9000 for 1GBit connections (for less interrupts per second :-)
# Flush NAT rulez
iptables -t nat -F
# Set DNAT and accept it only from PUBLICCLIENTIP at WANPORT
iptables -t nat -A PREROUTING --src PUBLICCLIENTIP --dst PUBLICROUTERIP -p tcp --dport WANPORT -j DNAT --to-destination LANIP:LANPORT
# Set SNAT for port LANIP/LANPORT
iptables -t nat -A POSTROUTING -p tcp --dst LANIP --dport LANPORT -j SNAT --to-source LANROUTERIP
— There are 2x NATs (Source,Destination) in this example, but in most cases you need this, because server on LAN IP must send data to internal IP of the router (not to default gw).
Crystal clear code (only PHP engine used – PERL free :-)
www.syscp.org
Apache, Lighttpd, Awstats, Courier, Proftpd // Gentoo Supported