Translate

Image of Beginning Google Maps API 3
Image of Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series)
Image of Linux Kernel Development (3rd Edition)
Image of Operating System Concepts

Determining Linux Distribution Name and Release

One of the most annoying things about Linux is the inability to easily determine the name and release number of a Linux distribution from with an application. No, contrary to what a lot of people think, uname does not provide either of these bits of information. The best place to find this information is in the /etc/distribution-release file where distribution is replaced by the name of the distribution. This file should contain a single line in the format: Distribution release x.x (Codename) where distribution can be a single word like CentOS or a few words like Red Hat Enterprise Linux.

Install NFS Server on SUSE Linux 11

Coming from a Red Hat Enterprise Linux background, I recently had to install and configure an NFS server on a SUSE Linux 11.2 platform and was a bit surprised to find that the NFS server package was called nfs-kernel-server instead of just nfs-server or just nfs. Here are the steps to install and start up the NFS server: # yast2 -i nfs-kernel-server # or zypper install -y nfs-kernel-server # chkconfig –add nfsserver nfsserver 0:off 1:off 2:off 3:on 4:off 5:on 6:off # /etc/init.d/nfsserver start Starting kernel based NFS server: idmapd mountd startd nfsd sm-notify done # service nfsservice status Checking for