
|
Apache Tuning (with Drupal in mind!)My best solution for most LAMP's is the following, I see that a lot of administrators just using apache as-is Php and drupal: You can use php compiled in apache, but then you can only work with a prefork! I now some of you have enough resources to buy GB's of memory But I don't If I calculate (I now I can't but I use expr) I reserve 128MB for the system so there is 384Free @a rate of 20MB/worker I have space for 19 a 20 available connections So here is my Apache Tuning with no extra resources in mind.
Is your windows full of crapMy way of cleaning-up your infrastructure.
Why use Subversion as a administrator?As Consultant I see many environments administrated by several people, Most of the time when something fails to work the first thing they call WTF WHO DID ... (after seeing the logs) Therefor using svn/Subversion can save a lot of head bangs
Ubuntu Release partyLast Saturday I had a talk about "Linux system introduction" at a Ubuntu release party for Intrepid in Hasselt.
The presentation
Fraud in Google AdWords News Bulletin
YOU'VE BEEN WARNEDI did a small test to watch to the site The mail
The link in opera (nice protection)
The link in firefox
The real site of google AdWordsThere is no much differences between the false and real site! except the URL
Book memeMeme from Kris 1. Grab the nearest book. Setting Up Linux PartitionsLinux's fdisk lets you specify the size of the partition either by supplying an sector number or by giving a size in megabytes. Linux third edition Unleashed (Tim Parker)
Why I use openvpnBecause I'm Tired to manually connect/reconnect over and over again to my servers, I have never had any problems when using openvpn For those who want to try this I will wrote a small howto
kvm/qemuWhen I ran kvm/qemu on intrepid (I did not test on other os/version) there was a nice network issue. Every-time I switched to another workspace or minimized my running kvm (now it was lenny-b2) I saw that the network traffic reduced to 0. After switching many times (cos it first looks unbelievable) it was true! It uses the user-space as default network and I don't like that. Edit /etc/network/interfaces (as root or sudo) auto br0
iface br0 inet static
bridge_ports dummy0
bridge_maxwait 0
address 192.168.99.1
netmask 255.255.255.0sudo /etc/init.d/networking restart (just restart network and your dummy0 and your bridge is available) brctl show bridge name bridge id STP enabled interfaces br0 8000.7630f790bddb no dummy0 enable ip forwarding for your kernel sudo sysctl -w net.ipv4.ip_forward=1
change your firewall script if nessessary # MASQ voor dummy0 kvm $IPTABLES -t nat -A POSTROUTING -o eth0 -j MASQUERADE $IPTABLES -t nat -A POSTROUTING -o wlan0 -j MASQUERADE $IPTABLES -A FORWARD -s 192.168.99.0/24 -j ACCEPT $IPTABLES -A FORWARD -d 192.168.99.0/24 -j ACCEPT Edit /etc/kvm/kvm-ifup #!/bin/sh BRIDGE=br0 ifconfig $1 0.0.0.0 up brctl addif $BRIDGE $1 Edit a startscript for your guest
MicrosoftWHO??? nice one: Russian is giving the right direction of promoting free software by force the schools to use it.
IONICEI now some Linux-admins are already using nice on Linux for a long time Now sins a while there is also ionice if you use cfq scheduler and have a kernel after 2.6.13 Did you complain when you launched a backup-script or a filesync that your system becomes unresponsive or very slow #!/bin/bash ionice -c3 -p$$ renice 20 -p$$ .....
There are 3 main options There is also for -c2 and -c1 8 prio's The default is Best effort prio 4 Watch out with the real-time option
|
Search |