Posted on August 31, 2010, 17:49, by rmichel, under
Linux,
Work.
Some linux distribution are shiped without a config for the catalina.out (Tomcat application server) $ cat /etc/logrotate.d/tomcat /var/log/tomcat/base/catalina.out { compress copytruncate create 644 tomcat tomcat rotate 30 size 4M } The catalina.out will be rotated after 4 mb and stored for 30 days (/var/log/tomcat/base/catalina.out.1; /var/log/tomcat/base/catalina.out.2.gz and so on)
Posted on August 27, 2010, 15:23, by rmichel, under
HowTo,
Linux.
You getting from your ISP a subnet like this 172.30.26.16/28, and your router has the ip 172.30.26.17 ! You need to enable the ip forwarding in the kernel sysctl -w net.ipv4.ip_forward=1 And we need to enable proxy arp! This is necessary because your router must answer all arp request for hosts other than itself sysctl [...]