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

2007-11-02

UbuntuStudio

The perfect desktop UbuntuStudio 7.10 is here.

2007-08-20

Subversion server configuration

The file /etc/xinetd.d/svnserve should contain:
service svnserve
{
socket_type = stream
protocol = tcp
user = root
wait = no
disable = no
server = /usr/bin/svnserve
server_args = -i -r /xxxx/xxxx/xxxx
port = 3690
}

The path /xxxx/xxxx/xxxx is the SVN repository.

Disabling IPv6

echo "alias net-pf-10 off" >> /etc/modprobe.conf

Ubuntu 7.04 Feisty repository


# Canonical commercial (vmware, etc.)
deb http://archive.canonical.com/ubuntu feisty-commercial main
# Subpixel font rendering
deb http://www.telemail.fi/mlind/ubuntu feisty fonts
deb-src http://www.telemail.fi/mlind/ubuntu feisty fonts main
# Compiz-Fusion
deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
# Ubuntu Studio (theme, icons, etc.)
deb http://archive.ubuntustudio.org/ubuntustudio feisty main
deb-src http://archive.ubuntustudio.org/ubuntustudio feisty main
# Pidgin for Feisty
deb http://repository.debuntu.org/ feisty multiverse
deb-src http://repository.debuntu.org/ feisty multiverse

SSH configuration

Check these out:
http://manual.sidux.com/en/ssh-en.htm
http://www.freebsddiary.org/ssh-higher-port.php
http://fedorasolved.org/post-install-solutions/securing-ssh

UbuntuStudio wallpaper

Check rudikuin

LVM and Virtualization

system-config-lvm
virt-manager


Check RedHat http://virt-manager.et.redhat.com/