Skip to content

2007

Apache2 with SSL on Debian

I found myself at a loss on how to enable ssl on apache2, it seemed so simple. Make sure ssl.conf and ssl.load where both in mods-enabled and restart apache2, and done. Not so fast, the damn thing needs a self-signed certificate and the normal scripts are no where to be found on Debian 4.0 Etch. After a bit of searching I've come across this little gem that I hope will help all of you too. aptitude install ssl-cert

/usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem

This uses everything that Debian 4.0 gives you by default.

USB not showing up in VMware

For the longest time USB used to work quite well in VMware, then as if by magic, it all stopped working. However, after poking around I've discovered that there is a solution and it involves usbfs (usbdevfs). So here is a solution to get you all back up and running.

  • Create a new user group and name it usbfs, let's say that it has gid 1003
  • within /etc/fstab change the following line usbdevfs /proc/bus/usb usbfs noauto 0 0- if you have it, change it to below, if you don't have it, then just add the following line usbfs /proc/bus/usb usbfs rw, devgid=1003, devmode=0640, busgid=1003, busmode=0550, listgid=1003, listmode=0440 0 0- add vmware users to group usbfs usermod -G usbfs vmwareuser- If you get an error like this: mount: mount point /proc/bus/usb does not exist - then you have to compile a custom kernel from sources with CONFIG_USB_DEVICEFS enabled.