instalNXClient.sh

#!/bin/bash
 
sudo su
 
cat << EOF > /etc/apt/sources.list.d/freenx-team.list
deb http://ppa.launchpad.net/freenx-team/ubuntu intrepid main
deb-src http://ppa.launchpad.net/freenx-team/ubuntu intrepid main
EOF
 
apt-get install nxclient
 
# old #
wget http://64.34.161.181/download/3.2.0/Linux/nxclient_3.2.0-9_i386.deb -P /tmp
dpkg -i /tmp/nxclient_*.deb
rm /tmp/nxclient_*.deb
chmod 755 /usr/lib/cups/backend/ipp
 
# LINK
# http://www.nomachine.com/download-client-linux.php

instalFreeNxServer.sh

#!/bin/bash
 
sudo su
 
cat << EOF > /etc/apt/sources.list.d/freenx-team.list
deb http://ppa.launchpad.net/freenx-team/ubuntu intrepid main
deb-src http://ppa.launchpad.net/freenx-team/ubuntu intrepid main
EOF
 
sudo apt-get update
sudo apt-get -y --force-yes install freenx-server
 
 
# LINKS
# https://launchpad.net/~freenx-team/+archive/
# https://launchpad.net/~marceloshima/+archive

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
 
# !!!
Syndicate content