How to enable NTFS support on CentOS Linux version 5 or 6? How do I mount ntfs partition under RHEL 5 or 6?
hat command I need to type to display Linux kernel version and other information such as Linux distribution name? How do I check Linux kernel version number?
I‘m CentOS Linux version 5.x user and I’d like to restrict execution of /usr/sbin/userhelper to console users only in xusers group?
How do I update / upgrade my kernel under Ubuntu Linux version 8.04?
Q. I’m using squid proxy server under CentOS Linux version 5. How to filter a particular MAC address under squid?
A. Not all operating system supports Mac address based filtering. For some operating systems. Squid calls these “ARP ACLs” and they are supported on Linux, Solaris, and BSD variants.
How do I set up ACL’s based on MAC address?
# vi /etc/squid/squid.conf
Local acl, section and append ACL as follows:
acl macf1 arp mac-address
acl macf2 arp 00:11:22:33:44:55
http_access allow macf1
http_access allow macf2
http_access deny all
Save and close the file. Restart squid server:
# /etc/init.d/squid restart
Q. How do I install ImageMagick software under Redhat enterprise Linux version 4 update 5?
A. ImageMagick is an image display and manipulation tool for the X Window System. ImageMagick can read and write JPEG, TIFF, PNM, GIF, and Photo CD image formats. It can resize, rotate, sharpen, color reduce, or add special effects to an image, and when finished you can either save the completed work in the original format or a different
one. ImageMagick also includes command line programs for creating animated or transparent .gifs, creating composite images, creating thumbnail images, and more.
ImageMagick is one of your choices if you need a program to manipulate and display images. If you want to develop your own applications which use ImageMagick code or APIs, you need to install ImageMagick-devel as well.
Use up2date command to install ImageMagick, enter ( <= RHEL 4 only):
# up2date install ImageMagick
OR use yum if you are using Fedora Core/CentOS/RHEL 5:
# yum install ImageMagick
Essential ImageMagick Hacks/Tips/Faqs…
Now use ImageMagick from command line or GUI: