How to convert AGI script to FastAGI script

If you ever need to convert a normal AGI script to be served over the network to one or may Asterisk boxes, you can do as follows: You can use xinetd for this. From your dialplan on each asterisk box, call agi with a fast agi parameter, substituting your IP address of the fastagi server: […]

How to change Internet Sharing subnet on Mac OS

1. Copy the plist file /Library » Preferences » SystemConfiguration » to your home directory, eg: sudo cp /Library/Preferences/SystemConfiguration/ ~ 2. Use Xcode’s Property List Editor (or any other property list editor) to edit the file in your home directory (you may need to change permissions on it to be able to modify/save it) […]

How to fix cloned virtual machine network interface (Linux host)

Remove the kernel’s networking interface rules file so that it can be regenerated # rm -f /etc/udev/rules.d/70-persistent-net.rules Restart the VM # reboot UPDATE your interface configuration file # vim /etc/sysconfig/networking/devices/ifcfg-eth0 Remove the MACADDR entry or update it to the new MACADDR for the interface (listed in this file: /etc/udev/rules.d/70-persistent-net.rules). Remove the UUID entry Save and […]

VMware vSphere Client Download Links

vSphere v4.1 – VMware vSphere Client v4.1 : VMware-viclient-all-4.1.0-258902.exe – VMware vSphere Client v4.1 Update 1 : VMware-viclient-all-4.1.0-345043.exe – VMware vSphere Client v4.1 Update 2 : VMware-viclient-all-4.1.0-491557.exe – VMware vSphere Client v4.1 Update 3 : VMware-viclient-all-4.1.0-799345.exe – VMware vSphere Client v4.1 Update 3a : VMware-viclient-all-4.1.0-925676.exe vSphere v5.0 – VMware vSphere Client v5.0  :  VMware-viclient-all-5.0.0-455964.exe – VMware vSphere Client v5.0 Update 1 […]

vncserver startup script example

NOTE: Make sure to change USER variable with your desired value #!/bin/sh -e ### BEGIN INIT INFO # Provides: vncserver # Required-Start: networking # Default-Start: 3 4 5 # Default-Stop: 0 6 ### END INIT INFO PATH=”$PATH:/usr/X11R6/bin/” # The Username:Group that will run VNC export USER=”mythtv” #${RUNAS} # The display that VNC will use DISPLAY=”1″ […]