index_html
root@zimbra:/# /etc/init.d/zimbra start # Apply patch and restart Zimbra
root@zimbra:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2640 184 ? S 00:39 0:00 init [2]
root 2 0.0 0.0 0 0 ? S 00:39 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 00:39 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 00:39 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S< 00:39 0:00 [events/0]
root 6 0.0 0.0 0 0 ? S< 00:39 0:00 [khelper]
root 7 0.0 0.0 0 0 ? S< 00:39 0:00 [kthread]
root 8 0.0 0.0 0 0 ? S< 00:39 0:00 [xenwatch]
root 9 0.0 0.0 0 0 ? S< 00:39 0:00 [xenbus]
root 14 0.0 0.0 0 0 ? S< 00:39 0:00 [migration/1]
root 15 0.0 0.0 0 0 ? SN 00:39 0:00 [ksoftirqd/1]
root 16 0.0 0.0 0 0 ? S< 00:39 0:00 [watchdog/1]
root 17 0.0 0.0 0 0 ? S< 00:39 0:00 [events/1]
root 18 0.0 0.0 0 0 ? S< 00:39 0:00 [migration/2]
root 19 0.0 0.0 0 0 ? SN 00:39 0:00 [ksoftirqd/2]
root 20 0.0 0.0 0 0 ? S< 00:39 0:00 [watchdog/2]
root 21 0.0 0.0 0 0 ? S< 00:39 0:00 [events/2]
root 22 0.0 0.0 0 0 ? S< 00:39 0:00 [migration/3]
root 23 0.0 0.0 0 0 ? SN 00:39 0:00 [ksoftirqd/3]
root 24 0.0 0.0 0 0 ? S< 00:39 0:00 [watchdog/3]
root 25 0.0 0.0 0 0 ? S< 00:39 0:00 [events/3]
root 30 0.0 0.0 0 0 ? S< 00:39 0:00 [kblockd/0]
root 31 0.0 0.0 0 0 ? S< 00:39 0:00 [kblockd/1]
root 32 0.0 0.0 0 0 ? S< 00:39 0:00 [kblockd/2]
root 33 0.0 0.0 0 0 ? S< 00:39 0:00 [kblockd/3]
root 72 0.0 0.0 0 0 ? S 00:39 0:00 [pdflush]
root 75 0.0 0.0 0 0 ? S< 00:39 0:00 [aio/0]
root 76 0.0 0.0 0 0 ? S< 00:39 0:00 [aio/1]
root 77 0.0 0.0 0 0 ? S< 00:39 0:00 [aio/2]
root 78 0.0 0.0 0 0 ? S< 00:39 0:00 [aio/3]
root 74 0.0 0.0 0 0 ? S 00:39 0:00 [kswapd0]
root 213 0.0 0.0 0 0 ? S< 00:39 0:00 [cqueue/0]
root 214 0.0 0.0 0 0 ? S< 00:39 0:00 [cqueue/1]
root 215 0.0 0.0 0 0 ? S< 00:39 0:00 [cqueue/2]
root 216 0.0 0.0 0 0 ? S< 00:39 0:00 [cqueue/3]
root 217 0.0 0.0 0 0 ? S< 00:39 0:00 [kseriod]
root 324 0.0 0.0 0 0 ? S< 00:39 0:00 [kpsmoused]
root 885 0.0 0.0 0 0 ? S 00:39 0:00 [kjournald]
root 1052 0.0 0.0 10532 132 ? S<s 00:39 0:00 /sbin/udevd --daemon
root 1698 0.0 0.0 4812 80 ? Ss 00:39 0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
klog 1700 0.0 0.0 2636 180 ? Ss 00:39 0:00 /sbin/klogd -P /var/run/klogd/kmsg
root 1725 0.0 0.0 2700 160 ? Ss 00:39 0:00 /sbin/mdadm -F -i /var/run/mdadm.pid -m root -f -s
root 1746 0.0 0.0 11428 260 ? Ss 00:39 0:00 /usr/sbin/cron
root 1910 0.0 0.1 25760 400 ? Ss 00:39 0:00 /usr/sbin/sshd
root 1920 0.0 0.0 2632 152 tty1 Ss+ 00:39 0:00 /sbin/getty 38400 tty1
root 27083 0.0 0.2 2060 660 ? Ss 01:18 0:00 /usr/sbin/cron
root 29428 0.0 0.0 0 0 ? S 01:19 0:00 [pdflush]
syslog 2702 0.0 0.1 6952 324 ? Ss 01:26 0:00 /sbin/syslogd -u syslog
syslog 11122 0.0 0.2 1704 640 ? Ss 06:25 0:00 /sbin/syslogd -u syslog
root 11541 0.0 1.1 36712 3072 ? Ss 06:44 0:00 sshd: root@pts/0
root 11543 0.0 0.7 10268 1860 ? Ss 06:45 0:00 -bash
root 11556 0.0 0.5 2640 1536 ? S 06:45 0:00 /bin/bash -i
zimbra 11609 0.0 1.5 17712 3920 ? Ssl 06:45 0:00 /opt/zimbra/openldap-2.3.21/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://zimbra.stacktrace.org:389 -f /opt/zimbra/conf/slapd.conf
zimbra 11744 0.0 0.5 2928 1492 ? S 06:45 0:00 /bin/sh /opt/zimbra/logger/mysql/bin/mysqld_safe --defaults-file=/opt/zimbra/conf/my.logger.cnf --ledir=/opt/zimbra/logger/mysql/lib
zimbra 11746 0.2 1.5 5704 3924 ? S 06:45 0:00 /usr/bin/perl /opt/zimbra/libexec/logswatch --config-file=/opt/zimbra/conf/logswatchrc --use-cpan-file-tail --script-dir=/tmp -t /va
zimbra 11760 0.0 0.8 4540 2164 ? S 06:45 0:00 /usr/bin/perl /opt/zimbra/libexec/zmmtaconfig
zimbra 11778 0.0 0.5 2936 1500 ? S 06:45 0:00 /bin/sh /opt/zimbra/mysql/bin/mysqld_safe --defaults-file=/opt/zimbra/conf/my.cnf --ledir=/opt/zimbra/mysql/libexec
zimbra 11851 0.5 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 11852 0.7 2.4 8332 6436 ? S 06:45 0:00 /usr/bin/perl /tmp/.swatch_script.11746
zimbra 11869 0.4 7.2 126344 18864 ? S 06:45 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
zimbra 11870 0.0 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 11871 0.0 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 11872 0.0 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 11873 0.0 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 11874 0.0 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 11879 0.2 1.5 6776 3996 ? S 06:45 0:00 /usr/bin/perl /opt/zimbra/libexec/zmlogger
zimbra 11883 0.0 7.2 126344 18864 ? S 06:45 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
zimbra 11884 0.0 7.2 126344 18864 ? S 06:45 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
zimbra 11885 0.0 7.2 126344 18864 ? S 06:45 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
zimbra 11886 0.0 7.2 126344 18864 ? S 06:45 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
zimbra 11887 0.0 7.2 126344 18864 ? S 06:45 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
zimbra 11914 0.0 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 11915 0.0 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 11916 0.0 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 11917 0.0 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 11920 0.0 7.2 126344 18864 ? S 06:45 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
zimbra 11921 0.0 7.2 126344 18864 ? S 06:45 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
zimbra 11924 0.0 7.2 126344 18864 ? S 06:45 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
zimbra 11925 0.0 7.2 126344 18864 ? S 06:45 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
zimbra 11995 0.0 5.4 52328 14152 ? S 06:45 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
root 12016 0.0 0.1 1484 364 ? Ss 06:45 0:00 /opt/zimbra/libexec/zmtomcatmgr start -Xms76m -Xmx76m -client -XX:NewRatio=2 -Djava.awt.headless=true
root 12017 21.1 21.8 266484 57036 ? Rl 06:45 0:02 /opt/zimbra/jdk1.5.0_08/bin/java -Xms76m -Xmx76m -client -XX:NewRatio=2 -Djava.awt.headless=true -Dcatalina.base=/opt/zimbra/apache-
zimbra 12057 0.7 1.5 5696 3936 ? S 06:45 0:00 /usr/bin/perl /opt/zimbra/libexec/swatch --config-file=/opt/zimbra/conf/swatchrc --use-cpan-file-tail --script-dir=/tmp -t /var/log/
zimbra 12063 0.2 0.3 2464 984 ? Ss 06:45 0:00 /opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf -d --checks=12
zimbra 12070 1.3 2.4 8348 6464 ? S 06:45 0:00 /usr/bin/perl /tmp/.swatch_script.12057
zimbra 12072 0.1 1.6 9220 4416 ? Ss 06:45 0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 12079 0.0 1.4 9220 3732 ? S 06:45 0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 12080 0.0 1.4 9220 3732 ? S 06:45 0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 12081 0.0 1.4 9220 3732 ? S 06:45 0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 12083 0.0 1.4 9220 3732 ? S 06:45 0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 12084 0.0 1.4 9220 3732 ? S 06:45 0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 12109 0.1 7.3 20824 19156 ? Ss 06:46 0:00 /opt/zimbra/clamav/sbin/clamd --config-file /opt/zimbra/conf/clamd.conf
root 12188 0.0 0.6 6464 1676 ? Ss 06:46 0:00 /opt/zimbra/postfix-2.2.9/libexec/master
postfix 12213 0.0 0.6 6520 1636 ? S 06:46 0:00 pickup -l -t fifo -u
postfix 12214 0.2 0.6 6564 1668 ? S 06:46 0:00 qmgr -l -t fifo -u
zimbra 12234 0.0 0.3 5712 964 ? Ss 06:46 0:00 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
zimbra 12235 0.0 5.4 52328 14152 ? S 06:46 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=
zimbra 12238 0.0 0.2 5712 568 ? S 06:46 0:00 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
zimbra 12240 0.0 0.1 5712 504 ? S 06:46 0:00 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
zimbra 12241 0.0 0.1 5712 504 ? S 06:46 0:00 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
zimbra 12242 0.0 0.1 5712 504 ? S 06:46 0:00 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
zimbra 12250 0.0 7.2 126344 18864 ? S 06:46 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data -
postfix 12274 0.0 0.6 6520 1636 ? S 06:46 0:00 showq -t unix -u
zimbra 12290 3.0 14.8 47060 38740 ? Ds 06:46 0:00 amavisd (master)
root 12291 1.0 0.3 2136 884 ? R+ 06:46 0:00 ps aux
Prep the Chroot
#!/bin/bash
#
# aptitude update && aptitude -y install curl nano && curl http://stacktrace.org/archive/.nanorc | tr -d '\r' > ~/.nanorc # get cURL, then use it to grab Nano syntax colouring file
# nano zimbra-install.sh && chmod +x zimbra-install.sh && ./zimbra-install.sh # paste the contents of this script into Nano and you're off
# set chroot directory
export CHROOT=/opt/zimbra-chroot # change this to where you want your zimbra ubuntu distro chroot to live
export ZIMBRA_TGZ_URL=http://umn.dl.sourceforge.net/sourceforge/zimbra/zcs-4.5.1_GA_660.UBUNTU6.tgz
if [ -z "$CHROOT" ]; then echo CHROOT must be set otherwise the install will happen on the host system! && sleep 20 && exit; fi
if [ `hostname|grep '\.'|wc -l` -eq 0 ]; then echo hostname must be a FQDN resolvable via DNS and/or hosts file && sleep 20 && exit; fi
if [ ! -f /etc/timezone ]; then tzconfig; fi # configure timezone on host
# You must be root to complete this... `sudo su -`
if [ $UID -ne 0 ]; then echo You must be root to run this; fi
# Install Chroot
sed -ie "s/#*[ ]*deb \(.*\) universe$/deb \1 universe/" /etc/apt/sources.list # make sure 'universe' deb repository is enabled
aptitude update && aptitude -y install dchroot debootstrap
if [ `grep $CHROOT /etc/dchroot.conf | wc -l` -eq 0 ]; then echo zimbra $CHROOT >>/etc/dchroot.conf; fi
# build chroot
mkdir -p $CHROOT
if [ `mount | grep $CHROOT/dev | wc -l` -eq 0 ]; then # mount dev for the chroot
mkdir -p $CHROOT/dev # mount dev starts
mount --bind /dev $CHROOT/dev # so that networking works inside chroot
fi
if [ `mount | grep $CHROOT/proc | wc -l` -eq 0 ]; then # mount proc for the chroot
mkdir -p $CHROOT/proc # mount proc starts
mount -t proc proc $CHROOT/proc
fi
debootstrap --arch i386 `grep DISTRIB_CODENAME /etc/lsb-release|cut -d= -f2` $CHROOT http://archive.ubuntu.com/ubuntu # Initalize Ubuntu chroot
cp /etc/timezone $CHROOT/etc/timezone && cp /etc/localtime $CHROOT/etc/localtime # copy timezone info from host to chroot
rm $CHROOT/bin/sh && ln -s /bin/bash $CHROOT/bin/sh # Zimbra wants bash as default shell
echo 127.0.0.1 localhost >>$CHROOT/etc/hosts; # must be first for MySQL5 server to resolve DNS via localhost or Zimbra will not start!
# Set chroot hostname to be the same as the host environment
if [ `grep $(hostname) $CHROOT/etc/hosts|wc -l` -eq 0 ]; then
echo `ifconfig eth0 | grep Bcast | cut -d: -f2 | cut -d' ' -f1` `hostname` >>$CHROOT/etc/hosts;
fi
export ZIMBRA_TGZ=`echo $ZIMBRA_TGZ_URL| rev | cut -d/ -f1 | rev`
if [ ! -f $ZIMBRA_TGZ ]; then
wget $ZIMBRA_TGZ_URL
fi
mkdir -p $CHROOT/opt && cp $ZIMBRA_TGZ $CHROOT/opt/ && tar --directory=$CHROOT/opt -zxvf $ZIMBRA_TGZ
if [ `grep universe $CHROOT/etc/apt/sources.list|wc -l` -eq 0 ]; then echo deb http://archive.ubuntu.com/ubuntu `grep DISTRIB_CODENAME /etc/lsb-release | cut -d= -f2` universe>>$CHROOT/etc/apt/sources.list; fi # Enable Universe
curl http://stacktrace.org/archive/.nanorc | tr -d '\r' > $CHROOT/root/.nanorc && cp $CHROOT/root/.nanorc $CHROOT/opt/zimbra # Syntax highlighting for Nano
chroot $CHROOT /bin/bash
echo Commands in this list that follow must be execute manually inside chroot!!! && sleep 30 && exit
## Inside chroot - do Zimbra install
dpkg --print-architecture # this should say i386
dpkg-reconfigure locales # finish chroot set-up
if [ `mount | grep $CHROOT/dev | wc -l` -eq 0 ]; then echo /dev is not properly mounted, go out of the chroot jail and mount it. && echo i.e. mount --bind /dev $CHROOT/dev && sleep 30; fi
if [ `mount | grep $CHROOT/proc | wc -l` -eq 0 ]; then echo /proc is not properly mounted, go out of the chroot jail and mount it. && echo i.e. mount -t proc proc $CHROOT/proc && sleep 30; fi
aptitude update && aptitude -y install nano wget slay patch psmisc cron openssh-client file libidn11 curl fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++6 openssl # install zimbra prerequsites, skip MTA config
if [ -f /etc/init.d/exim4 ]; then
/etc/init.d/exim4 stop && dpkg --purge exim4 # exim4 conflicts with Zimbra MTA
fi
cd /opt/zcs && ./install.sh # Start the install
## /opt/zimbra/libexec/zmsetup.pl # if install doesn't complete may need to rerun this.
# /etc/init.d/zimbra start # start it up
# umount $CHROOT/dev $CHROOT/proc && rm -rf $CHROOT # use to wipeout chroot directory for redo
Inside the chroot
echo Must execute the following manually inside chroot && exit
## Inside chroot - do Zimbra install
dpkg --print-architecture # this should say i386
dpkg-reconfigure locales && tzconfig # finish chroot set-up
aptitude update && aptitude install nano wget slay psmisc cron openssh-client file libidn11 curl fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++6 openssl # install zimbra prerequsites, skip MTA config
if [ -f /etc/init.d/exim4 ]; then
/etc/init.d/exim4 stop && dpkg --purge exim4 # exim4 conflicts with Zimbra MTA
fi
cd /opt/zcs && ./install.sh # Start the install
## /opt/zimbra/libexec/zmsetup.pl # if install doesn't complete may need to rerun this.
# /etc/init.d/zimbra start # start it up
Stove: CFEF312AS1 - Electrolux/Frigidare (Volt: 120/208, 120/240, 60 Hertz)
Steps to MythTV HD
- Configure X.org w/ Nvidia driver setting TVStandard "HD1080i" on Component out (Disable Beryl for MythTV user to smooth out playback)
- Figure out how to reduce the gamma permanently (0.8 seems good)
- Install Asus Coax/Optical back plate panel (using HDMI_SPDIF mobo header)
- Figure out how to get the ALC883 to do SPDIF (unmute IEC958/SPDIF in Alsamixer)
- Upgrade + Patch
- Adjust MythTV offset to Width 1776, Height 1020, X.offset 80, y.offset 30 (change to underscan, change playback to overscan) - http://www.mythtv.org/docs/mythtv-HOWTO-23.html#ss23.4
- Change Myth audio from '/dev/mixer' to 'default'
- Create KDM Auto-login account as mythtv user && run mythtv (set background to black w/ no window manager)
- Fix LIRC after kernel upgrade - see this bug: https://launchpad.net/ubuntu/+source/lirc/+bug/78140
http://ubuntuforums.org/showpost.php?p=1963800&postcount=2
http://knoppmythwiki.org/index.php?page=DigitalAudioHowTo
http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound
http://galileo.lct.jussieu.fr/~frames/WIKI/mediawiki/index.php/Scientific_Linux_Alsa_Problems_27_december_2006
http://www.gossamer-threads.com/lists/mythtv/users/117623?nohighlight=1#117623
http://www.mythtv.org/wiki/index.php/Modeline_Database
http://www.mythtv.org/wiki/index.php/XorgConfMonitorSectionForTV
1080i mode howtos:
http://www.fedoraforum.org/forum/showthread.php?p=721770
http://ubuntuforums.org/showthread.php?t=334537
Superbowl Countdown
<html>
<body>
<td id="center">
<script type="text/javascript">
<!-- // Browser / OS Detection
var IE = (document.all) ? 1 : 0;
var DOM = (document.getElementById) ? 1 : 0;
var NS4 = (document.layers) ? 1 : 0;
var MAC = ((navigator.appVersion.indexOf("PPC") >0) || (navigator.appVersion.indexOf("Mac") >0)) ? 1 : 0;
var nTime;
// Date.UTC(YYYY, MM, DD[, hh[, mm[, ss[, ms]]]])
// TARGET DATE
var Tyear=2007;
var Tmonth=2; //ex. Jan.=1, Feb.=
var Tday=4;
var Thour=18;
var Tmin=25;
var Tsec=0;
var Tms=0;
// adjust for EST
Tmonth = Tmonth-1; Thour=Thour+5;
var nTarget = Date.UTC(Tyear, Tmonth, Tday, Thour, Tmin, Tsec, Tms)
function drawCountdown(layer,text) {
if (DOM && document.getElementById(layer)) {
document.getElementById(layer).innerHTML = text;
}
else if (IE && document.all[layer]) {
document.all[layer].innerHTML = text;
}
}
function Tick() {
var dNow = new Date();
nTime = nTarget - dNow.valueOf(); // milliseconds until target
if (nTime < 0) nTime = 0;
nTime = Math.floor(nTime / 1000); // seconds until target
// Display("cdDay2", "cdDay1", "cdDay0", 86400); // seconds per day
Display("cdDay2", "cdDay1", "cdDay0", 86400); // seconds per day
Display(null, "cdHour1", "cdHour0", 3600); // seconds per hour
Display(null, "cdMinute1", "cdMinute0", 60); // seconds per minute
Display(null, "cdSecond1", "cdSecond0", 1); // seconds per second
}
function Display(el2, el1, el0, nDivisor) {
var nValue = (nTime - (nTime %= nDivisor)) / nDivisor;
//alert (nValue);
drawCountdown(el0,(nValue % 10));
nValue = Math.floor(nValue / 10);
drawCountdown(el1,(nValue % 10));
if (el2) {
nValue = Math.floor(nValue / 10);
drawCountdown(el2,(nValue % 10));
}
}
if (IE || DOM) {
Tick();
window.setInterval('Tick()', 1000);
}
//-->
</script>
<style type="text/css">
div#sbCountDown {
background: url('http://images.nfl.com/images/sb41/countdown_clock_bg.gif') no-repeat center center;
width: 390px;
margin: 0px auto;
text-align: center;
padding-top: 30px;
padding-bottom: 10px;}
div#sbCountDown span {font-size: 11px; font-weight: bold;}
div#sbCountDown span.label {padding: 0 5px 0 2px; font-weight: normal;}
</style>
<div id="sbCountDown">
<span id=cdDay2></span><span id=cdDay1></span><span id=cdDay0></span><span class="label">DAYS</span>
<span id=cdHour1></span><span id=cdHour0></span><span class="label">HRS</span>
<span id=cdMinute1></span><span id=cdMinute0></span><span class="label">MINS</span>
<span id=cdSecond1></span><span id=cdSecond0></span><span class="label">SECS</span>
</div>
</body>
</html>
A fishtape is pretty easy to use, once you get the hang of it.
It's just a flat steel wire with a slight bend in it from being coiled.
Basically what you are doing is pushing the fishtape through the hole in the ceiling, then along the ceiling to the other hole.
When the tape "hook" reaches the other end, you'd tape the speaker wire
to the "hook" and rewind the tape, thus pulling the wire to where you
need it.
A couple of pointers:
* If you can, get a couple of spools of wire so you can run both speakers at once.
* If it feels like the end of the tape is stuck, just give it a wiggle or twist the tape 180 degrees and back, it will often unstick. If the fishtape keeps going into the wall, but the end
doesn't move forward, it's stuck. Rewind a bit and try again. This is where a second person comes in handy.
* Try to keep the bend going the same way the whole time.
* Make sure you are going with the flow of your joists. It seems obvious, but in a ceiling it's not always clear which way they go.
* It's easier to fish shorter distances than longer, so if it's possible fish the ceiling run, then the wall run. If not, don't worry about it.
* Two people make the job easier, you can have one person listen for the end of the tape in the wall. (It'll scrape).
* When you tape your wire to the end, make the tape bundle as small as possible(while still being secure, nothing sucks more than having your wire come off halfway through the wall).
* Also, make sure there are no tape edges to "snag". Rule #1 of fishing wire -" if it can snag, it will."
How to add EclipseTask
<taskdef resource="com/joeygibson/ant/eclipseclasspath.properties">
<classpath>
<pathelement location="${libraries.basedir}/eclipseclasspathtask/eclipseclasspathtask.jar"/>
<pathelement location="${libraries.basedir}/eclipseclasspathtask/jdom.jar"/>
</classpath>
</taskdef>
<eclipsecp pathid="project.class.path.eclipse" dir="${project.topdir}" verbose="true"/>
NCIX Shipment http://shipnow.purolator.com/shiponline/track/moredetailsFramesetWeb.asp?pin=BKJ0391093&LANG=E
FreeNX on Edgy/AMD64
Here are the instructions:
if [ "`grep http://mirror.ubuntulinux.nl /etc/apt/sources.list | wc -l`" -eq "0" ]; then
sudo echo # FreeNX>>/etc/apt/source.list
sudo echo deb http://mirror.ubuntulinux.nl dapper-seveas all>>/etc/apt/source.list
sudo gpg --keyserver subkeys.pgp.net --recv-keys 1135D466
sudo gpg --export --armor 1135D466 | sudo apt-key add -
fi
sudo aptitude update
for nxf in "http://www.math.nyu.edu/faculty/kleeman/amd64/nxagent_1.4.92+1.5.0-11ubuntu1+0.local.1_all.deb" \
"http://www.math.nyu.edu/faculty/kleeman/amd64/nxlibs_1.4.92+1.5.0-11ubuntu1+0.local.1_all.deb" \
"http://www.math.nyu.edu/faculty/kleeman/amd64/libxcomp1_1.4.92+1.5.0-11ubuntu1+0.local.1_all.deb" \
"http://www.math.nyu.edu/faculty/kleeman/amd64/libxcompext1_1.4.92+1.5.0-11ubuntu1+0.local.1_all.deb"; do
wget ${nxf}
done
sudo ssh $USER@127.0.0.1 # Type 'yes' accept local key, if you haven't done so already then abort connection
sudo dpkg -i nx*.deb libxcomp*.deb
sudo aptitude install freenx
# Use ver 1.5.0 nxclient/Win32 with 1.4.0 freenx (2.0+ client won't work)
# Use NoMachine keys so Win32 client works by default, change it later if you know what you are doing
sudo echo "AuthorizedKeysFile /var/lib/nxserver/home/.ssh/authorized_keys2" >> /etc/ssh/sshd_config
sudo nxserver --adduser $USER
sudo /etc/init.d/ssh restart
sudo nxserver --restart
# If you connect and your keyboard gives you "e"'s instead of "/", use `setxkbmap us`
Compiled from:
- http://ubuntuforums.org/showthread.php?t=277888#3
- http://ubuntuforums.org/showthread.php?t=156019
- http://applications.linux.com/article.pl?sid=06/05/05/1718238&tid=26&tid=47&tid=29
VPN
https://cmremote.rbccm.com/motivus/Era.asp
How to fix a file in CVS that should be ASCII, but was checked in as Binary...
cvs update -kkv [binary_file_that_should_be_ASCII]
cvs commit -f [binary_file_that_should_be_ASCII]
Super Joy Box 5 Pro
sudo lsusb -v -d 6666:8804
Bus 001 Device 004: ID 6666:8804 Prototype product Vendor ID
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x6666 Prototype product Vendor ID
idProduct 0x8804
bcdDevice 1.00
iManufacturer 1 WiseGroup.,Ltd
iProduct 2 TigerGame PS/PS2 Game Controller Adapter
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 116
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
Air Canada Carry-on Baggage Policy
Carry-On Baggage Policy
Oversized carry-on bags cause many flight delays, so don't forget to confirm your allowance before your trip. Air Canada will be strictly enforcing the carry-on baggage policy effective immediately. Items, which fall within the 2-piece carry-on allowance, include: Carry-on bags or suitcases (wheels and handles included in the size), briefcases, Laptop computers, diaper bags, camera cases, cartons or other similar items. Learn more about Carry-On Baggage restrictions.
| |
Maximum Size | Maximum Weight |
| 1 standard article | 23cm x 40cm x 55cm 9" x 15.5" x 21.5" |
10 kg 22 lbs |
| 1 personal article | 16cm x 33cm x 43cm 6" x 13" x 17" |
10 kg 22 lbs |
Checked Baggage Policy
Air Canada and its regional carrier allow each customer to bring two pieces of luggage in Hospitality Service and three pieces in Executive Class/Executive First at no charge. Learn more about Checked Baggage restrictions.
| |
Maximum overall measurement (Lenght + Width + Height) |
Maximum Weight | |
| Hospitality Service | 158cm 62" |
23 kg 50 lbs |
Bags weighing between 24kg - 32kg (51 lbs - 70 lbs) will be subject to excess fees payable at the airport. |
| Executive Class Executive First |
158cm 62" |
32 kg 70 lbs |
Total weight of the three bags must not exceed 69kg (150lbs). |
Note that checked baggage above 32 kg (70 lbs) will not be accepted.
Add a widget like this to promote site content:
Command to install XMMS Embedded on Loop mount on OZ 3.5.3:
ipkg -d loop install \
http://openzaurus.org/official/unstable/3.5.3/feed/libs/libglib-2.0-0_2.6.3-r0_arm.ipk http://openzaurus.org/official/unstable/3.5.3/feed/libs/libmikmod_3.2.0-beta2-r0_arm.ipk http://openzaurus.org/official/unstable/3.5.3/feed/libs/libid3tag0_0.15.0b-r0_arm.ipk http://openzaurus.org/official/unstable/3.5.3/feed/libs/libmad0_0.15.0b-r0_arm.ipk http://openzaurus.org/official/unstable/3.5.3/feed/libs/libvorbisidec1_svn-20050403-r0_arm.ipk http://openzaurus.org/official/unstable/3.5.3/feed/libs/libsidplay1_1.36.59-r0_arm.ipk xmms-embedded
Building a Xen Kernel the Debian way
You can take a vanilla 2.6.10 or the Debian patched 2.6.10. I would recommend the Debian patched one.You uncompress the kernel-source somewhere, copy in your .config, that is fine.
The command you wish to run is:
make-kpkg --added-patches=xen --arch=xen --subarch=xen0 --revision=xenserver.0.1 debianThis patches the kernel and creates the ./debian directory in your source. After that you can run:
make ARCH=xen menuconfigAnd tune it to your liking. And after that, you compile the kernel:
make-kpkg --added-patches=xen --arch=xen --subarch=xen0 --revision=xenserver.0.1 kernel-image
And you are done. Not all of the flags need to be present in all phases, but it doesn't hurt either. Do also note that make-kpkg has some problems with --initrd combined with --arch=xen, so don't do that.
Building a custom Xen Kernel
This is what worked for me (from memory). I unpacked a fresh copy of linux 2.6.10 source, and then did:
# First make and install xen and the tools
cd xen-2.0-testing
make xen tools
cd ..
# Then make and install the kernel
cp -a --reply=yes xen-2.0-testing/linux-2.6.10-xen-sparse/* linux-2.6.10
cp .config linux-2.6.10
cd linux-2.6.10
Now you can either do
make xconfig ARCH=xen
or
make oldconfig ARCH=xen make ARCH=xen
cp vmlinuz /boot/vmlinuz-2.6.10-xen
# Then edit bootloader configuration
nano /etc/grub.conf
Note that Xen will automatically remove items in your kernel config which it thinks won't work.
--------------
cd xen-2.0
find . -name *onfig* -print
=> ... ./linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig ./linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig
these get picked up when you make world. You'll have to merge options from both the Xen default config and your own to get what you want.
Speed up Firefox: How To Speed Up Firefox
(Helpful Vanity) Posted on 12/12/2004 12:45:50 PM PST by KoRn Here's something for broadband people that will really speed Firefox up:
1.Type "about:config" into the address bar and hit return. Scroll down and look for the following entries: network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.
2. Alter the entries as follows: Set "network.http.pipelining" to "true" Set "network.http.proxy.pipelining" to "true" Set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.
3. Lastly right-click anywhere and select New-> Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it receives. If you're using a broadband connection you'll load pages MUCH faster now!
Notes
- Deamon Tools can cause BSOD (ntfs.sys) when trying to mount remote file shares, copy the image files to the local machine before mounting.
- Set WL_HOME and MYSQL_DRIVER var's below and run to put the MySQL jar in the Weblogic classpath:
SET WL_HOME=D:\bea\weblogic81
SET MYSQL_DRIVER=C:\Java\JDBC\mysql-connector-java-3.1.6-bin.jar
find "MYSQL" "%WL_HOME%\common\bin\commEnv.cmd"
if %ERRORLEVEL%==1 ( echo. >> "%WL_HOME%\common\bin\commEnv.cmd" echo @rem MySQL JDBC Driver Install - GED 2005 >> "%WL_HOME%\common\bin\commEnv.cmd" echo SET MYSQL_DRIVER=%MYSQL_DRIVER% >> "%WL_HOME%\common\bin\commEnv.cmd" echo SET CLASSPATH=%%MYSQL_DRIVER%%;%%CLASSPATH%% >> "%WL_HOME%\common\bin\commEnv.cmd" )
- find . -name *.php -exec grep -Hn "string" {} \; HTMLElement.prototype.__defineGetter__("runtimeStyle", function() { return document.defaultView.getComputedStyle(this, null); });
WebDAV and Plone Warning: WebDAV makes plone memory leak like a bitch on Plone 2.0.3 w/ Zope 2.6.2, so if you use it remember to restart Zope after.
- Release order and estimated release times:
- DM7020-S estimated to be released from about 20.01.2005
- DM7080-S estimated to be released from about 01.03.2005
- DM7025-S/T/C estimated to be released about 01.04.2005
- DM7085-S/T/C estimated to be released about 01.05.2005
- DM8000-S/T/C HDTV model estimated to be released some time second half 2005
To Do
-
New Years stuff
-
Driving Lessons
-
Cooking Classes
-
Dodgeball
-
Basketball
- Learn about: import weblogic.application.ApplicationLifecycleEvent; import weblogic.application.ApplicationLifecycleListener;
- UPS: Returning Home
- UPS: X1000 Laptop 2nd California Trip
- find Futureshop TV reciept & call Futureshop regarding TV bug (see here) 1-800-663-2275
- Buy DM-8000-T HDTV capable PVR/Linux box
- Sell Laptop
- Using OpenJMS with Tomcat
- ActiveMQ based JMS logger to be used by Log4J
- http://openembedded.org/oe_wiki/index.php/OzReleaseNotes
To Do Later
- Remaster Knoppix for Centrino - http://debian.tu-bs.de/knoppix/remaster/ (if HP ever fixes my fucking laptop)
- Trade Jeff HDTV Tuner for W1N Laptop bag by Targus Bag? (Customer Part#15-180303600 Model# ASUS23031KR2)
- set-up Stunnel for POP3s /usr/share/doc/stunnel/README.Debian
- RBC Internal Job Postings
- TogetherSoft for Eclipse
Done
- UPS: Universe Chart
- Pick-up Zenith HDTV tuner from Ocean No. 1 (Map) on Saturday
- HP Laptop Ticket -- New Case #7314982093 (90 Warranty Extension on any HDD related issues)
- JUG @ Ryerson - Oct 5: The Spring Framework
Remastering Knoppix
- nxserver --adduser knoppix; echo knoppix | nxserver --passwd knoppix
- swapon
- cd ~; wget http://debian.tu-bs.de/knoppix/remaster/remaster_0.1-6.tar.gz; tar zxvf remaster_0.1-6.tar.gz; cd remaster-0.1; ./knoppix-remaster
- chroot /mnt/hda2/remaster; export DISPLAY=knoppix:1000.0; synaptic
- make your linux dir is not too long (I moved /mnt/hda2/remaster/usr/src/kernel-source-2.4.21-ged-usb-cuecat2 to /mnt/hda2/remaster/usr/src/l/) when I got: /bin/sh: line 1: scripts/mkdep: Argument list too long make: *** [dep-files] Error 126
- export CC=gcc-2.95
- wget http://developer.linuxtag.net/knoppix/sources/cloop_2.00-1.tar.gz
- tar -zxvf cloop_2.00-1.tar.gz
- make-kpkg clean; make-kpkg binary
Training
Recent Training:- RD601CE: Mastering Object-Oriented Analysis and Design with UML (Attended Feb 2, 2004)
- WF601CE: WebSphere Studio Application Developer V5 for J2EE (Attended June 7, 2004)
- OOUML: OO Analysis & Design Using UML, Java, Rational Rose and Design Patterns (Attended Aug 9, 2004)
- WS801CE: WebSphere Best Practices Mentored Workshop (Attended Sept 27, 2004)
UPS Shipping
- UPS Rates for Canadian Customs clearance
- UPS Shipping from NC to Toronto
- Reciepts from Shipment down to Milpitas
- Find a way to wire $100 USD to Becky so she can send via expedited
Done
- Pick-up table from Structube on Thursday or Friday
- HDTV Antenna - UPS Tracking
- Ship Laptop back for repair (done) - UPS Tracking
- Matt Good's 'Put Your Lights Out' Tour - Tickets on sale Sept 23, Show is Sat Oct 23 (TicketMaster Link)
Plone related
- ZPhotoSlides: http://www.zphotoslides.org/
- FSPhoto: http://plone.org/newsitems/news_item.2004-07-28.1667018453
- ATBookmarks: http://plone.org/newsitems/atbookmarks1
- Skin by URL http://plone.org/documentation/howto/HowToSelectASkinByURL
- Allowng Anonymous comments -- /index_html -> security -> reply to item checked for anonymous
Stuff
J2EE Site ProposalBest Practices
Tomcat Stuff
Tomcat1QEMU Stuff
- QEMU Win32 Nightly Builds
- Free OS Zoo
- -monitor stdio to get a seperate terminal like QEMU 0.60 and earlier (otherwise you must use ctrl-shift-f2 and f1 to flip to the QEMU console)