How to install NIVIDIA drivers on Fedora 17

Recently i felt the need to upgrade the video card to an NVIDIA GT610 on my Fedora 17 system and with that thought installing the proprietary drivers might be a good idea. Lucky for me rpmfusion provides the drivers I am looking for installation. First step is to make sure your are at the latest kernel, so run $ sudo yum update kernel\* selinux-policy\* and reboot after completed. Second step is to make... read more

How To Setup and Use NFS on RHEL 5/6

I know this is probably old hat for a many out there but there are many newbies out there and even a few crusty admins that need to know, or be reminded how to setup NFS (Network File Sharing) to export and share files / directories on Linux systems. There are several services that need to be running for NFS to work properly. They are portmap, nfs and nfslock. Enable the services and start them using... read more

How to set a Directory Sticky Bit in Linux

There are times on Linux / Unix that you need to set the permissions on a directory so that only the owner and root can delete / rename files or sub-directories in the directory. This is true by default with the /tmp directory. This is commonly referred to as the sticky bit. If you want to keep the permissions the same on the directory and just add the sticky bit you can do this by using the chmod command... read more

How to lock down files in Linux using chattr

As system admins there is always a few trouble users that keep changing files we don’t want them to, such as /etc/resolv.conf. We can do that using the chattr command. Here is the file with no flags using the lsattr command. lsattr – list file attributes on a Linux second extended file system $ lsattr resolv.conf ————-e- resolv.conf So lets lock down the file using -i... read more

How To Disable fsck at boot on RHEL

Recently ran into the need to disable fsck on a large filesystem at boot. This is not recommended to do by RedHat but in this case it was a evil that had to be put in place with the caveat of making sure to manually run fsck at a later time. According to RedHat: Red Hat does not typically suggest disabling the on-boot fsck except in situations where the machine does not boot, the file system is extremely... read more

« Previous Entries Next Entries »