ubuntu

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

Ubuntu LiveCD PXE boot (Ubuntu Live CD boot from network)

DEFAULT_URL=http://releases.ubuntu.com/releases/12.04/ubuntu-12.04-desktop-i386.iso
NFS_SERVER=192.168.1.9
 
if [ ! -z $1 ]; then
        FILE=$1
 
        if [ !

Compile Ubuntu kernel

apt-get install fakeroot build-essential makedumpfile ncurses-dev
 
cd /usr/src
?? apt-get build-dep linux-image-$(uname -r)
apt-get source linux-image-$(uname -r)
 
?? apt-get build-dep linux-ubuntu-modules-$(uname -r)
??

Install Ubuntu Hardy from HDD

#!/bin/bash
 
# download netboot image
wget http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/installer-amd64/current/images/netboot/netboot.tar.gz -P /tmp
 
# extract and copy install files
tar xzf /tmp/netboot.tar.gz -C /tmp
mkdir /boot/ubuntu
cp /tmp/ubuntu-installer/amd64/initrd.gz /boot/ubuntu/
cp /tmp/ubuntu-installer/amd64/linux /boot/ubuntu/
 
# create GRUB menu entry
cat <<EOF> /etc/grub.d/49_ubuntu
#!/bin/sh
exec tail -n +4 $0
 
menuentry "Network Ubuntu install" {
    root (hd0,0)
    kernel /boot/ubuntu/linux
    initrd /boot/ubuntu/initrd.gz
}
EOF
chmod 

Gnome

# get settings
gsettings list-recursively | grep -i gedit
gsettings list-recursively org.gnome.settings-daemon.plugins.power
dconf read /org/gnome/settings-daemon/plugins/media-keys/calculator 
 
# unity
setsid unity
dconf dump /org/compiz/
 
# http://askubuntu.com/questions/67355/how-do-i-completely-turn-off-screensaver-and-power-management
# /usr/share/glib-2.0/schemas/org.gnome.desktop.wm.preferences.gschema.xml 
 
dconf watch /
http://askubuntu.com/questions/359593/is-it-possible-to-monitor-dconf-for-changes
 
# reset pannel settings
gconftool-2 --recursive-unset /apps/panel
d

lts.conf parameter

XSERVER=nsc
LDM_USERNAME=root
LDM_PASSWORD=toor
PRINTER_0_TYPE=U
PRINTER_0_DEVICE=/dev/usb/lp0
SCREEN_02=shell
SCREEN_07=ldm
LDM_REMOTECMD="/usr/sbin/ethtool -s eth0 msglvl 0"
X_COLOR_DEPTH=16
X_VIDEORAM=4096
X_MODE_0=1024x768
X_HORZSYNC=30-70
X_VERTREFRESH=50-150
XKBLAYOUT=de
LDM_USERNAME=service
LDM_PASSWORD=terceS
SCREEN_07=startx-custom
PRINTER_0_TYPE=P
PRINTER_0_DEVICE=/dev/lp0
PRINTER_1_TYPE=U
PRINTER_1_DEVICE=/dev/usb/lp1
 
 
[LG]
        X_HORZSYNC         = "40-83"
        X_VERTREFRESH      = "55-60"
        X_MODE_0           = 1280x1024
 
[00:33:44:55:66:77

installZattoo.sh

#!/bin/bash
 
sudo su
 
# check for new version
http://zattoo.com/de/download/linux?download=1&version=Linux-i386-deb
 
URL=http://download.zattoo.com/zattoo-3.3.3.20775-i386.deb
wget ${URL} -P /tmp
 
sudo apt-get install libgtkglext1 libxul0d libmozjs0d libxul-common
sudo dpkg -i /tmp/zattoo-*.deb

Install OpenTTD (Transport Tycoon Deluxe) under Ubuntu

wget https://raw.githubusercontent.com/panticz/installit/master/install.openttd.sh -O - | bash -s

#!/bin/bash

if [ "$1" == "-n" ]; then
  # install latest version from homepage
  if [ "$(uname -m)" == "x86_64" ]; then
    # 64 bit
    URL=http://binaries.openttd.org/releases/1.5.0/openttd-1.5.0-linux-ubuntu-trusty-amd64.deb
  else
    # 32 bit
    URL=http://binaries.openttd.org/releases/1.5.0/openttd-1.5.0-linux-ubuntu-trusty-i386.deb
  fi
  
  # download
  wget ${URL} -P /tmp
  
  # install
  sudo dpkg -i /tmp/openttd-*-linux-ubuntu-*.deb
else
  # installed version provided by the distribution
  sudo apt-get install -y openttd
fi
 
# install music
sudo apt-get install -y openttd-opensfx openttd-openmsx timidity

Install newest Version
wget https://raw.githubusercontent.com/panticz/installit/master/install.openttd.sh -O - | bash -s -- -n

#
# OLD?
#
# sudo apt-get install -y libsdl1.2debian

# pre configure
debconf-set-selections <<\EOF
openttd openttd/datafiles select
EOF

# install openttd
sudo apt-get install -y openttd timidity
wget http://www.tt-ms.de/downloads/ttdwin302011.rar -P /tmp
mkdir /tmp/ttd
unrar x /tmp/ttdwin302011.rar /tmp/ttd

# copy data
sudo cp /tmp/ttd/*.grf /tmp/ttd/*.cat /usr/share/games/openttd/data
sudo cp /tmp/ttd/gm/* /usr/share/games/openttd/gm

# clean up
rm /tmp/ttdwin302011.rar
rm -r /tmp/ttd

# Links
http://wiki.ubuntuusers.de/Spiele/OpenTTD
http://www.openttd.org/en/download-stable
http://www.tt-ms.de/downloads/

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