Archive for juli, 2007

Disable ping on linux

donderdag, juli 19th, 2007

Almost all people starting with linux want to know after a while how to stop ping to prevent floods, well here is the solutions: echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all Only one thing left to do, you also want to get this after a reboot, so put in /etc/sysctl.conf.: net.ipv4.conf.icmp_echo_ignore_all = 1

Fedora Core 2 repository

zondag, juli 8th, 2007

Today i found that the mirrors in usa not working for some reason on a fedora core 2 system of a customer, so i searched and found a newone and placed in /etc/yum.conf: [base] name=Fedora Core $releasever – $basearch – Base baseurl=$releasever/$basearch/os #baseurl=$releasever/$basearch/os/ [updates-released] name=Fedora Core $releasever – $basearch – Released Updates baseurl=$releasever/$basearch #baseurl=$releasever/$basearch/ Hopefull […]

Backup mysql with many tables >1000

zaterdag, juli 7th, 2007

When your mysql has many tables you could get an error of LOCK TABLES to solve this you can try two things: 1) use the option –skip-lock-tables in mysqldump 2) edit /etc/my.cfg and add following line under category [mysqld]: open_files_limit=16384 After 2 restart mysql!

Could not bind

donderdag, juli 5th, 2007

login su in server #fuser 443/tcp 443/tcp: xxxx yyyy zzzz <- proceses using 443 #kill -9 xxxx yyyy xxxx #service httpd start