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

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

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

Gentoo / ArchLinux - NetworkManager and policykit

Posted on Thu 26 January 2012 in Linux • Tagged with Arch Linux, Gentoo, linux, notepad, networkmanager • 1 min read

If you want to use the NM (especially the nm-applet) in Gentoo or ArchLinux, you have to grant the user to access the NM. Therefor you create the following file

# cat /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla 
[nm-applet]
Identity=unix-group:plugdev
Action=org.freedesktop.NetworkManager.*
ResultAny=yes …

Continue reading

Gentoo Binary Packages

Posted on Mon 16 January 2012 in Linux • Tagged with Gentoo, linux, notepad • 1 min read

GCC (4.5.3) flags for

* Intel(R) Core(TM) i7 CPU M 620
* Intel(R) Core(TM) i7 CPU 920
* Intel(R) Core(TM)2 Duo CPU T7700
CFLAGS="-march=core2 -mtune=generic -O2 -pipe -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4 -mmmx"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu …

Continue reading

archlinux - Acrobat Reader

Posted on Fri 13 January 2012 in Linux • Tagged with Arch Linux, Linux, Notepad • 1 min read

Sometimes its necessary/pleasanter to use the Acrobat Reader for some PDF files like forms...

Enable the multilib repository

# cat /etc/pacman.conf
[...]
[multilib]
Include = /etc/pacman.d/mirrorlist
[...]
# pacman -Sy

Install necessary packages

# pacman -S lib32-libxml2 lib32-gtk2 lib32-gdk-pixbuf2

Maybe there are some more packages still missing on your system …


Continue reading