Posts tagged Featured
ZdMultilang version 1.2.5 is out !
Ok, I posted recently about an update that was coming, and honestly I didn’t think it will be ready that soon. But Pau Sanchez made a very nice addition to the plugin and there I was, integrating it to the core and making all the changes I planned before.
Before giving you the changelog, let me tell you this, I found a way to make translated permalinks work, but, this is very bad in term of SEO so it is not yet implemented. The way I implemented it for now makes these work :
http://blog.zen-dreams.com/fr/nouveau_post
http://blog.zen-dreams.com/en/new_post, that’s great
and finally, http://blog.zen-dreams.com/en/nouveau_post and that is not good at all as two different permalinks with the exact same content…
I’m trying to find a way to make it work properly right now, and even those who forked the plugin have this behaviour. I have my ideas so we may see a version 1.2.6 before Christmas, but probably not.
And now, here is the changelog.
The importance of a good system monitoring
Servers are the keystones of any organisation working with computers, and to ensure productivity, you must make sure there will be the fewest downtimes possible. To have a correct Level of service, one of the first things to do is to elaborate a monitoring plan.
Why server monitoring has to be performed?
This question might sound ridiculous, but it’s important to know the reasons why you should monitor your servers.
First, if you have plans for the future, then you must monitor your servers, monitoring will allow you to know how the present is and where to go.
- Disk Usage: How is you space used and how is it growing over time?
- Memory usage: How is your system memory used? Do you plan to have more users in the future?
- CPU usage: Will you need to upgrade the number of processors installed on the server if your number of users increases?
Monitoring will also allow you to prevent incidents, or at least identify them before your customers do. If you know how is going your server, you might notice a possible failure and take actions before it (for ex: /var nearly full, one of your process is going crazy, etc…). (more…)
Why stress testing applications ?
Stress testing is one of the most important part of development lifecycle as computers have taken a big part in our working life. Everybody working in an office is using a computer, and with that, software installed on it or shared over a network. Applications are probably going to be used by more than one person at a time and you must make sure that, whatever the number of users you have, the application will keep on working in an acceptable way.
We can define software in three categories, local, remote and web applications. (more…)
Extreme Makeover: WordPress Edition – Finding Inspiration
This post is the second of a series of posts called Extreme Makeover: WordPress Edition
Once you have decided the features you are looking form you should try to get some inspiration. Inspiration is very important to understand your niche and to find out what your audience would like to see in a Blog and what they do not expect. Of course, inspiration is not copying a blog, au contraire !
You will have to find what is best for you, take bits and pieces everywhere to make your own design unique !
Here are some specific places where to find inspiration (more…)
Extreme Makeover: WordPress Edition
This post is the first of a series of posts called Extreme Makeover: WordPress Edition
1 – List the good/bad things about your design
Before to go to far, you should make a list of all the features you want and all you want to get rid of from your current design.
Which basically means, what do you want to keep from your current design and what do you dislike ?
For example, you might want to get rid of that left sidebar and move it to the right, get a better search system but want to keep your great Archives page ! (more…)
High Availability
First, before to talk about the definition of High Availability, I’d like to introduce the notion of availability. A system is considered unavailable when it becomes unusable or even usable but with too limited functions.
There are many reasons for this and some of these are commonly called Single Point of Failure (SPOF), others are most of the time due to bad operations, or Murphy’s Law
High Availability is a global concept used to make the system globally available as much as possible, i.e., with the fewest downtimes possible. Prior to think your system architecture, you must define your Service Level Agreement (SLA). The SLA is the document where you define the availability of your system, may it be planned or unplanned, but also response times, and monitoring to be performed so that preventive actions can be taken.
(more…)
Shell script, how-to make them look better
When you program a shell script, it’s always usefull to have some message reporting immediatly such as OK or Error. So here is a little how-to get color in your shell scripts.
In order to do so, you just have to use ASCII characters within your command-line. This will make them more eye appealing.
The syntax is the following :
echo -e 33[X;Ym_TEXT_33[m
with X:
0-> normal color
1-> bright color
3-> dark color
4-> underlined text
7-> highlighted text
9-> strike through text
With Y being the code for the color :
30 = Grey
31 = Red
32 = Green
33 = Yellow
34 = Blue
35 = Purple
36 = Cyan
[Linux] Lighttpd webserver
In the world of open source web servers, you mostly talk about Apache, but the problem with Apache is that for development, it’s quite heavy and slower than other alternatives, such as Lighttpd. Even if in Lighttpd there is the word light, it doesn’t mean that it comes with fewer features. In fact, it’s far from the truth as light only stands for the small memory footprint and speed for static page serving.
Here is a list of some features available with Lighttpd :
Virtual hosts
Virtual directory listings
URL-Rewriting, HTTP-Redirects
Large File Support (64bit fileoffsets)
on-the-fly output-compression with transparent caching
deflate, gzip, bzip2
authentication : basic, digest
backends: plain files, htpasswd, htdigest, ldap
fast and secure application controlled downloads
Server Side Includes
User Tracking
FastCGI, CGI, SSI
Same speed as or faster than apache + mod_php4
Includes a utility to spawn FastCGI processes (neccesary for PHP 4.3.x) via FastCGI and CGI interface
load-balanced FastCGI (one webserver distibutes request to multiple PHP-servers via FastCGI)
chroot(), set UID, set GID
protecting docroot
strict HTTP-header parsing
Pure happiness for sysadmins and web developers. Lots of websites are already using it in a way or another, like YouTube, Wikipedia or even sourceforge.net.
Enough with the talk, let’s move to the installation, I’ll talk of the installation under Ubuntu, which is one of the most popular GNU/Linux distribution, and also the one that I personally use.
The first step is to install the packages using the apt-get command :
sudo apt-get install lighttpd lighttpd-doc libpcre3
Here you are, with your brand new Lighttpd installed. If with that installation you need to use mysql and php, you have to install these packages : mysql-common, libmysqlclient12, php5-cgi and even mysql-server if you need to host the database on the same server

In case you want to use php5, you need to activate the fastCGI module by issuing the following commands in a terminal:
sudo ln -s /etc/lighttpd/conf-available/10-fastcgi.conf /etc/lighttpd/conf-enabled/10-fastcgi.conf sudo /etc/init.d/lighttpd restart
Here you go, you have your lighttpd installed with php5 alongside.

Now, all you have remaining to do is to change your settings according to your needs. To do so, my advice would be to browse the official documentation here. Or even better, ask me in the comments here and I’ll try to answer as soon as possible.
Le système RAID
Le terme RAID signifie Redundant Array of Independent Disks, ce qui traduit veux dire : “Grappe redondante de disque indépendants“. Ce système sert principalement à fournir une redondance sur les volumes afin d’obtenir de hautes performances et/ou une grande sécurisation des données, pour cela, il utilise un nombre de disque important.
Il existe de nombreuses configurations possible via le RAID, de celles utilisées pour la sécurisation des données, à celle ayant pour objectif d’accélerer l’accès a celles-ci, et enfin celles cumulant les deux atouts.
Partager une imprimante Linux/Mac vers Windows sans SMB
Il n’y a pas très longtemps un collègue cherchait à partager son imprimante Mac sur son PC windows. Il faut savoir que Mac OSX depuis la version 10.2 utilise Cups pour la gestion des imprimantes, hors CUPS est aussi le système utilisé par Linux pour la gestion des imprimantes.
Le protocole utilisé par Cups pour le partage d’imprimantes est IPP qui est un protocole reconnu par les unix, mais ne l’est pas nativement par Windows. Il faudra donc installer un paquet supplémentaire dans votre windows pour qu’il puisse accéder a votre imprimante.
Vous trouverez ce paquet dans les outils additionnels de windows (Ajouter/Supprimer des programmes => Ajouter ou supprimer des composants Windows => Autres services de fichiers et d’imprimantes reseau) :
Une fois ceci effectué, il n’y a plus qu’à ajouter l’imprimante que vous aurez préalablement partagé sur votre “serveur” via l’outil d’ajout d’imprimante, en précisant bien le protocole et le nom par exemple : ipp://serveur/imprimante