Author Archive
Mount an ISO file
You can mount a CD or DVD image in Linux so that it appears like a regularly inserted disc. Use the following command:
prompt# mount Fedora-8-x86_64-DVD.iso /mnt/isofile/ -o ro,loop=/dev/loop0
Ensure that the /mnt/isofile directory exists before trying to mount the ISO to that location.
VNC over SSH
Sometimes it is useful to manage a Linux server remotely using VNC. A simple and secure method for doing so is to tunnel the VNC connection using Secure Shell. The following instructions have been tested on Redhat Enterprise Linux 5 AS.
On the server side:
First, we need to ensure the vncserver is actually running. [...]
Override Content
Recently I was working on a portion of a web site that required dynamic menus. However, I needed to override those dynamic menus for certain pages in the web site with custom menus. It is possible to achieve this using typoscript.
Dynamic Navigation Menu for Site Depth
Include the following typoscript in your root page template to dynamically generate a text based navigation menu that provides the full path of the current page from the root of the site.
depth = HMENU
depth.special = rootline
depth.1 = TMENU
depth.1.NO.linkWrap = | / |*||*| |
This will give a root line something like this:
Home / [...]
Flush DNS Cache
You can clear the DNS cache on OS X by entering the following command at the shell prompt.
lookupd -flushcache
On a windows 2000/XP/2003 system you would type the following from a command prompt.
ipconfig /flushdns
