PHP 5.3 : Configuration par répertoire basée sur des fichiers .ini – Pascal MARTIN (n+1).zéro

php.ini : Sections PATH et HOST La seconde nouveauté au niveau de la configuration de PHP, toujours en mode CGI, est l’ajout du support des sections PATH et HOST, utilisables dans le fichier php.ini. Section PATH Il est possible, à partir de PHP 5.3, de définir dans le fichier php.ini système des valeurs de directives […]

Routage IProute 2

http://irp.nain-t.net/doku.php/100iproute:020_iproute2 Mise en place d’une règle de routage Dans ce qui suit, la machine qui va servir de passerelle miroir s’appelle « saturne x. La liste des tables qui existent sur votre machine se trouve dans le fichier /etc/iproute2/rt_tables. Vous ne pourrez pas créer de règles (rules) associées à une table qui n’est pas référencée […]

Using ODBC in the core – FreeSWITCH Wiki

2. Install the unixODBC driver You will need to obtain the ODBC for your chosen database. Instructions for obtaining the drivers for MySQL or PostgreSQL are provided below. For MySQL: sudo apt-get install libmyodbc For PostgreSQL sudo apt-get install odbc-postgresql 3. Configure /etc/odbc.ini & /etc/odbcinst.ini Add the following with the correct information into your odbc.ini […]

Lindqvist — a blog about Linux and Science. Mostly.: Compiling kernel 3.4 on debian

Compiling kernel 3.4 on debian The steps are the usual ones. At this point compiling your kernel is perhaps more of a hobby than a necessity to most people, unless you happen to have some fancy piece of hardware that’s about to become supported. It’s not difficult, so there’s no reason not to give it […]

Asterisk, debian et crosscompiling

Sous un Chroot 32 bits crée avec debootstrap prendre les sources d’asterisk, et utiliser : ./configure –build=i386-linux puis make et la on fait un checkinstall ( paquet à installer avant ) zou a un un .deb du dernier asterisk pour un i386

Running a Jabber server under Debian with eJabberd – movieos

DNS SRV records If the A record for example.com doesn’t resolve to your server you can still run a server for example.com by pointing DNS SRV records to your server. In fact, you should do this anyway, in the same way that your email will arrive if the A record for your domain points to […]

Being Nice on a Linux Box – Process priority with ‘nice’ & ‘renice’ – Nimal’s Weblog

Being Nice on a Linux Box – Process priority with 'nice' & 'renice' – Nimal's Weblog. Problem (I had): Wanted to run a VirtualBox on a RHEL 4.7 Linux server which is shared by someothers. But as some other processes took more CPU, the VirtualBox performance was bad. So I wanted to increase the priority […]

SSH: bad ownership or modes for chroot directory » ZedTuX On R00t

chroot directory 13 avril 2010 par zedtux Laisser une réponse » Si vous donnez à un utilisateur un dossier home partagé (le dossier appartient à un groupe, et plusieurs utilisateurs peuvent y accéder), et que vous avez le message bad ownership or modes for chroot directory dans les logs de Linux, c’est que, comme dis […]

Increase the speed of Linux Software RAID reconstruction | MDLog:/sysadmin

Increase the speed of Linux Software RAID reconstruction If you are in a situation where you sit in front of the console (or on a remote ssh connection) waiting for a Linux software RAID to finish rebuilding (either you added a new drive, or you replaced a failed one, etc.) then you might be frustrated […]

With a Little Help from my Friend | How to recreate root account in MySQL

Today I was trying to log in to mysql database administration on one of my hosting machines and as I was getting ‘permission denied for user rott@localhost’ I tried to fix the root account and reset its password. But I wasn’t successful and later on I realized, that the root account was deleted from the […]