Posts tagged GNU/Linux
Ubuntu 8.10 – Intrepid Ibex is out
That’s now official, Ubuntu 8.10 Release is out, codename Intrepid Ibex.
If you are really in a hurry, you can already do an update, but be aware that it will take quite some time. I did the upgrade yesterday evening (GMT+2) and it took me more than 5 hours to download all packages.
I must say that there is no visible *big* change, appart from tabs in nautilus.

You will also notice in this screenshot the eject icon on removable devices, really usefull and time saving.
One of the best thing to me is better support for my DVB-T Tuner and integrated webcam. This means I don’t need to install additional drivers for my DVB Tuner and it won’t break my webcam.
Here is a short list of changes for this version:
- Kernel 2.6.27
- Xorg 7.4
- Samba 3.2 with ipv6 support and secure transfer
- Network Manager 0.7 – works much better than previously
- Firefox 3.0.3
- Gnome 2.24
- Improved Shutdown screen
One of the things I don’t like is it doesn’t integrate OpenOffice3.0.
Stay tuned as I will give you more feedback when I’ll have tested it more throughoutly.
Nautilus, tabs at last
This is now official, Nautilus will allow tab navigation for its next release. This is was one of the most missing feature in Nautilus compared to its major competitor, konqueror.
This new release will be included for next Gnome release, which will be 2.24 and will be included with most distributions, including Ubuntu Intrepid Ibex.
Be ready to be able to use this long awaited featured. I have been waited it for so long now, and it will really save my life !

Source: Cedynamix
Wine 1.0 is out
After 15 years of hard work, The Wine team is giving us the first non beta release of the famous project. This version is numbered 1.0 and will make Wine definitivly quit the Beta world, so loved by Web2.0 applications…
It’s been awaited for so long, but even though it’s been used by many people to play games or run their Windows Apps under GNU/Linux (such as Photoshop, MS Office, etc…). But for the past monthes, the project had accelerated their development thanks to the Google Summer Of Code.
Of course, there is a long way to perfect compatibility, but none the less, we can keep this day as a great day for us Linux users because it’s Wine that gives us the chance to use applications for the other world
As long as editors like Adobe will refuse to publish their software under GNU/Linux, we will have to use Wine.
Gamers will be happy with this release because most of the bugfixes are games related.
Anyway, let’s wish all the best to this great project and of course, to GNU/Linux
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
Rotate a video under Linux
These days we are filming a lot our two daughters, in fact the youngest is now walking and we decided to collect as much videos for family as we can because we will move to Canada before the end of this year. Problem is, videos are taken using a Digital camera (Nikon E5200) and most of the time we turn around the camera so that our daughters can be filmed from the bottom to the top. But when looking at the video on a computer or a tv screen, we have to turn our heads around to see it.
The other “problem” is that at home, there is only GNU/Linux computers (2 laptops and a server), therefore, I needed to find a software running under GNU/Linux and allowing to do some basic video manipulation. That’s where Avidemux comes in handy. Just for information, Avidemux also exists under Windows and Mac OSX.
To install it, under Ubuntu, nothing more than a simple:
sudo apt-get install avidemux
Once installed, you will just need a few steps to turn around your video, but also using one of the numerous filters included with the software, such as crop, resize, colors, contrasts, sharp, etc…

After opening your video, you just need to add the Rotate filter and choose the correct angle (you can check using the preview button that everything is correct):

Once you chose the filter, you will have to re-encode the video so that the filter is processed. To do so, you will have to choose a new video format on the left of the main window. One very interesting thing with Avidemux is it’s capacity to create .flv videos, so that you can include your own videos on your website using a flash applet.
After the video processing is over, you should get something like this:

Before :
After :
Ubuntu 8.04, mon test
Et voila, ce week-end ayant l’occasion d’acheter mon nouveau portable (Acer Aspire 5715-4713), j’ai décidé de passer directement à la nouvelle Ubuntu 8.04 LTS (n’ayant aucune données à perdre, je n’avais rien à craindre).
Première étape, cette fois-ci je n’ai pas opté pour l’installation directement, mais plutot par un démarrage sur le LiveCD puis installation si tout semble fonctionner. Donc à l’écran de démarrage, première chose qui continue de m’ennuyer, choisir la langue de l’interface, j’aurais préféré que cela reste optionnel.
Ensuite, le boot se passe parfaitement bien, relativement rapide (bien plus que Vista en tout cas). L’interface une fois chargée ne change pas tellement, les couleurs sont les mêmes, le fond d’écran arbore un magnifique Héron toujours dans les couleurs marron/orange d’Ubuntu.
Tout fonctionne, que ca soit compiz, le son, la résolution parfaitement choisie. Seul hic, toujours pas de Wifi par défaut, la faute de mon chipset AR5007EG pas encore reconnu par défaut, il existe bien un madwifi qui le supporte, mais… comment le télécharger sans réseau… Bref, pas grave, je lance l’installation tranquillement. Partitionnement décidé :
- 9Go pour le système
- 2Go de swap
- 2Go pour le /home
- 120Go restant pour l’espace de données.
- Le reste pour Vista… vu que j’ai payé la licence
Manage your Photo collection under Linux
As an Amateur photographer, and being a GNU/Linux user, I need a great piece of software to manage my photo collection with over 13589 shots. That’s where those two applications comes in handy : F-Spot(gnome) & Digikam(kde).
I’m not a big fan of F-Spot, sadly for me, as it’s Gnome’s integrated photo management app. I’m a Digikam user, which forces me to have kde libs installed.

