Sebastian Mogilowski's Blog

Just another blog about administration, linux and other stuff

debian

Securing SSH with FIDO U2F (YubiKey) on Debian

FIDO devices are supported by the public key types „ecdsa-sk“ and „ed25519-sk“, along with corresponding certificate types. This is supported in OpenSSH from version 8.2. Debian Buster (stable) delivers version 7.9, so we need to install a newer version via Debian Buster Backports. If you use Debian unstable or read this when Debian Bullseye is […]

, , , ,

Installing Galera Cluster with MariaDB

Galera give you some nice cluster features. Like true Multi-Master configuration, synchronous replication, conflict detection and impromes the maintenance of your MariaDB servers with automatic provisioning, node isolation and rolling upgrades. You need a Linux or Unix Operating System. I used Debian for this tutorial. Multiple nodes with an odd number of nodes. Three nodes […]

, , , , ,

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 […]

, , , ,

Color Bash Prompt on Ubuntu and Debian

Ubuntu Green Prompt for your user Edit “~/.bashrc“ and change: #force_color_prompt=yes to: force_color_prompt=yes To change it for all new users make the same in “/etc/skel/.bashrc“. Red Prompt for root Edit “/root/.bashrc“ and change “force_color_prompt=yes“ like for your user. Now change the color to red. Search this line: PS1=’${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ‚ and change it to: PS1=’${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ‚ […]

,

Install latest Broadcom bnx2 linux driver

Install new broadcom driver on Ubuntu or Debian: 1. Download Linux driver http://www.broadcom.com/support/ethernet_nic/downloaddrivers.php 2. Unpack unzip linux-6.2.23.zip cd Server/Linux/Driver tar vfx netxtreme2-6.2.23.tar.gz cd netxtreme2-6.2.23 3. Install build tools and install the driver sudo aptitude install build-essential linux-headers make sudo make install 4. Test before installation: $ ethtool -i eth0 driver: bnx2 version: 2.0.2 firmware-version: 4.6.1 […]

, , ,

Install VMware Tools on Debian Squeeze

1. Install required packages aptitude install autoconf automake binutils cpp gcc linux-headers-$(uname -r) make psmisc 2. Mount VMware Tools mkdir /tmp/vmtools mount /dev/cdrom /tmp/vmtools 3. Unzip the tools tar -C /tmp -vfx /tmp/vmtools/VMwareTools*.tar.gz 4. Run install script cd /tmp/vmware-tools-distrib ./vmware-install.pl Note: You can also use the „open-vm-tools“ instead of installing the VMware Tools. aptitude install […]

, , ,

Nginx as reverse proxy cache for wordpress and apache

1. Install Nginx * Install from PPAPPA Installation * Install using self build packagesInstallation mit selbstgebauten Paket 2. General Nginx Settings Edit „/etc/nginx/nginx.conf“ and modify or insert the following settings: […] http { […] # Gzip Settings gzip on; gzip_disable „msie6“; gzip_buffers 32 8k; gzip_comp_level 6; gzip_http_version 1.0; gzip_min_length 0; gzip_types text/html text/css image/x-icon application/x-javascript […]

, , , , ,

Install nginx on debian squeeze from PPA

You find currently nginx version 0.7.67-3 in Debian Squeeze. If you want the latest version you have to build your own paket or you can use one from the ubuntu ppa. This installs the latest stable relase of nginx webserver (current 1.0.1) on Debian Squeeze. echo „deb http://ppa.launchpad.net/nginx/stable/ubuntu lucid main“ > /etc/apt/sources.list.d/nginx-stable-lucid.list apt-key adv –keyserver […]

, , ,

Building a nginx debian package with third party modules

I created this manual on Debian Squeeze (amd64) with the latest version of nginx (stable) an one third party module as example. If you want to build your own package, check for the latest versions of the modules and nginx and modify the version numbers in this manual. 1. Install build debian tools and depending […]

, ,

Previous Posts