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.

Compile fcpci for Ubuntu

# Linux squezze 2.6.32-5-xen-amd64
 
# install needed packages
apt-get install -y wget
apt-get install -y build-essential
apt-get install -y linux-headers-$(uname -r)
 
# get fcpci sources
wget --no-check-certificate http://belug.de/~lutz/pub/fcpci/fritz-fcpci-2.6.31.tar.bz2 -O /tmp/fritz-fcpci-2.6.31.tar.bz2
 
# extract
tar xjf /tmp/fritz-fcpci-2.6.*.tar.bz2 -C /tmp/
 
# override fcpci-lib.o for 64 bit systems
if [ $(uname -m) == "x86_64" ]; then
    cd /tmp/fritz-fcpci-*/lib/
    ln -sf /tmp/fritz-fcpci-*/lib/64_fcpci-lib.o /tmp/fritz-fcpci-*/lib/fcpci-lib.o
fi
 
# compile
cd 

ICC profile (color management)

# install icc profile
apt-get install -y icc-profiles
wget http://download.adobe.com/pub/adobe/iccprofiles/win/AdobeICCProfilesCS4Win_end-user.zip -P /tmp
unzip /tmp/AdobeICCProfilesCS4Win_end-user.zip -d /tmp/
cp "/tmp/Adobe ICC Profiles (end-user)/RGB/AdobeRGB1998.icc" /usr/share/color/icc/
 
# convert image (test)
convert IMAGE_IN.jpg -profile /usr/share/color/icc/AdobeRGB1998.icc -profile /usr/share/color/icc/sRGB.icm IMAGE_OUT.jpg
 
# Links
http://www.imagemagick.org/Usage/formats/#color_profile

Gedit (GNOME text editor)

# Gnome gedit2 add regex replace support
wget http://vaem.googlecode.com/files/gedit2_regex_replace_plugin.tar.gz -P /tmp
tar -xzf /tmp/gedit2_regex_replace_plugin.tar.gz -C /home/$USER/.gnome2/gedit/plugins/

# add YAML syntax support
wget -q http://dl.panticz.de/pluma/yaml.lang -O /tmp/yaml.lang
sudo cp /tmp/yaml.lang /usr/share/gtksourceview-2.0/language-specs/yaml.lang
sudo cp /tmp/yaml.lang /usr/share/gtksourceview-3.0/language-specs/yaml.lang

# Configure pluma
gsettings set org.mate.pluma editor-font "Ubuntu Mono 13"
gsettings set org.mate.pluma display-line-numbers true

ATI / Medion X10 MD8800 remote controll

# disable ati_remote
echo "blacklist ati_remote" >> /etc/modprobe.d/blacklist

# update lircd config
wget http://lirc.sourceforge.net/remotes/atiusb/lircd.conf.atilibusb -O /usr/share/lirc/remotes/atiusb/lircd.conf.atilibusb

# reconfigure
sudo dpkg-reconfigure lirc
Remote control configuration: ATI/NVidia/X10 RF Remote (userspace)
IR transmitter, if present: None

# xbmc medion x10 double key can by fixed with ~/.xbmc/userdata/advancedsettings.xml

4

Download

Ubuntu 14.04 LTS (Trusty Tahr)

Enable root ssh login
sed -i 's|PermitRootLogin without-password|PermitRootLogin yes|g' /etc/ssh/sshd_config
echo "root:t00r" | chpasswd
service ssh restart

Repository
# Ubuntu Trusty updates repository
cat < /etc/apt/sources.list.d/trusty-updates.list
deb http://de.archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
EOF

apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32 40976EAF437D05B5

Install email server (Postfix, Courier, SASL, fetchmail, maildrop, amavisd-new)

# ToDo
# configure antivirus
# configure antispam
# configure secure connections
 
#
# configure timezone and locale
#
# dpkg-reconfigure tzdata
# locale-gen de_DE
 
# install Postfix
http://www.panticz.de/Install-Postfix
 
# install Dovecot
http://www.panticz.de/Install-Dovecot
 
#
# SASL
#
# install
apt-get install -y sasl2-bin
 
# post-configure
cp /etc/default/saslauthd /etc/default/saslauthd.$(date -I)
sed -i 's|START=no|START=yes|g' /etc/default/saslauthd
#sed -i 's|OPTIONS="-c -m /var/run/saslauthd"|OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"|g' /etc/defaul

Fileserver (Samba and DHCP)

#!/bin/bash
 
# set domU name
DOMAIN_NAME=srv
 
# install vm
xen-create-image --hostname=$DOMAIN_NAME --dhcp --mac=00:11:cc:ab:cd:ef \
--lvm=vg01 --dist=jaunty --mirror=http://archive.ubuntu.com/ubuntu/ --size=4Gb --memory=1Gb --swap=1Gb
 
# rename config file
mv /etc/xen/${DOMAIN_NAME}.cfg /etc/xen/${DOMAIN_NAME}
 
# add to autostart
ln -s /etc/xen/${DOMAIN_NAME} /etc/xen/auto
 
# create lvm for home
lvcreate --name ${DOMAIN_NAME}-media --size 200G vg01
mkfs.ext3 /dev/vg01/${DOMAIN_NAME}-media
 
# configure domU
vi /etc/xen/${DOMAIN_NAME}
(add)
'phy:/dev/vg01/srv-media,xvda3,

Update debootstrap

# update debootstrap
wget -q --no-check-certificate https://raw.githubusercontent.com/panticz/xen/master/scripts/update_debootstrap.sh -O - | bash -
 
#
# OLD?
#
# create recipe
cd /usr/lib/xen-tools/
[ ! -f  lucid.d ] && ln -s karmic.d lucid.d
[ ! -f  maverick.d ] && ln -s karmic.d maverick.d
[ ! -f  natty.d ] && ln -s karmic.d natty.d
[ ! -f  oneiric.d ] && ln -s karmic.d oneiric.d
[ ! -f  precise.d ] && ln -s karmic.d precise.d
[ ! -f  quantal.d ] && ln -s karmic.d quantal.d
[ ! -f  raring.d ] && ln -s karmic.d raring.d
[ ! -f  precise.d ] && ln -s karmic.d trusty.d
[ !

Add proposed repository

#!/bin/bash
 
cat <<EOF>> /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe
EOF

Compile error on Intrepid

/home/pako/xserver-xorg-video-ati-6.6.3# fakeroot ./debian/rules binary
 
mkdir stampdir
>stampdir/stampdir
if [ ! -e stampdir/patches ]; then \
		mkdir stampdir/patches; \
		ln -s stampdir/patches .pc; \
		echo 2 >stampdir/patches/.version; \
	fi; \
	if [ ! -e stampdir/log ]; then \
		mkdir stampdir/log; \
	fi; \
	if [ ! -e patches ]; then \
		ln -s debian/patches patches; \
	fi; \
	>stampdir/prepare
if ! [ `which quilt` ]; then \
		echo "Couldn't find quilt.
Syndicate content