2008-08-12

A list of Xen commands

xm list
xm mem-set Domain-0 256
xm shutdown
xm destroy
xm save
xm restore
xm create -c
xm console (out : Ctrl+J)
xm connect

Create a self-signed certificate for Apache 2

If you already have a private key in /etc/httpd/conf/ssl.key/server.key do this :
# cd /etc/httpd/conf/ssl.key
# openssl req -new -x509 -days 365 -key server.key -out server.crt
Country Name (2 letter code) [GB]:CA
State or Province Name (full name) [Berkshire]:Quebec
Locality Name (eg, city) [Newbury]:Montreal
Organization Name (eg, company) [My Company Ltd]:Xxxxxxx
Organizational Unit Name (eg, section) []:IT
Common Name (eg, your name or your server's hostname) []:xxxxxx
Email Address []:xxxxxxxx@gmail.com

2008-04-30

Xorg has a new config

Arghhh, I just got hammered by the new Xorg configuration. Ubuntu 8.04, Hardy Heron. The xorg.conf looks like:
Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver  "kbd"
 Option  "XkbRules" "xorg"
 Option  "XkbModel" "pc105"
 Option  "XkbLayout" "ca"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver  "mouse"
 Option  "CorePointer"
EndSection

Section "Device"
 Identifier "Configured Video Device"
 Driver  "nvidia"
 Option  "NoLogo" "True"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
 Vendorname "Viewsonic"
 Modelname "G90f"
 Horizsync 30-97
 Vertrefresh 50-180
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor  "Configured Monitor"
 Device  "Configured Video Device"
 Defaultdepth 24
 SubSection "Display"
  Viewport 0 0
  Depth  24
  Modes  "1280x1024"
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
  screen "Default Screen"
EndSection
Section "Module"
 Load  "glx"
EndSection