instalFrozenBubble.sh

#!/bin/bash
 
sudo apt-get -y install frozen-bubble

installOpenVPN.sh

sudo apt-get install -y openvpn network-manager-openvpn

installVMWarePlayer.sh

#!/bin/bash
 
wget http://download3.vmware.com/software/vmplayer/VMware-player-2.0.1-55017.i386.tar.gz -P /tmp/
tar -xzf /tmp/VMware-player-2.0.1-55017.i386.tar.gz -C /tmp
/tmp/vmware-player-distrib/vmware-install.pl default
rm -r /tmp/vmware-player*

streamToInternet.sh

#!/bin/sh
 
VCODEC=mp4v
 
echo "--- $0 $@ ---"
 
if [ $1 == "-hq" ]; then
	VCODEC=h264
fi
 
vlc v4l:/dev/video0 --sout '#duplicate{dst=display,dst="transcode{vcodec=$VCODEC,vb=128}:standard{access=http,mux=ts,url=:8888}"}' --ttl 16 --noaudio

swapToFile.sh

#!/bin/bash
 
dd if=/dev/zero of=/swap.file bs=1G count=1
chmod 0600 /swap.file
mkswap /swap.file
 
cat <<EOF>> /etc/fstab
/swap.file      none    swap    sw              0       0
EOF

Create XEN Windows XP Domain

#### lvm ####
lvcreate --name xp-disk --size 8G vg1
dd if=/dev/zero of=/dev/vg1/xp-disk
 
# installation
cat <<EOF> /etc/xen/xp-inst
kernel='/usr/lib/xen-4.1/boot/hvmloader'
builder='hvm'
memory='2048'
name='xp-inst'
device_model='/usr/lib/xen-default/bin/qemu-dm'
boot='d'
disk=['phy:/dev/vg1/xp-disk,ioemu:hda,w', 'file:/mnt/winxp.iso,hdc:cdrom,r']
vnc=1
vncviewer=1
vncpasswd="xp"
vif=['type=ioemu, bridge=eth0, mac=00:00:00:55:00:00']
usbdevice='tablet'
vnclisten='0.0.0.0'
EOF
 
# start VM
xm create xp-inst
 
# connect to VM from client
vinagre YOUR_XEN_Dom0_IP
 
# xp
c

ARTEC ULTIMA 2000 (MEDION MD/LT 9385/9375)

Device ID
Bus 003 Device 004: ID 05d8:4002 Ultima Electronics Corp. Artec Ultima 2000 (GT6801 based)/Lifetec LT9385 Scanner

Download firmware
wget http://download2.medion.com/downloads/treiber/sca9385win9xp.exe -P /tmp
unzip /tmp/sca9385win9xp.exe -d /tmp/
sudo mkdir -p /usr/share/sane/gt68xx/
sudo cp /tmp/DRIVER/SETUPEXT/GT/WINX/gt680xfw.usb /usr/share/sane/gt68xx/

Configure sane
sudo sed -i '61s|#override "artec-ultima-2000"|override "artec-ultima-2000"|g' /etc/sane.d/gt68xx.conf

Create XEN VirtualBox Domain

#!/bin/bash
 
# filename: createXenImageVirtualbox.sh
 
# !!!

Create XEN GeeXboX Dev Domain

# set domU parameter
[ -z $DOMAIN_NAME ] && DOMAIN_NAME=builder32
[ -z $DOMAIN_MAC ] && DOMAIN_MAC=00:00:00:00:0b:32
[ -z $DOMAIN_RAM ] && DOMAIN_RAM=256Mb
[ -z $DOMAIN_HDD ] && DOMAIN_HDD=8Gb
 
xen-create-image --hostname=${DOMAIN_NAME} --dhcp --mac=${DOMAIN_MAC} --lvm=vg01 \
--dist=maverick --mirror=http://archive.ubuntu.com/ubuntu --size=${DOMAIN_HDD} \
--memory=${DOMAIN_RAM} --swap=${DOMAIN_RAM} --arch=i386
 
 
# create domU
http://www.panticz.de/Xen-domU-ubuntu-jaunty
 
# add to autostart (optional)
ln -s /etc/xen/${DOMAIN_NAME} /etc/xen/auto
 
# create lvm for home
lvcreat

Create XEN LTSP Domain

### new
http://www.panticz.de/Ubuntu-Trusty-domU
 
# install ltsp
http://www.panticz.de/install-ltsp
 
 
 
 
### old
 
# set domU name
DOMAIN_NAME=ts
 
# create domU
xen-create-image --hostname=${DOMAIN_NAME} --dhcp --mac=00:11:22:7a:7b:7c \
--lvm=vg01 --dist=jaunty --mirror=http://archive.ubuntu.com/ubuntu/ --size=8Gb --memory=2Gb --swap=2Gb
 
# lucid test
# xen-create-image --hostname=${DOMAIN_NAME} --dhcp --mac=${DOMAIN_MAC} \
--lvm=vg01 --dist=lucid --mirror=http://archive.ubuntu.com/ubuntu --size=${DOMAIN_HDD} --memory=${DOMAIN_RAM} --swap=${DOMAIN_RAM} --arch=i386
 
# rena
Syndicate content