Author: admin
-
Tomcat 8 install Ubuntu 14.04
https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-14-04
-
Remove C# registration
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\VCSExpress\9.0\Registration] “Params”=-
-
Oneliner to backup git repos from Gitolite
ssh <user>@<githost> info | sed -n ‘/^ R W/p’ | sed -r ‘s/^.{5}//’ | while read line ; do git clone ssh://<user>@<host>/$line ; done
-
Telldus core install on Ubuntu
Console based installation Add the following lines to your /etc/apt/sources.list: deb http://download.telldus.com/debian/ stable main The Telldus public key for apt-secure can be downloaded here. You can add this key with sudo apt-key add telldus-public.key or combine downloading and registering: wget -q http://download.telldus.se/debian/telldus-public.key -O- | sudo apt-key add – The key fingerprint is 70C4 10C9 D73D…
-
Telldus SDK install Ubuntu from sources
SDK Download here: http://download.telldus.se/TellStick/Software/telldus-core/ sudo apt-get install doxygen build-essential libftdi1 libftdi-dev libconfuse0 libconfuse-dev cmake wget http://developer.telldus.com/export/4342bbaa1dcd90011b66e8c1540db6ba904877fe/telldus-core/Doxyfile.in
-
Tomcat Jaas
http://www.byteslounge.com/tutorials/jaas-authentication-in-tomcat-example
-
Control screen from CLI (crontab)
#!/bin/bash export DISPLAY=:0.0 if [ $# -eq 0 ]; then echo usage: $(basename $0) “on|off|status” exit 1 fi if [ $1 = “off” ]; then echo -en “Turning monitor off…” xset dpms force off echo -en “done.\nCheck:” xset -q|grep “Monitor is” elif [ $1 = “on” ]; then echo -en “Turning monitor on…” xset dpms…
-
Bacula reset Tape
If 3920 Cannot label Volume because it is already labeled: “TAPE123” sudo bconsole * umount Load Tape from Slot 1 to device /etc/bacula/script/mtx-changer /dev/sg4 load 1 /dev/st0 0 mt -f /dev/nst0 rewind mt -f /dev/nst0 weof mt -f /dev/nst0 rewind sudo bconsole * label * update slots * list media sudo mtx -f /dev/sg5 status…
-
Install Java 1.8 on Redhat
yum install java-1.8.0-openjdk yum install java-1.8.0-openjdk-devel cd /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-1.b15.el6_7.x86_64/jre/bin/ alternatives –install /usr/bin/java java /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-1.b15.el6_7.x86_64/jre/bin/java 2 alternatives –config java