rhel ipv6

Posted by scottk on June 22, 2008 in Snippets, System |

/etc/sysconfig/network NETWORKING_IPV6=no /etc/modprobe.conf add: alias net-pf-10 off alias ipv6 off Stop the service: service ip6tables stop Disable the service: chkconfig ip6tables off

1

rebuild postfix virtual.db

Posted by scottk on March 28, 2008 in Snippets, System |

adding new info to the postfix virtual file and need to rebuild virtual.db: postmap virtual will create the virtual.db file from virtual

rhel5 via usb

Posted by scottk on March 7, 2008 in Sysadmin, System |

So I’ve got my spiffy new HP DL360 G5 unboxed and pieced together and then I realize that they don’t come with CD/DVD drives in the low end package, something I should remember by now. That means the DVD of RHEL5.1 I’d burned yesterday to make sure I was ready, is pretty much useless. I […]

listing your gems

Posted by scottk on February 6, 2008 in Ruby on Rails, System |

getting a list of gems becomes very important when you are running multiple servers with mongrel instances on them. Our environment I’ve been trying to go with a Beta, Stage and Prod environment for everything and Rails gets really mad when your module version doesn’t match what it expects, backwards compatibility doesn’t seem to be […]

block web request with iptables

Posted by scottk on January 31, 2008 in System |

add a rule to block port 80 web requests: /sbin/iptables -A INPUT -p tcp -s xxIPADDRESSxx –dport 80 -j DROP to remove that rule: /sbin/iptables -D INPUT -p tcp -s xxIPADDRESSxx –dport 80 -j DROP

list open connections

Posted by scottk on January 31, 2008 in System |

Using this command to list out number of open connections by IP /bin/netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n

Copyright © 2006-2024 SimpIT.com All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.