Monthly Archive for January, 2007

Quick How-To: Install NFS Server & Client

nfs.png

In this tiny how-to I’ll explain you how to setup a machine as a NFS server and an other one as a client. This example was written based on my experiences on Mandriva, but all commands should almost be the same for other distributions.

First, on the server, install nfs-utils:

urpmi nfs-utils

The nfs-utils package provide a daemon for the kernel NFS server and related tools. It is a much higher level of performance than the traditional Linux NFS server used by most users.

Then edit the /etc/exports file to add the list of the local folders you wqnt to share:

[root@localhost ~]# cat /etc/exports
/mnt/hdd *(rw,insecure,all_squash)

Then, to apply change, restart the NFS server:

/etc/init.d/nfs restart

In this example I simply wanted to share the /mnt/big-disk directory and all its sub-folders with anybody, with read and write access. I did this because the server was in a closed LAN, with only one client, that’s why no security, authentification or credentials to manage.

By the way, on the server, the only required services to activate at startup are the following:

  • nfs
  • nfslock
  • portmap

On client side, you also need to install nfs-utils, in order to benefit nfslock:

urpmi nfs-utils

The latter is absolutely not required, but if it’s a good idea to have it on the client side.

Then to auto-mount the distant shared folder, add the following line to your /etc/fstab file:

192.168.1.22:/mnt/hdd /mnt/distant-hdd nfs user,noatime,rsize=8192,wsize=8192,soft 0 0

Important parameters of the line above are:

  • 192.168.1.22 = IP adress of the NFS server,
  • /mnt/hdd = path of the shared folder on the server,
  • /mnt/distant-hdd = local folder where the shared folder will be mounted.

Then, you have to modify services on the client to change their default activation state.

Following services must be started at boot:

  • nfslock
  • netfs
  • rpcidmapd

Services that must should be inactivated at boot:

  • portmap
  • nfs
  • rpcsvcgssd

Comment Ouvrir un Boîtier / Disque Dur Externe SilverTouch ?

boitier-externe-silvertouch-etape-0000 Voici un petit didacticiel photo afin de vous montrer, étape par étape, comment ouvrir un boîtier externe “SilverTouch”. Acheté il y a quelques mois chez MacWay, j’ai maintenant besoin du disque dur de 320Go afin de l’intégrer dans le RAID 5 de mon serveur. Attention: ces manipulations annulent la garantie !

boitier-externe-silvertouch-etape-0001

boitier-externe-silvertouch-etape-0002

boitier-externe-silvertouch-etape-0003

boitier-externe-silvertouch-etape-0004

boitier-externe-silvertouch-etape-0005

Every Sky is Blue…

By randomly browsing the net, I’ve found a cloud photo from Croatia which look like the one I put as a header of this blog.

every-sky-is-blue

Of course the picture is not the same, because my clouds are from North of France. Just a funny coincidence…

Mandriva 2007.0 Screenshots: 3D Desktop

For some months, I own a Samsung Q35 laptop which is powered by a Mandriva 2007.0.

As describe in its technical specification this machine include an Intel GMA 950 GPU. lspci give us more details:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

This chipset is recognized out of the box by drakconf and thanks to this GUI, I was able to setup X.org with AIGLX in no more than 2 clicks !

Mandriva 2007.0 : Drakconf, a GUI to setup 3D Desktop

Here are some screenshots of the resulting 3D desktop:

glxgear-pseudo-benchmark.jpg

mandriva-20070-3d-desktop-video-and-transparency.jpg

mandriva-20070-3d-desktop-video-and-window-flicker.jpg

mandriva-20070-3d-desktop-video-expose-like-panel.jpg

mandriva-20070-3d-desktop-video-and-desktop-chooser.jpg

mandriva-20070-3d-desktop-video-and-desktop-cube.jpg

opengl-software-and-3d-desktop.jpg

opengl-software-and-3d-desktop-flicker-bug.jpg

As you can see there is still some bugs but I had to test many softwares to find one which had problems with the 3D desktop. Except Celestia, everything was working as usual. Beside this, I just had to redefine some shotcuts in Compiz (to match the default KDE shortcuts) and I was feeling at home ! :)