Ubuntu 8.04 Installation
Et voila, hier soir après avoir téléchargé l’iso de la derniere Ubuntu, je l’ai installé dans la foulée.
L’installation s’est plutôt bien passée, mis à part que j’ai fait sauter une partition de données involontairement… ce n’est pas la faute de l’installeur, je tiens à le préciser, mais plutôt celle de ma précipitation à vouloir installer cette nouvelle version. Résultat, je perds 5 Go de données (non importantes, donc ca me purge le pc surtout), mais surtout j’ai les deux version d’installées sur le portable. Vous le verrez par la suite, finalement je suis content de ça
Donc, première étape de l’installation, il propose de choisir sa langue dès le démarrage du cd, ce qui est relativement traumatisant, car personne n’as demandé une popup qui prend la taille de l’écran avec 300 élements affichés…
A ce niveau, j’opte directement pour l’installation, plutot que de lancer le liveCD. Ce fût ma première erreur, car du coup je n’ai pas pu vérifier quelle était la bonne partition pour le système… mais peu importe, je choisis la bonne partition, modifie les montages sur les autres partition (/home, /media/documents (celle qui a disparue), /media/donnees). Bonne nouvelle, pendant l’installation il détecte mon ancienne install et récupere donc le user, ses paramètres et son password.
L’installation se passe sans autre question, et finalement, il reboot avec le nouveau système.
Premier problème, pas de compiz activé… Il me semblait que pourtant c’etait censé être livré avec. Bref, je me dit que les drivers video ne sont pas disponible je vais donc tenter de les installer. Deuxième problème, ndiswrapper n’est pas non plus installé par défaut. Je mets donc le cd dans le lecteur et récupere le paquet qui est sur le cd. J’installe les drivers réseau, tout se passe mieux du coup.
Allez, j’active les dépots, mais là, problême, trop de monde sur les serveurs, impossible d’installer quoi que ce soit, comme à chaque nouvelle release.
Bon soit, j’ai fini par faire les installations ce matin tôt, car moins de monde sur les serveurs fr. J’installe donc deux ou trois paquets dont xserver-xgl qui est nécéssaire pour avoir compiz avec ma carte graphique (ati radeon mobility). Puis… mais… ou est cet icône de configuration des écrans… il a disparu !
Et oui, pas de raccourcis vers displayconfig-gtk dans le menu système… Pas grave, un petit coup de terminal et c’est chose réparée. Sauf que dans la case drivers vidéo, c’est marqué … none… Je veux bien qu’Xorg détecte tout seul, mais comment on change quand on est pas satisfait de son choix ?
Bref, peu de packages installés par défaut, pas très utilisable pour une fresh install, je sais qu’il est recommandé de faire une update pour être tranquille, et c’est la que je suis content d’avoir installé sur la mauvaise partition, car je me ferais l’update quand les serveurs seront moins pleins… ou pas d’ailleurs… Fedora ?
Linux, Ubuntu 8.04
Et voilla, c’est chose faite, la nouvelle version d’Ubuntu viens de sortir, de son petit nom Hardy Heron (Le héron hardi). Il s’agit d’une version LTS (Long term support), ce qui pour les non anglophones signifie support a long terme. En effet, la version desktop sera supportée officiellement par Canonical jusqu’en 2011, et la version serveur jusqu’en 2013.
Elle inclue par défaut :
- Gnome 2.22
- Cheese, qui est une application de “modification” de l’image vue par votre webcam
- GVFS qui remplace Gnome-VFS
- PulseAudio pour la gestion du son
- PolicyKit qui permet aux administrateur de gérer les politiques de sécurité de la machine
- Un nouveau client bittorrent, Transmission (qui est quand même bien mieux fichu que le client par défaut de la 7.10)
- Brasero pour la gravure de CD/DVD
- Wubi, un installeur graphique pour windows…
Allez, je vais faire ma mise à jour et je vous promet de faire un article avec mes impressions sur cette nouvelle release.
[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.