Asterisk Blacklist Hobby webbhotell


Install Tomcat 8 on Ubuntu 16.04

Filed under: Server — Mathz @ 22:56


Tomcat 8 install Ubuntu 14.04

Filed under: Server — Mathz @ 20:38


Telldus core install on Ubuntu

Filed under: Server — Mathz @ 21:47

Console based installation

Add the following lines to your /etc/apt/sources.list:

deb 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 -O- | sudo apt-key add -

The key fingerprint is

70C4 10C9 D73D 53E8 38B3 1C58 5A94 9181 E501 EA76
Telldus Technologies AB <>

Update the repository

sudo apt-get update

To install telldus-core, do

sudo apt-get install telldus-core

Telldus SDK install Ubuntu from sources

Filed under: Server — Mathz @ 21:40

SDK Download here:

sudo apt-get install doxygen build-essential libftdi1 libftdi-dev libconfuse0 libconfuse-dev cmake



Tomcat Jaas

Filed under: Server,Tomcat — Mathz @ 22:47


Tomcat Debug

Filed under: Server,Tomcat — Mathz @ 12:47




Bacula reset Tape

Filed under: Backup,Server — Mathz @ 22:20

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
update slots
* list media

sudo mtx -f /dev/sg5 status
Load slot 1
sudo mtx -f /dev/sg5 load 1

lsscsi -g
use /dev/sgX for changer
use /dev/stX for drive

Label to Scratch
*label pool=Scratch storage=DigitalTapeLibrary slot=2


Install Java 1.8 on Redhat

Filed under: Programering,Server — Mathz @ 13:25

yum install java-1.8.0-openjdk
yum install java-1.8.0-openjdk-devel
cd /usr/lib/jvm/java-1.8.0-openjdk-
alternatives --install /usr/bin/java java /usr/lib/jvm/java-1.8.0-openjdk- 2
alternatives --config java


Java 1.8 on Ubuntu 14.04 LTS

Filed under: Server — Mathz @ 10:15

sudo apt-get install python-software-properties (sudo apt-get install --reinstall software-properties-common)
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac


Solve missing /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts

sudo dpkg purge forcedepends cacertificatesjava
sudo aptget install cacertificatesjava


Cpanel backup

Filed under: Server — Mathz @ 21:35

If you want to move one account use:

/scripts/pkgacct accountname

This creates a backup of the account at the top level of /home which you can copy over to another server into /home and restore using:

/scripts/restorepkg accountname

« Newer PostsOlder Posts »

Powered by WordPress