Linux
Simple Backup Script with logrotate
A simple backup script using logrotate to save multiple backups. I use a NFS storage mounted via autofs as backup location. Database Backup is optional. #!/bin/bash # Backup Target (Network Share mostly via autofs) BACKUP_DIR=“/tmp/foo“ # Number of Backups BACKUP_NUM=3 # Directories to backup SOURCE_DIRS=“/var/www /var/log /etc“ # Backup savelog -n -l -q -c $BACKUP_NUM […]
Install Graylog 2 with Puppet
1. Informations Graylog is a very good syslog server for Linux. It collecting, indexing, and analyzing a lot of data and can send notifications via mail. https://www.graylog.org/ Note:I only tested this installation on Debian ! 2. Extra modules First you need some extra modules puppet module install elasticsearch-elasticsearch puppet module install puppetlabs-mongodb puppet module install […]
Disabling SSLv3 for POODLE on Debian
Test and fix SSLv3 on Debian. Test for SSLv3 First test if your SSL will allow SSLv3. openssl s_client -connect YOUR_URL_OR_IP:443 -ssl3 if the answer is something like: routines:SSL3_READ_BYTES:sslv3 alert handshake failure Everything is fine and SSLv3 is not available. If your Server sends a correct handshake then you have to disable it ! Apache […]
Change Ubuntu bluetooth device
The setting was removed from controll panel. But you can change your bluetooth device name with: sudo hciconfig hci0 name ’newName‘
Otter Browser – Ubuntu
Install Otter Browser ( Beta 1 ) on Ubuntu 14.04. Otter Browser, project aiming to recreate classic Opera (12.x) UI using Qt5. Now the first Beta is available. There are packages for Debian available on the sf.net Download page. ( A Version for Windows is available, too. Note: It ist a Beta-Version. A lot of […]
Update multiple Linux servers with apt-dater
I used the following setup: Controller Server: Ubuntu 14.04 Host Server: Debian 7 Wheezy Setup the controller Note: You need a ssh key for your user. If you don’t have one create it with: ssh-keygen -t rsa Install apt-dater: apt-get install apt-dater Now start apt-dater it creates the config files for your user: $ apt-dater […]
GPX on Ubuntu with Viking and additional maps
I have some recorded GPX Tracks from my Garmin Oregon GPS device. To display and modify this files on my Ubuntu Laptop i found Viking. Installation Very easy just type: sudo apt-get install viking With an OpenStreetMap Map Layer it looks like this: Additional Maps I had some GPX Tracks from my fishing trips in […]
Install Epson Perfection V33 scanner on Ubuntu ( 14.04 )
Go to Epson Download Page (http://download.ebz.epson.net/dsc/search/01/search/searchModule) and download this files (just search for „V33“):Zuerst von der Epson Download Seite (http://download.ebz.epson.net/dsc/search/01/search/searchModule) folgende Dateien herrunterladen (einfach nach „V33“ suchen): iscan-data_1.28.0-2_all.deb iscan_2.29.3-1~usb0.1.ltdl7_amd64.deb esci-interpreter-perfection-v330_0.2.0-1_amd64.deb (Version numbers may have changed !)(Die Versionsnummer können abweichen !) InstallationInstallation Now install first xsltproc:Zuerst installiert man noch xsltproc: apt-get install xsltproc and install the […]
Combine PDF-Files on Linux (Ubuntu)
First install pdftk sudo aptitude install pdftk Now combine the files with: pdftk file_1.pdf file_2.pdf file_3.pdf cat output combined.pdf
Install Apache Tomcat 8 on Debian 7 (Wheezy) with virtual hosts and Apache2 integration
1. Install OpenJDK Java 7 runtime:1. Installation von OpenJDK Java 7 runtime: aptitude install openjdk-7-jre 2. Download Tomcat Download Tomcat 8 fromvon der Tomcat 8 Download pageSeite. For example:Zum Beispiel: wget http://ftp.fau.de/apache/tomcat/tomcat-8/v8.0.5/bin/apache-tomcat-8.0.5.tar.gz 3. Install Tomcat3. Installation von Tomcat tar -xzvf apache-tomcat-8.0.5.tar.gz mv apache-tomcat-8.0.5 /opt/tomcat 4. Create tomcat user and group4. Tomcat Benutzer und Gruppe anlegen […]