tech

Gopro Black 8 – Webcam – macOS Big Sur

reset SMC during start with “Shift + Control + Option + Power […]

Posted in tech | Leave a comment

protonmail-bridge setup – ubuntu

https://protonmail.com/support/knowledge-base/installing-bridge-linux-deb-file/ sudo apt-get install debsig-verify debian-keyringwget https://protonmail.com/download/bridge_pubkey.gpgwgetgpg –dearmor –output debsig.gpg bridge_pubkey.gpgsudo mkdir […]

Posted in tech | 1 Comment

Sydney theme mods: login / logout in header, search in menu

add search to navigation header sudo vim /var/www/html/bernhard.hensler.net/wp-content/themes/sydney/style.css

Posted in tech | Leave a comment

Ubuntu 16: spf, dkim, dmarc

https://www.linuxbabe.com/mail-server/setting-up-dkim-and-spf DNS Entries hensler.net TXT “v=spf1 ip4:3.225.201.202 ~all” default._domainkey.hensler.net. TXT “v=DKIM1;k=rsa;” “part […]

Posted in tech | Leave a comment

Ubuntu 16: lets encrypt, certbot, cron

https://certbot.eff.org/lets-encrypt/ubuntuxenial-nginx request wildcard certificate sudo certbot –server https://acme-v02.api.letsencrypt.org/directory -d *.hensler.net –manual –preferred-challenges […]

Posted in tech | 1 Comment

Ubuntu 16: create new ssh key

Posted in tech | Leave a comment

Ubuntu 16: Spamassasin

Spamassasin not starting with reboot: sudo systemctl status spamassassin.service sudo systemctl enable […]

Posted in tech | Leave a comment

Ubuntu 16: Postfix & Dovecot

Ubuntu Postfix Dovecot SMTP Banner Ubuntu Open lightsail ports SSH TCP 22 […]

Posted in tech | 1 Comment

reroute http traffic > nginx, Route53

Posted in tech | Leave a comment

from monolithic to serverless applications

#1: Migrating a monolithic application (daytrader) on top of a WebSphere Liberty […]

Posted in tech | Leave a comment

exclude tag from tag cloud

