Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid

Wildfly

configuration
/opt/wildfly/docs/contrib/scripts/systemd/README - systemd example configuration
/opt/wildfly/standalone/configuration/standalone.xml

CLI

ssh -X wildfly.example.com /opt/wildfly/bin/jboss-cli.sh --gui

/opt/wildfly/bin/jboss-cli.sh --connect

/subsystem=datasources/data-source=ExampleDS/:remove

# sdd postgres driver
/subsystem=datasources/jdbc-driver=postgres:add(driver-name=postgres,driver-module-name=org.postgresql,driver-xa-datasource-class-name=org.postgresql.xa.PGXADataSource)
# add datasource

data-source add --name=DefaultDS --driver-name=postgres --jndi-name=java:jboss/datasources/postgresDS --connection-url=jdbc:postgresql://localhost:5432/foo --user-name=foo --password=bar --enabled=true --use-java-context=true

# --use-ccm=false --max-pool-size=25 --blocking-timeout-wait-millis=5000

subsystem=deployment-scanner/scanner=default/:write-attribute(name=deployment-timeout,value={{ wildfly_startup_timeout }})
interface=public/:undefine-attribute(name=inet-address)
interface=public/:write-attribute(name=any-address,value=true)

# enable ssl
/core-service=management/security-realm=ApplicationRealm/server-identity=ssl:write-attribute(name=protocol,value=openssl.TLS)
# cli

[standalone@localhost:9990 /] deployment-info
[standalone@localhost:9990 /] undeploy my-ear-1.0.ear
[standalone@IP_ADDRESS:9990 /] /system-property=foo:add(value=bar)
[standalone@IP_ADDRESS:9990 /] /system-property=foo:read-resource

}
[standalone@IP_ADDRESS:9990 /] /system-property=foo:remove

https://docs.jboss.org/author/display/WFLY10/CLI+Recipes

Ansible
https://github.com/Wolfant/ansible-jbossCli

Enable Wildfly debug port 8787

echo "DEBUG=true" | sudo tee -a /etc/wildfly/wildfly.conf
sudo service wildfly restart

#/opt/wildfly/bin/standalone.sh DEBUG_MODE=true

Logging

# enable debug loging
/opt/wildfly/bin/jboss-cli.sh
connect
/subsystem=logging/root-logger=ROOT:write-attribute(name=level,value=DEBUG)
/subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=DEBUG)

https://wildscribe.github.io/WildFly/11.0//subsystem/logging/index.html

VMware Player

[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.vmware-player.sh]

sudo apt-get install -y open-vm-tools

Links
https://docs.vmware.com/en/VMware-Workstation-Player/12.0/com.vmware.player.linux.using.doc/GUID-42F4754B-7547-4A4D-AC08-353D321A051B.html

Install ProjectLibre under Ubuntu

[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.projectlibre.sh]

Links
https://sourceforge.net/projects/projectlibre/files/ProjectLibre/

APT offline update

