mutt: daily use (still in progress)

Posted on Tue 07 May 2013 in Linux • Tagged with notepad, linux, mutt, work • 1 min read

Tag messages matching
shift-t -> "search string"

Limit messages matching (pattern)
l > \~T (tagged)
l > \~A (all)
l > \~N (new)
l > \~U (unread)
l > \~F (flagged)
l > "search string"

Random commands
;d > Delete tagged messages
s > Move message
;s > Move tagged messages
b > Bounce messages
w/W > Set/Clear Flag
:source …


Continue reading

folks...thats for you: how to extract a initrd file

Posted on Mon 04 February 2013 in Linux • 1 min read

Tag, linux, howto, notepad Slug: folks-thats-for-you-how-to-extract-a-initrd-file Status: published

$ gzip -dc /boot/initrd-2.6.32.23-0.3-default | cpio -id

Apache2 & Jenkins & SSL

Posted on Sat 15 December 2012 in Linux • Tagged with Apache2, Gentoo, java, notepad, linux • 1 min read

$JAVA_HOME/bin/java -DJENKINS_HOME=/var/lib/jenkins -Xms=512m -Djava.awt.headless=true \
  -server -jar /var/lib/jenkins.war --httpPort=8080 --httpListenAddress=127.0.0.1 \
  --ajp13Port=-1 --logfile=/var/log/jenkins.log

apache vhost config

  ServerAdmin admin@example.com
  DocumentRoot "/srv/www/"
  ServerName jenkins.example.com

  SSLEngine On
  SSLVerifyClient …

Continue reading

Building qemu & libvirt from scratch...

Posted on Tue 04 December 2012 in Linux • Tagged with KVM, libvirt, Linux, Notepad • 2 min read

Pre-requirements

git clone git://git.qemu.org/qemu.git
git clone git://github.com/sahlberg/libiscsi.git
http://libvirt.org/sources/libvirt-1.0.0.tar.gz (4/12/12)
aptitude install libvdeplug2 libvdeplug2-dev libaio1 libaio-dev libcap-dev libattr1-dev libsdl-dev libxml2-dev

Building

libiscsi:

./autogen.sh
./configure
make && make install

qemu:

./configure --enable-kvm …

Continue reading

aacraid & arcconf - Create a RAID5 online

Posted on Thu 04 October 2012 in Linux • Tagged with linux, notepad • 1 min read

                                                                    |-- Drives  --|
arcconf CREATE 1 LOGICALDRIVE Name R5_3TB Rcache RON Wcache WT MAX 5 0 4 0 5 0 6 0 7
                                                         Raid size <|  | | |
                                                           Raid level <| | |
                                                             Channel ID <| | 
                                                                 Drive ID <|

Gentoo - Jenkins startup script

Posted on Wed 19 September 2012 in Linux • Tagged with Gentoo, linux, notepad • 1 min read

Not the best but its working for me...maybe JENKINS_* and JAVA_OPTS can be moved to /etc/conf.d/jenkins or something else.

#!/sbin/runscript

depend() {
        use logger dns
        need apache2
        provide jenkins
}

JENKINS_USER=jenkins
LOCKFILE=/var/run/jenkins.pid

JENKINS_HOME=/home/jenkins
JAVA_HOME=/usr/java/jdk1.6.0_25

JAVA_OPTS …

Continue reading

Windows 7 error 0x80300001

Posted on Tue 18 September 2012 in Linux • Tagged with KVM, linux • 1 min read

THANKS Microsoft for this self-explanatory error message during a installation:

"Windows is unable to install to the selected location. Error: 0x80300001."

You should write "FOOOOO! Maybe you have the wrong CD/DVD in your drive."

(I had the virtio drivers cd in my drive...)


Gentoo and libvirt-0.9.12

Posted on Wed 01 August 2012 in Linux • Tagged with Gentoo, Linux, notepad • 1 min read

Yesterday i've started the update process for my system...so far, so good.

After a while emerge finished successfully...of course with a lot of messages, even some messages (from libvirt) that in my kernel config some features are missing e.g.

[...]
CONFIG_DEVPTS_MULTIPLE_INSTANCES
CONFIG_VETH
CONFIG_MACVLAN
CONFIG_NETFILTER_XT_TARGET_CHECKSUM
CONFIG_NETFILTER_ADVANCED
CONFIG_BRIDGE_NF_EBTABLES
[...]

As usually …


Continue reading

"No Java compiler available" on SLES11SP1 and tomcat6

Posted on Wed 27 June 2012 in Linux • Tagged with java, SLES11, SUSE Linux Enterprise Server, tomcat, linux, notepad • 1 min read

On one of my two sle11 machines i had a java exception which i could not explain.

java.lang.IllegalStateException: No Java compiler available
    org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:229)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:581)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
    org …

Continue reading

wodim

Posted on Mon 18 June 2012 in Linux • 1 min read

Burning ISO image

wodim speed=16 dev=/dev/cdrw image.iso

Copy on-the-fly

genisoimage -R -T -V /dev/cdrom | wodim dev=/dev/cdrw

Blanking CDRW

wodim dev=/dev/cdrw blank=disk