tech

Gopro Black 8 – Webcam – macOS Big Sur

reset SMC during start with “Shift + Control + Option + Power Button” ./Skype2021-02-28 18:14:30.836 Skype Helper (Renderer)[1374:35421] Error loading /Library/CoreMediaIO/Plug-Ins/DAL/GoProWebCam.plugin/Contents/MacOS/GoProWebCam: dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/GoProWebCam.plugin/Contents/MacOS/GoProWebCam, […]

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 -p /usr/share/debsig/keyrings/E2C75D68E6234B07sudo mv debsig.gpg /usr/share/debsig/keyrings/E2C75D68E6234B07wget https://protonmail.com/download/bridge.polsudo mkdir -p /etc/debsig/policies/E2C75D68E6234B07sudo apt […]

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 I” “part II” _dmarc TXT v=DMARC1; p=none; pct=100; rua=mailto:dmarc-reports@hensler.net DNS […]

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 dns-01 certonly certbot –nginx (adds nginx configuration for SSL) sudo […]

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 spamassassin.service sudo vim /lib/systemd/system/spamassassin.service [Service] Restart=always RestartSec=3

Posted in tech | Leave a comment

Ubuntu 16: Postfix & Dovecot

Ubuntu Postfix Dovecot SMTP Banner Ubuntu Open lightsail ports SSH TCP 22 Custom TCP 25 HTTP TCP 80 Custom TCP 110 Custom […]

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 application server form traditional deployment to cloud services using AWS. […]

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’ ] = ’45’; // ID of the tag. If multiple tags use […]

Posted in tech | Leave a comment

OAuth/OIDC with ISAM

Design and implement OAuth/OIDC authentication process for mobile clients (native/html) using ISAM (IBM Security Access Manager) and authorisation code grant type. Integrate […]

Posted in tech | Leave a comment

WebSphere SP initiated SSO

By default, the WebSphere Application Server SAML Trust Association Interceptor (TAI) supports IdP-initiated SSO only. When custom code is in place, the […]

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 domain (e.g. Cloud application), using SCIM (System for Cross-domain Identity […]

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) between an on-premise ISAM (IBM Security Access Manager) and IBM’s […]

Posted in tech | Leave a comment

IBM Sametime projects

Design and implement multiple corporate-wide deployments for IBM Sametime 9 including components necessary to provide web conferencing and multi-way audio/video/chat. Products used: […]

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 vi /etc/openvpn/tta.confauth-user-pass ovpn.username.txt cp ovpn.username.txt /etc/openvpn/cp tta.conf /etc/openvpn/ ./openvpn –config […]

Posted in tech | Leave a comment

WebSphere Liberty

cd /opt/wlp/bin ./installUtility install adminCenter-1.0 server start | stop | status vi /opt/wlp/usr/servers/defaultServer/server.xml in firefox (LIN) https://localhost:9943/adminCenter

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. https://github.com/amix/vimrc/blob/master/vimrcs/basic.vim

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 allows setting up a local pdf printer. https://www.papercut.com/kb/Main/SetupNullPrinterOnMac

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 ibm_ssl_module modules/mod_ibm_ssl.so Keyfile /opt/IBM/HTTPServer/ssl/key.kdb SSLStashfile /opt/IBM/HTTPServer/ssl/key.sth <IfModule mod_ibm_ssl.c> Listen 0.0.0.0:443 […]

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 [Service] Type=forking PIDFile=/opt/opendj/logs/server.pid ExecStart=/opt/opendj/bin/start-ds –quiet ExecStop=/opt/opendj/bin/stop-ds –quiet PrivateTmp=true LimitNOFILE=infinity [Install] […]

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 [Service] Type=forking PIDFile=/opt/IBM/HTTPServer/logs/httpd.pid ExecStart=/opt/IBM/HTTPServer/bin/apachectl start -d /opt/IBM/HTTPServer ExecStop=/opt/IBM/HTTPServer/bin/apachectl graceful-stop ExecReload=/opt/IBM/HTTPServer/bin/apachectl […]

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 elfutils-libs.x86_64 elfutils.x86_64 firefox ftp gcc gcc-c++ glibc-common glibc-devel glibc-headers glibc* […]

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 smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit recipient_delimiter = + tls_random_source = […]

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 listen-address=10.0.29.150   sudo vim /etc/hosts ## # Host Database # […]

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 /private/var/db/openldap/run/slapd.args database bdb suffix “dc=hensler,dc=local” rootdn “cn=manager,dc=hensler,dc=local” rootpw {SSHA}DXreBCiCpU1sH728ubClNXpHblzw80Wo directory […]

Posted in tech | Leave a comment

chroot macos High Sierra

create standard user sftpusr allow ssh remote login for sftpusr sudo vim /etc/ssh/sshd_config # override default of no subsystems # Subsystem sftp […]

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 MultiviewsMatch Any AllowOverride None Require all granted </Directory> LoadModule php7_module […]

Posted in tech | Leave a comment

midnight commander

Midnight Commander for Mac OS X vim .bash_profile alias ll=’ls -alp’ alias mc=’. /usr/local/libexec/mc/mc-wrapper.sh’

Posted in tech | Leave a comment

Ubuntu Installation

sudo ufw disable selinux not installed by default sudo vim /etc/network/interfaces auto enp0s25 iface enp0s25 inet static address 10.0.29.60 netmask 255.255.255.0 gateway […]

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 –i “original–file.mp4” –vcodec libx264 –acodec aac “output–file.mp4”

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 Add-On extension in Mozilla-derivative browsers. Firefox as of version 43 […]

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.* /var/log/sftp.log   https://access.redhat.com/articles/1374633

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 /etc/postfix/virtual postmap /etc/postfix/virtual service postfix restart dovecot https://www.server-world.info/en/note?os=CentOS_7&p=mail&f=2 DNS hensler.net. […]

Posted in tech | Leave a comment

visudo

  sudo visudo # User privilege specification root    ALL=(ALL) ALL %admin  ALL=(ALL) ALL bernhardhensler ALL=(ALL) NOPASSWD: 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 install xclip cat somefile.txt | xclip -selection clipboard In Mac […]

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” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”> <plist version=”1.0″> <dict>         <key>KeepAlive</key>         <true/>         <key>Label</key> […]

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 to keychain ssh-add -K ~/.ssh/bhensler_id_rsa ssh-copy-id root@111.111.111.111

Posted in tech | Leave a comment

start / stop Mac application from command line

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

Posted in tech | Leave a comment

vmrun

vim .bash_profile export PATH=$PATH:/Applications/VMware\ Fusion.app/Contents/Library/ POWER COMMANDS           PARAMETERS           DESCRIPTION ————–           ———-           ———– start                    Path to vmx file     Start a VM or Team […]

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 = WORKGROUP         server string = CNX5 Samba Server %v         […]

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}” APACHECTL=/opt/IBM/HTTPServer/bin/apachectl # The next lines are for chkconfig on RedHat […]

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 dmgr_was.init stop service dmgr_was.init start service dmgr_was.init status NodeAgent ./wasservice.sh […]

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, Docs, Viewer cnxDocs.sites IBM Connections Docs 1.0.7 (Windows 2008 R2) […]

Posted in tech | Leave a comment

IBM Connections 5 Centos 7

Installation Manager 64bit yum install gtk2 yum install libXtst Download IBM Connections 5 http://www-01.ibm.com/support/docview.wss?uid=swg24037654   CCM CLFRP0038E: IBM Connections Content Manager failed […]

Posted in tech | Leave a comment