Sous debian 64 bits mkdir /home/tmpioncube cd /home/tmpioncube wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz && tar -zxf ioncube_loaders_lin_x86-64.tar.gz && cd ioncube && cp ioncube_loader_lin_5.3.so /usr/lib64/php5/ echo « zend_extension=/usr/lib64/php5/ioncube_loader_lin_5.3.so » > /etc/php5/conf.d/ioncube-loader.ini et sa roule
Introduction to SVN : importing a new project | Sébastien Wains
Create a new repository : $ svnadmin create –fs-type fsfs /home/user/svn Suppose you have an existing project you wish to import in SVN : $ svn import /path/to/project/ file:///home/user/svn/project -m ‘Initial import’ Checking out your project : $ svn checkout file:///home/user/svn/project /home/user/dev/project A version controlled copy of the project is now available under /home/user/dev/project/ You […]
Varnish , un de plus
Bon toujours dans l’idée que l’on peut améliorer la vitesse d’un site, pour faire plaisir à M Google entre autre, Je me lance dans varnish . Donc Debian squeeze pour ne pas changer : Ajout du dépot de la 3.0 dans l’apt sources deb http://repo.varnish-cache.org/debian/ squeeze varnish-3.0 aptitude update, aptitude upgrade et aptitude install varnish […]
Ubuntu: How to Force a Silent Cron | The Rugged Rock of Craig
Ubuntu: How to Force a Silent Cron Posted on Tuesday, January 4, 2011 by Craig Lotter By default, cron actions that produce output generates emails that get sent to the system administrator. If we don’t particularly want this behaviour, we need to terminate our function calls with a specific character sequence, which looks as follows: […]
Renvoyer en traitement le contenu d’une mbox linux
formail -s /usr/sbin/sendmail -v -t -oiee < nom de la mbox ( Souvent dans /var/spool/mail )
Tune apache2 for more concurrent connections – Open-Xchange
The problemBy default apache2 is configured to support 150 concurrent connections. This forces all parallel requests beyond that limit to wait. Especially if, for example, active sync clients maintain a permanent connection for push events to arrive.The solutionThis is an example configuration to provide 800 concurrent connections. Please ensure that your apache is using the […]
Rsync, tar, cp, ssh
scp scp or secure copy is probably the easiest of all the methods, its is designed as a replacement for rcp, which was a quick copy of cp with network funcationability. scp syntax scp [-Cr] /some/file [ more … ] host.name:/destination/file -or- scp [-Cr] [[user@]host1:]file1 [ more … ] [[user@]host2:]file2 Before scp does any copying […]
Template for Generic Nagios Plugin | blog.jgriffiths.org
I love nagios it’s the perfect way to monitor linux. Monitoring command can be written in almost any language: nagios expects a exit code and a exit string and it works. I write most of my plugins in bash shell. Here is a generic plugin template: #!/bin/bash # Sanity check if [ $# -ne 2 […]