Missing Dependency: libmcrypt.so.4

Questions: I can not get mcrypt to install for php on Centos yum php-mcrypt does not work Answer: Bongo’s Codeways to the rescue You are trying to install mcrypt on a x86_64 or 64bit system Check out the steps here Install libmcrypt and php-mcrypt on CentOS 5.3 Click for Post [continue...]

How to do Ajax style drag-n-drop sorting with Rails

Here is a quick tutorial on how to do this. The “secret” or easy solution is to use Rails “acts_as_list” plugin. 1. Install the “acts_as_list” plugin that is going to be used for this. With Rails 2.0+, the plugin is no longer part of Rails core, so you will need to do “ruby [continue...]

Nagios Email Notification Frequency or Interval

Question: How do I configure how often Nagios emails notifications about problems. Solution: The notification interval setting for service and hosts allows you to configure when email notifications get sent by Nagios Nagios Notifications Before Nagios sends out a notification the program runs a [continue...]

What Computer User is Logged on to

Question: How do I find out which computer a user is logged on to on the network. How do I find out which users are logged on to a computer on the network. Solution: PStools from sysinternals has a program called psloggedon.exe that scans the registry keys of the remote computers. Download [continue...]

Vyatta Port Forwad port X to port Y

Scenario / Question: How do I port forward port 2202 to port 22 on 192.168.0.1 server with Vyatta. Solution / Answer: Configure DNAT rules with port destination and firewall destination rules NAT RULES set service nat rule 600 type destination set service nat rule 600 protocol tcp set service [continue...]

Vyatta d945gclf2 Boot Fail

Scenario / Question: I installed Vyatta on a Harddrive connected to a D945gclf2 Intel Atom 330 board and Vyatta will not boot. Error no boot device found. Solution / Scenario: The boot flag was not properly set on the partition. Use fdisk and set the boot flag on the vyatta boot partition Boot [continue...]

VirtualBox Auto Start VM Centos Fedora RedHat

Scenario / Question: How do I get my VirtualBox Guest VM’s to start and stop when the host system reboots, shutdown, or starts. Solution / Answer: Create an init.d script so that VirtualBox Guest VM are controlled as a system service. Install VirtualBox VM Service script The original [continue...]

Fedora 11 external network and internal network

Scenario / Question: I have a computer connected to external network with one network card and connected to internal network with another network card. I want to have all external traffic use one nic and all internal traffic use another nic. Solution / Answer: If you do not require NAT or [continue...]

VirtualBox Modify VM Settings

Scenario / Question: How do I modify the parameters of my VM in VirtualBox from the command line Solution / Answer: Use the tool VBoxManage Install VirtualBox “Install VirtualBox without GUI or Headless” Create a VirtualBox VM guest “VirtualBox Headless VM” VirtualBox [continue...]

VirtualBox Controlling Headless VM

Scenario / Question: How do I control my VirtualBox VM’s from the command line Solution / Answer: Use the tool VBoxManage Install VirtualBox “Install VirtualBox without GUI or Headless” Create a VirtualBox VM guest “VirtualBox Headless VM” Controlling the [continue...]

Next Page »