Howtos / Articles

Enable SSH on VMWare ESXi 5 (vSphere 5)

VMWare ESXi/vSphere 5 has the option to accept SSH connections to the server, to allow access to the file system of the server itself. By default SSH is disabled, and its not the easiest setting to find if you do need to enable it. This guide will show you how to enable the SSH server. Load up the vSphere client, and connect to the ESX/ESXi/vSphere host machine you wish to enable SSH on. Make sure the actual VMWare server machine…

Read more [...]

Pass through USB device access to VMware Guest OS

As of VMWare ESX/ESXi/vSphere version 4.1 and above, you can now pass through USB devices to the guest virtual machine, as though it was directly connected to that machine. This is great for passing through USB HDD’s, USB tape drives, printers, etc. The following steps outline how to set up ESXi to pass through a USB device to a virtual machine. This is a two stage process the first time you set this up. You need to add a USB…

Read more [...]

Backup your master boot record

The Linux DD command allows you to read and write directly to block devices. If you are playing around with boot loaders, dual booting, etc, its a good idea to take a copy of your master boot record just in case things go astray and you need to restore it. To backup the master boot record (MBR): $ sudo dd if=/dev/sda of=boot.bin bs=512 count=1 /dev/sda is the device of the hard drive you want to take the backup from. boot.bin…

Read more [...]

Run Postfix on multiple ports

The default port for SMTP is port 25, but there may be some scenarios where you may need Postfix to listen on another port as well (or instead of). For example, if you want to send emails via your own mail server, from your work computer, but the work network may be blocking all port 25 traffic out onto the internet from all PC’s but the mail server. You can get around this by setting up Postfix on another port…

Read more [...]

Limit Postfix to listen on specific IP addresses

On a default install of Postfix, it will listen on all interfaces/IP addresses on your machine. Sometimes this is not what you want. For example, the computer may be connected directly to the internet on one network interface, and connected to a lan on another interface, however you may not want to allow access to the SMTP server from the internet, and only use it for internal mail. You can do this by specifying only the internal address to listen…

Read more [...]