add_filter( ‘widget_tag_cloud_args’, ‘jmw_exclude_tag_from_tag_cloud’); function jmw_exclude_tag_from_tag_cloud( $args ) { $args[ ‘exclude’ ] = […]

Posted in tech | Leave a comment

OAuth/OIDC with ISAM

Design and implement OAuth/OIDC authentication process for mobile clients (native/html) using ISAM […]

Posted in tech | Leave a comment

WebSphere SP initiated SSO

By default, the WebSphere Application Server SAML Trust Association Interceptor (TAI) supports […]

Posted in tech | Leave a comment

IBM Security Directory Integrator (SDI) & its countless possibilities

User account synchronization between internal LDAP and directories of a foreign application […]

Posted in tech | Leave a comment

IBM Cloud Identity & IBM Connections Cloud

The intention of this project was to provide a consistent Single-Sign-On (SSO) […]

Posted in tech | Leave a comment

IBM Sametime projects

Design and implement multiple corporate-wide deployments for IBM Sametime 9 including components […]

Posted in tech | Leave a comment

openvpn

yum -y install epel-release yum -y install NetworkManager-openvpncd /usr/sbin/openvpn automatic login:create ovpn.username.txt with:usernamepassword […]

Posted in tech | Leave a comment

WebSphere Liberty

cd /opt/wlp/bin ./installUtility install adminCenter-1.0 server start | stop | status vi […]

Posted in tech | Leave a comment

file indexer; macos authentication

httpd-vhosts.conf httpd-ssl.conf httpd.conf ln -s /Users/bhr/Music/iTunes/iTunes\ Media/Uploads/ /Users/bhr/Sites/media.hensler.net/uploads https://larsjung.de/h5ai/

Posted in tech | Leave a comment

.vimrc

use .vimrc sample to avoid “visual” in vim when trying to copy/paste. […]

Posted in tech | Leave a comment

setup null printer on Mac > CUPS pdf

Some applications do not offer direct pdf printing; the internal printing system […]

Posted in tech | Leave a comment

IBM HTTP Server httpd.conf

ServerName was.hensler.net:80 LoadModule rewrite_module modules/mod_rewrite.so RewriteEngine On RewriteRule ^\/$ https://%{SERVER_NAME}/ [NE,L,R] LoadModule […]

Posted in tech | Leave a comment

Autostart opendj CentOS

https://backstage.forgerock.com/knowledge/kb/book/b73824898#a56766667 cd /etc/systemd/system vim opendj.service [Unit] Description=opendj LDAP Server After=network.target remote-fs.target nss-lookup.target […]

Posted in tech | Leave a comment

Autostart IBM HTTP Server CentOS

http://publib.boulder.ibm.com/httpserv/ihsdiag/startstop_questions.html#how-do-i-start-ihs-during-the-linux-boot-process cd /etc/systemd/system vim ihs.service [Unit] Description=IBM HTTP Server After=network.target remote-fs.target nss-lookup.target […]

Posted in tech | Leave a comment

Centos 7 Installation

yum -y install binutils bind-utils compat-db.x86_64 compat-libstdc* compat-libstdc++-33.i686 compat-libstdc++-33.x86_64 elfutils-libelf elfutils-libelf-devel elfutils-libs.i686 […]

Posted in tech | Leave a comment

postfix macos high sierra

sudo vim /etc/postfix/main.cf message_size_limit = 10485760 mailbox_size_limit = 0 biff = no […]

Posted in tech | Leave a comment

dnsmasq macos high sierra

brew install dnsmasq   sudo vim /usr/local/etc/dnsmasq.conf bogus-priv local=/lan.hensler.net/ domain=lan.hensler.net expand-hosts listen-address=127.0.0.1 […]

Posted in tech | Leave a comment

setting up named / BIND / DNS Server on OS X

http://www.height8.com/info/os/osx/named

Posted in tech | Leave a comment

openldap macos High Sierra

sudo vim /etc/openldap/slapd.conf include /private/etc/openldap/schema/core.schema include /private/etc/openldap/schema/cosine.schema include /private/etc/openldap/schema/inetorgperson.schema pidfile /private/var/db/openldap/run/slapd.pid argsfile […]

Posted in tech | Leave a comment

chroot macos High Sierra

create standard user sftpusr allow ssh remote login for sftpusr sudo vim […]

Posted in tech | Leave a comment

wordpress macos High Sierra

sudo vim /etc/apache2/httpd.conf ServerName localhost:80 DocumentRoot “/Users/bhr/Sites” <Directory “/Users/bhr/Sites”> Options FollowSymLinks Multiviews […]

Posted in tech | Leave a comment

midnight commander

Midnight Commander for Mac OS X vim .bash_profile alias ll=’ls -alp’ alias […]

Posted in tech | Leave a comment

Ubuntu Installation

sudo ufw disable selinux not installed by default sudo vim /etc/network/interfaces auto […]

Posted in tech | Leave a comment

add additional ssh port

http://zanshin.net/2015/10/01/change-sshd-port-on-mac-os-x-el-capitan/

Posted in tech | Leave a comment

ffmpeg CentOS 7

https://gist.github.com/mustafaturan/7053900   To send videos with WhatsApp run ffmpeg with following codecs: ffmpeg […]

Posted in tech | Leave a comment

IBM’s launchpad doesn’t start, Firefox version

Firefox starts with a chrome://*.xul URL, which is a reference to a […]

Posted in tech | Leave a comment

log sftp authentication

vim /etc/ssh/sshd_config Subsystem sftp internal-sftp -l INFO -f AUTH vim /etc/rsyslog.conf auth.* […]

Posted in tech | Leave a comment

CentOS 7 postfix, dovecot mail server; forwarder

postfix https://www.server-world.info/en/note?os=CentOS_7&p=mail #virtual_alias_domains = hensler.net virtual_alias_maps = hash:/etc/postfix/virtual ADD forwarder addresses vi […]

Posted in tech | Leave a comment

visudo

  sudo visudo # User privilege specification root    ALL=(ALL) ALL %admin  ALL=(ALL) ALL […]

Posted in tech | Leave a comment

Clipboard between Mac OS, Centos

Clipboard between Mac OS, Centos 64 7 CentOS yum install epel-release yum […]

Posted in tech | Leave a comment

mount nfs volumes (OSXFUSE) at startup using launchAgent

sudo vim /Users/bhr/Library/LaunchAgents/com.mmac.useragent.plist <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” […]

Posted in tech | 1 Comment

copy your ssh public key using cat

Generate new ssh key ssh-keygen -t rsa -C “bernhard.hensle@timetoact.ch” add private key […]

Posted in tech | Leave a comment

start / stop Mac application from command line

cd /Applications/ open AppName osascript -e ‘quit app “AppName”‘ ps -ax | […]

Posted in tech | Leave a comment

vmrun

vim .bash_profile export PATH=$PATH:/Applications/VMware\ Fusion.app/Contents/Library/ POWER COMMANDS           PARAMETERS           DESCRIPTION ————–           ———-           ———– […]

Posted in tech | Leave a comment

Keeping Your SSH Sessions Alive

vim ~/.ssh/config Host * ServerAliveInterval 240 http://www.kehlet.cx/articles/129.html

Posted in tech | Leave a comment

Samba Server Installation Centos 7

https://www.howtoforge.com/samba-server-installation-and-configuration-on-centos-7 yum install samba samba-client samba-common vi /etc/samba/smb.conf [global]         workgroup = […]

Posted in tech | Leave a comment

Autostart IBM HTTP Server

vi /etc/init.d/ihs #!/bin/bash # SERVICENAME should match this filename SERVICENAME=$(basename $0) LOCKFILE=”/var/lock/subsys/${SERVICENAME}” […]

Posted in tech | Leave a comment

Autostart WebSphere Servers

Deployment Manager cd /opt/IBM/WebSphere/AppServer/bin/ ./wasservice.sh -add dmgr -serverName dmgr -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 service […]

Posted in tech | Leave a comment

IBM Docs

http://www-01.ibm.com/support/docview.wss?uid=swg24039355 http://www-01.ibm.com/support/knowledgecenter/SSFHJY/welcome IBM Connections cnx5.sites IBM Connections 5 CR3 (CentOS 7) Conversion, […]

Posted in tech | Leave a comment

IBM Connections 5 Centos 7

Installation Manager 64bit yum install gtk2 yum install libXtst Download IBM Connections […]

Posted in tech | Leave a comment