Skip to content

Category Archives: Operating Systems

vmadm by example

29-Apr-12

Update a VM’s alias: Set a VM to not autoboot:

Deploying a Zone on SmartOS

29-Apr-12

Assuming a fresh install: References: How to create a zone ( OS virtualized machine ) in SmartOS

Burning a CD using wodim on Ubuntu

29-Apr-12

“wodim – write data to optical disk media… This application is derived from “cdrecord” as included in the cdrtools package created by Joerg Schilling, who deserves most of the credit for its success.”

Logging Outbound SMTP Traffic Using iptables

17-Mar-12

If this is a defensive setting – monitoring for a host being used as a spam bot, for example – you may want to consider rate-limiting outbound SMTP traffic first, to prevent your log partition from being filled (and limit the damage done by a compromised host in the first place):

Converting an IP Address to Hex

09-Nov-10

Convert an IP address to hex using the “gethostip” command: This is useful for naming files in a pxelinux.cfg directory, for instance.

Generating Crypted Passwords for Kickstart Files

04-Oct-10

For Red Hat or clones, or ESX/ESXi, use “grub-md5-crypt”: Copy and paste to “rootpw –iscrypted” as appropriate.

Example checkinstall arguments

02-Aug-10

Setting SCSI Timeout Values for FreeBSD VMs on VMware/NetApp

23-Jun-10

NetApp requires setting a timeout value of 190 seconds for all VMware data stores on their filers to handle “long fabric or storage-side I/O interruptions”; this is done as follows on FreeBSD: This can be set permanently in /etc/sysctl.conf: Elsewhere, I have seen a recommendation for FreeBSD on ESX that kern.cam.da.retry_count be set to 120.

Query Architecture of RPMs

15-Jun-10

To query the architecture of installed RPMs, use a custom query format:

Mount an ISO image on Linux

15-Jun-10