Install thttpd
apt-get install thttpd
sed -i 's|ENABLED=no|ENABLED=yes|g' /etc/default/thttpd
/etc/init.d/thttpd restart
apt-get install thttpd
sed -i 's|ENABLED=no|ENABLED=yes|g' /etc/default/thttpd
/etc/init.d/thttpd restart
<?php
$URL="http://installit.googlecode.com/hg/install.glusterfs-server.sh";
echo "wget -q $URL -O - | bash -";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
?>
<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.openelec-fusion.sh";
echo "wget -q --no-check-certificate $URL -O - | bash -";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
?>
Configuration
# create autostartfile
storage/00252233d9d1/.config/autostart.sh
# xbmc config
storage/00252233d9d1/.xbmc/userdata/guisettings.xml
# configure remote
storage/00252233d9d1/.xbmc/userdata/keymaps/Keymap.xml
# system lirc / keyboard config
/usr/share/xbmc/system
# configure domU
[ -z $DOMAIN_NAME ] && DOMAIN_NAME=dlna
[ -z $DOMAIN_MAC ] && DOMAIN_MAC=00:d1:1a:00:00:00
[ -z $DOMAIN_RAM ] && DOMAIN_RAM=256Mb
[ -z $DOMAIN_HDD ] && DOMAIN_HDD=2Gb
# create domU
http://www.panticz.de/DomU-Debian-Sid
# add repository (squezze only)
if [ $(lsb_release -cs) == "squeeze" ]; then
echo "deb http://ftp.de.debian.org/debian sid main" > /etc/apt/sources.list.d/sid.list
apt-get update
fi
# install minidlna
apt-get install -y minidlna
# remove repository (squezze only)
if [ $(lsb_release -cs) == "squeeze" ]; then
# get Debain boot files for PXE
http://www.panticz.de/Debian
# PXE net boot file
http://installit.googlecode.com/hg/preseed/debian-preseed.seed
# 1th stage
http://www.panticz.de/pxe/preseed/xen.seed
# 2th stage
http://www.panticz.de/pxe/preseed/rc.local
# 3th stage
http://www.panticz.de/pxe/preseed/late_command.txt
# configure locale (broken)
http://installit.googlecode.com/hg/scripts/fix.locale.sh
# install xen
http://code.google.com/p/installit/source/browse/install.xen.sh
Create Boot CD
http://www.panticz.de/Ubuntu_customized_preseed_NetBoot_CD
<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.xen.sh";
echo "wget -q --no-check-certificate $URL -O - | bash -";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
?>
Enable XL toolstacks
sed -i 's|TOOLSTACK=|TOOLSTACK=xl|g' /etc/default/xen
configure perfomance
http://wiki.xen.org/wiki/Credit_Scheduler
xm sched-credit
xm sched-credit -d www -w 512
# OPTIONAL: sync time
apt-get install -y ntpdate
ntpdate ntp.ubuntu.com
hwclock --systohc
rm /etc/cron.daily/ntpdate
# updae bootstrap
http://www.panticz.de/update_debootstrap
# manually update xen-create-image
wget http://ftp.de.debian.org/debian/pool/main/x/xen-tools/xen-tools_4.3.1-1_all.deb -O /tmp/xen-tools_4.3.1-1_all.deb
dpkg -x /tmp/xen-tools_4.3.1-1_all.deb /tmp/
mv /usr/bin/xen-create-image /usr/bin/xen-create-image.org
cp /tmp/usr/bin/xen-create-image /usr/bin/xen-create-image
# OPTIONAL: enable ip forward in dom0
cp /etc/sysctl.conf /etc/sysctl.conf.org
sed -i 's|#net.ipv4.ip_forward=1|net.ipv4.ip_forward=1|g' /etc/sysctl.conf
# OPTIONAL: PCI delegation
http://www.panticz.de/xen_pci_delegation
# reboot
reboot
# Ubuntu Xen Dom0
apt-get install -y xen-hypervisor-4.2-amd64 xen-tools
# LINKS
http://wiki.debian.org/Xen
http://wiki.xensource.com/xenwiki/XenBestPractices
http://www.panticz.de/configure_network_bridge
http://www.panticz.de/update_debootstrap
http://www.chrisk.de/blog/2008/12/how-to-run-xen-in-ubuntu-intrepid-without-compiling-a-kernel-by-yourself/
http://wiki.debian.org/Xen
https://help.ubuntu.com/community/Xen
Update pxe configuration
wget http://installit.googlecode.com/hg/preseed/preseed.squeeze.amd64.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.squeeze.amd64.conf
wget http://installit.googlecode.com/hg/preseed/preseed.wheezy.amd64.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.wheezy.amd64.conf
wget http://installit.googlecode.com/hg/preseed/preseed.precise.i386.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.precise.i386.conf
wget http://installit.googlecode.com/hg/preseed/preseed.precise.amd64.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.precise.amd64.conf
<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.scribus.sh";
echo "wget $URL -O - | bash -";
echo "
"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $URL); $result = curl_exec($ch); curl_close($ch); htmlspecialchars($result); echo "
";
?>
<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.squirrel-sql.sh";
echo "wget $URL -O - | bash -";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
?>
Install compiled 64bit version
wget http://dl.panticz.de/nautilus/nautilus_3.2.1-0ubuntu3.1_amd64.deb
sudo dpkg -i /tmp/nautilus_3.2.1-0ubuntu3.1_amd64.deb
nautilus -q
Automatic installation script
<?php
$URL="http://dl.panticz.de/scripts/rebuild.nautilus.sh";
echo "wget $URL -O - | bash -";
echo "
"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $URL); $result = curl_exec($ch); curl_close($ch); htmlspecialchars($result); echo "
";
?>
Links
http://www.omgubuntu.co.uk/2011/12/how-to-move-nautilus-navigation-buttons-back-to-the-left
http://ubuntuforums.org/showthread.php?p=11501676#post11501676