CentOS DomU under Debian Lenny Dom0

# new
http://www.panticz.de/DomU-CentOS-6

# xen-create-image + rinse
# http://serverfault.com/questions/347881/how-to-create-a-centos-xen-domu-on-debian-squeeze-using-xen-create-image
xen-create-image --hostname=foo.example.com --ip=1.2.3.4 --gateway=1.2.3.1 --netmask=255.255.255.0 --install-method=rinse --dist=centos-6 --mirror=http://mirror.centos.org/centos/5/os/x86_64/CentOS/ --arch=amd64 --lvm=vg0

xm create -c /etc/xen/foo.example.com.cfg

#
# OLD
#

# configure domU
DOMAIN_NAME=cenos6
DOMAIN_MAC=00:12:11:21:aa:bb
DOMAIN_RAM=1Gb
DOMAIN_HDD=8Gb

# create domU on LVM

Ubuntu Trusty DomU

# configure domU
[ -z $DOMAIN_NAME ] && DOMAIN_NAME=trusty
[ -z $DOMAIN_MAC ] && DOMAIN_MAC=00:00:00:00:aa:bb
[ -z $DOMAIN_RAM ] && DOMAIN_RAM=1Gb
[ -z $DOMAIN_HDD ] && DOMAIN_HDD=8Gb

# create domU on LVM (for image file use --dir=/root,)
xen-create-image \
--hostname=${DOMAIN_NAME} \
--dist=trusty \
--lvm=vg1 \
--fs=ext4 \
--dhcp \
--mac=${DOMAIN_MAC} \
--mirror=http://archive.ubuntu.com/ubuntu \
--size=${DOMAIN_HDD} \
--memory=${DOMAIN_RAM} \
--swap=${DOMAIN_RAM}
--genpass=0 \
--password=t00r \
--apt_proxy=http://apt-cacher:3142/ \
--vcpus $(cat /proc/cpuinfo | grep pro

Add extra language to Drupal

# download and extract german language pack
http://drupal-de.googlecode.com/files/de.po.zip

# enable locale module
Administer > Site building >Modules
admin/build/modules
check: Locale

# install german language
Administer > Site building > Translate interface > Import
admin/build/translate/import
Language file: de.po/de.po
Import into: German
[Import]

# set german to default language
Administer > Site configuration > Languages
admin/settings/language
German: Default

# Links
http://drupal.org/project/de

Change Magento Default Theme

# Modern
cd /var/www
/var/www/pear mage-setup /var/www
/var/www/pear install magento-core/Interface_Frontend_Default_Modern

System > Configuration > Design > Themes
Default: modern

# Blank
cd /var/www
/var/www/pear mage-setup /var/www
/var/www/pear install magento-core/Interface_Frontend_Default_Modern

System > Configuration
General > Design > Themes
Default: blank

# Links
http://www.magentocommerce.com/design_guide/articles/working-with-magento-themes#head-say-hello-to-multiple

Lightbox

cd /var/www/
./pear install magento-community/magento_easy_lightbox

# enable by sql
INSERT INTO core_config_data (scope, scope_id, path,value)
VALUES ('default', 0 ,'easy_lightbox/general/enabled', '1')
ON DUPLICATE KEY UPDATE value = '1';

# clear cache
rm -r var/cache/

# enable in admin menu
change settings > Preferred State: "beta"
magento-community/magento_easy_lightbox

first LOGOUT and LOGIN again!

Admin > Templates-master >Easy Lightbox > General
Enable EasyLightbox: Yes

LINKS
http://www.magentocommerce.com/extension/1487/magento-easy-lightbox