Posted on January 26, 2012, 11:47, by rmichel, under
Linux,
Notepad.
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 ResultInactive=no ResultActive=yes Thats necessary because polkit-auth was removed from the policykit package. Also you must add the user [...]
I’ve found a very nice tool pv… $ dd if=/dev/sda1 | pv | dd of=backup.img 359MB 0:00:05 [75.3MB/s] [ <=> ]
Posted on April 27, 2011, 14:06, by rmichel, under
Linux,
Notepad.
force reboot $ echo 1 > /proc/sys/kernel/sysrq $ echo b > /proc/sysrq-trigger force shutdown $ echo 1 > /proc/sys/kernel/sysrq $ echo o > /proc/sysrq-trigger
Posted on April 20, 2011, 21:49, by rmichel, under
Linux,
Notepad.
If you’re trying to boot the Archlinux 2010.05 CD/DVD/Netinstall and getting the message ERROR: boot device didn’t show up after 30 seconds … try this one to fix the problem $ udevadm trigger $ exit
If you getting errors like this one $ /path/to/program /usr/lib/libcrypto.so.0.9.8: no version information available you need a libcrypto.so and a libssl.so with version information. Here are some information about the problem. openssl has evolved to a very important library in Linux distribution. A lot of cryptographic applications link to it including system libraries like pam [...]
$SERVER/deploy/messaging/messaging-service.xml <attribute name="ServerPeerID">${jboss.messaging.ServerPeerID:0}</attribute> For clustered environment each jboss node need a unique ServerPeerID which must be a valid integer.
Posted on February 22, 2011, 15:03, by rmichel, under
Linux,
Notepad.
Here are some random notes for the migration from ubuntu to linux mint 10 (julia) ! /etc/apt/sources.list deb http://packages.linuxmint.com/ julia main upstream import deb http://archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ maverick partner deb http://packages.medibuntu.org/ maverick free non-free #deb http://archive.getdeb.net/ubuntu [...]
to save for later… mhvtl – A Linux Virtual Tape Library http://sites.google.com/site/linuxvtl2/ That could be a really nice backup solution.
Posted on November 17, 2010, 15:12, by rmichel, under
Life,
Notepad.
AWS Free Usage Tier (Per Month): 750 hours of Amazon EC2 Linux Micro Instance usage (613 MB of memory and 32-bit and 64-bit platform support) – enough hours to run continuously each month* 750 hours of an Elastic Load Balancer plus 15 GB data processing* 10 GB of Amazon Elastic Block Storage, plus 1 million [...]
Posted on October 27, 2010, 08:28, by rmichel, under
Linux,
Notepad.
/usr/java/jdk1.5.0_22/bin/jstat -gcutil 18703 1s 10 gcutil = Summary of Garbage Collection Statistics (mandatory) 18703 = process id (mandatory) 1s = refresh interval (optional) 10 = counter (optional) $ /usr/java/jdk1.5.0_22/bin/jstat -gcutil 25532 1s 10 S0 S1 E O P YGC YGCT FGC FGCT GCT 0.00 0.00 71.36 35.59 72.25 39 6.195 1 0.440 6.635 0.00 0.00 [...]