Browsed by
Author: admin

Pound

Pound

Pound is a wonderful tool. It does just what you want, and does it good. Well, most of the time actually. Let me present it. Pound is made by a Swiss company named Apsis GmbH (http://www.apsis.ch/), and its purpose is to achieve 3 goals : – reverse proxy – load balancing – HTTPS front-end You don’t need to use all 3 features, but you might need it anyway. Don’t assume it can do other things : No caching, no webserver,…

Read More Read More

More loop devices

More loop devices

I have this very special server at work : a sunfire x4200 8 core 8GB RAM To use the full given power, I tried to install xen on ubuntu, but it were freezing all the time. It seems to be a “TAP” problem, but I couldn’t fix it. So I tried a Debian 5.0.3 dom0, and the problem is slightly different : now the domU won’t find its drives if I use “tap:aio”. Ok, go back to the old “file:”…

Read More Read More

Raid1 to Raid5

Raid1 to Raid5

My new HDD has just arrived ! 1 more terabyte to play with 😀 Now the funny part begins : here’s what I already have in my computer : – 1 x 500GB for all my operating systems – 2 x 1TB RAID1 for my documents $ cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid1 sdb1[1] sdc1[0]       976759936 blocks [2/2] [UU]       unused devices: My documents partition…

Read More Read More

Time

Time

Today I struggled with the time command. I wanted to use it in a bash script, so I checked the man page, where I found interesting stuff : $ man time time – run programs and summarize system resource usage SYNOPSIS time   [ -apqvV ] [ -f FORMAT ] [ -o FILE ] [ –append ] [ –verbose ] [ –quiet ] [ –portability ] [ –format=FORMAT ] [ –output=FILE ] [ –version ] [ –help ] COMMAND […

Read More Read More

Xargs

Xargs

Today I learnt a new command 😀 $ xargs Ok I’m a little bit lying : I knew it before but I was using it only to put several lines into one unique line, like this : $ ls |xargs Now, thanks to the new guy in front of me (the colorblind one), I will be able to replace a lot of “for” and ` ` by xargs 😀

Backup-manager

Backup-manager

I’m currently trying to find a backup program that fits my need. I found backup-manager, which seems to be easy to install, easy to use, and does what I want : filesystem backup in tarballs, incremential backups, even database backups or svn backups. On ubuntu, just aptitude it : sudo aptitude install backup-manager The config file is here : /etc/backup-manager.conf. Take the time to fill it correctly, it’s very well explained inside.

phpmyadmin & pagination

phpmyadmin & pagination

You’re crazy and you created more than 250 tables in your mysql server, and now you’re bored with this ugly and unergonomic pagination on phpmyadmin? I found the solution, and an easy one : just add this line at the bottom of your config.inc.php file : $cfg[’MaxTableList’] = 500; And that’s it ! now you can display your 500 tables at once ! However be careful, the more tables you display, the more time it will take each time, and…

Read More Read More

eleifend velit, odio ut elit. id neque. Praesent ut id, elementum