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...]

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 nat [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 VirtualBox [continue...]

VirtualBox Headless VM

Scenario / Question: How do I control VirtualBox from the linux command line CLI Solution / Answer: Use the included tools VBoxManage and VBoxHeadless First Install VirtualBox from this post: “Install VirtualBox without GUI or Headless” VBoxManage for controlling VirtualBox on the [continue...]

Install VirtualBox without GUI or Headless

Scenario / Question: How do I install VirtualBox on a linux server that does not have a GUI installed or Xorg. Solution / Answer: VirtualBox can be installed on a headless server, and can be controlled with VBoxManage and VBoxHeadless from the command line. Install VirtualBox 3.0 There are two [continue...]

Lighttpd and PHP

How do I get Lighttpd to work with PHP Instal Lighttpd web server Follow the following tutorial: “Lighttpd and Centos 5” Add PHP support to Lighttpd web server Install lighttpd-fastcgi and php-cli # yum install lighttpd-fastcgi php-cli Configure the Config files to enable PHP for [continue...]

Lighttpd and Centos 5

What is Lighttpd “Security, speed, compliance, and flexibility — all of these describe lighttpd (pron. lighty) which is rapidly redefining efficiency of a webserver; as it is designed and optimized for high performance environments. With a small memory footprint compared to other [continue...]

« Previous PageNext Page »