[embed_url: https://raw.githubusercontent.com/panticz/scripts/master/create-offline-apt-mirror.sh]

Links
https://gist.github.com/jeanlescure/084dd6113931ea5a0fd9#file-readme-md

SNMP: Linux software RAID state

Compile snmp-swraid

OpenFortiGUI

Install FortiClientSSL VPN client

wget -q http://www.unibamberg.de/fileadmin/rz/vpn/Linux/VPN_Linux_FortiClient.tar.gz -O /tmp/VPN_Linux_FortiClient.tar.gz
sudo tar xzf /tmp/VPN_Linux_FortiClient.tar.gz -C /opt/
sudo /opt/forticlientsslvpn/fortisslvpn.sh

Install openfortigui

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2FAB19E7CCB7F415
echo "deb http://styrion.at/apt/ ./" | sudo tee /etc/apt/sources.list.d/styrion.list
sudo apt-get update
sudo apt-get install openfortigui

Compile

# https://hadler.me/linux/openfortigui/
sudo apt-get install -y build-essential qt5-default libssl-dev
git clone https://github.com/theinvisible/openfortigui.git /tmp/openfortigui
cd /tmp/openfortigui
git submodule init 
git submodule update
cd qtinyaes
git submodule init
git submodule update
cd ..
qmake
make -j4
sudo cp openfortigui /usr/bin/openfortigui

Links
https://styrion.at/apt/
https://github.com/theinvisible/openfortigui
https://www.uni-bamberg.de/fileadmin/rz/vpn/Linux/VPN_Linux_FortiClient.pdf
https://hadler.me/linux/openfortigui/

Upgrade SSH to v7.3 (with include support)

echo "deb http://old-releases.ubuntu.com/ubuntu yakkety main" > /etc/apt/sources.list.d/yakkety.list
apt-get update
apt-get install -y ssh
rm /etc/apt/sources.list.d/yakkety.list
apt-get update
ssh -V
OpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g  1 Mar 2016
mkdir ~/.ssh/config.d
sed -i '1iInclude config.d/*' ~/.ssh/config

Links
https://superuser.com/questions/247564/is-there-a-way-for-one-ssh-config-file-to-include-another-one

OpenShift

# OpenShift on OpenStack

https://docs.openshift.com/container-platform/3.11/install_config/configuring_openstack.html

apt-get install docker-engine=1.13.1-0~ubuntu-xenial

[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.openshift.sh]

# create test project

oc cluster up #--public-hostname=openshift.example.com --loglevel=10
oc login -u developer -p developer
oc whoami
oc new-app -L
oc projects
oc new-app openshift/ruby-20-centos7~https://github.com/openshift/ruby-ex
oc get all
oc get pod -w
oc logs -f ruby-ex-1-build
oc get services
oc expose service ruby-ex #--hostname=app1.example.com
oc get route

echo "192.168.178.31 ruby-ex-myproject.192.168.178.31.xip.io" >> /etc/hosts

Manage OpenShift with Ansible
https://github.com/openshift/openshift-ansible
https://www.ansible.com/blog/2013/09/19/deploying-highly-available-openshift-origin-clusters

# Ansible playbook

https://github.com/panticz/ansible/tree/master/roles/ansible

Links
https://www.openshift.org/
https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md#linux
https://github.com/openshift/origin/releases/latest
https://github.com/OpenShiftDemos/openshift-cd-demo

Rundeck Ansible Plugin

https://github.com/Batix/rundeck-ansible-plugin

https://github.com/Batix/rundeck-ansible-plugin/releases/latest

wget https://github.com/Batix/rundeck-ansible-plugin/releases/download/2.0.2/ansible-plugin-2.0.2.jar -P /var/lib/rundeck/libext/

* Create a new project
http:///resources/createProject

Project Name: Ansible
Default Node Executor: "Ansible Ad-Hoc Node Executor"
Executable: /bin/bash
SSH Connection > SSH Authentication: privateKey

Default Node File Copier
SSH Connection: privateKey

apt-get install ansible

su rundeck -s /bin/bash -c "ansible all -m ping"

cd /var/lib/rundeck

scp -a ~/ansible root@rundeck.example.com:/etc/ansible/
scp -3r root@foo.example.com:/var/lib/nagios/.ssh/id_rsa* root@rundeck.example.com:/var/lib/rundeck/
chown rundeck:rundeck /var/lib/rundeck/.ssh -R
# enable access
echo "$(hostname -f) ansible_user=root" >> /etc/ansible/hosts
cat /var/lib/rundeck/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
# check

su rundeck -s /bin/bash -c "ansible all -m ping"

# debug
echo "ansible.debug=true" >> /etc/rundeck/profile
service rundeckd restart

tail -f /var/log/rundeck/service.log

# login as user rundeck

su rundeck -s /bin/bash

Rundeck (Job scheduler and Runbook automation)

Installation
https://docs.rundeck.com/docs/administration/install/linux-deb.html#installing-rundeck
Switch to tab Community

sudo apt install -y curl

# OPTIONAL: install Java if not already available
sudo apt-get install -y openjdk-11-jre-headless

curl -L https://packages.rundeck.com/pagerduty/rundeck/gpgkey | sudo apt-key add -

cat < /etc/apt/sources.list.d/rundeck.list
deb https://packages.rundeck.com/pagerduty/rundeck/any/ any main
deb-src https://packages.rundeck.com/pagerduty/rundeck/any/ any main
EOF

sudo apt-get update
sudo apt-get install -y rundeck

#sudo apt install -y sshpass

Configuration

ansible-playbook rundeck-ansible.example.com.yml -i your_inventory

[embed_url: https://raw.githubusercontent.com/panticz/ansible/master/rundeck-ansible.example.com.yml]

Ansible role
https://github.com/panticz/ansible/tree/master/roles/rundeck
https://github.com/panticz/ansible/blob/master/rundeck.example.com.yml

Admin
http://localhost:4440/user/login;jsessionid=16lnsilhg9n6x38a090agwe8y

admin/admin

Configuration
https://docs.rundeck.com/docs/administration/configuration/configuration-file-reference.html

# override rundeck properties
/etc/rundeck/framework.properties
/etc/rundeck/rundeck-config.properties
/etc/rundeck/realm.properties
/etc/rundeck/rundeck-config.properties

# (global)
/etc/rundeck/framework.properties

# job database
/var/lib/rundeck/data/rundeckdb.mv.db

# hosts
/var/rundeck/projects/JOB_NAME/etc/resources.xml

# add user
echo "foo:bar,user,devops" >> /etc/rundeck/realm.properties

# acl
/var/rundeck/projects//acls/.aclpolicy

Docker
https://docs.rundeck.com/docs/administration/configuration/docker.html
https://github.com/rundeck/docker-zoo/blob/master/cloud/docker-compose.yml
https://docs.rundeck.com/docs/administration/install/docker.html#open-source-rundeck

Configuration (project)

Pagination

  • First page
  • Previous page
  • …
  • Page 20
  • Page 21
  • Page 22
  • Page 23
  • Page 24
  • Page 25
  • Page 26
  • Page 27
  • Page 28
  • …
  • Next page
  • Last page
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung