vim – show Text as HEX Code
How to display HEX Code with vim: Type in the following command: :%!xxd After that you have the hex layout in the linux editor vim
Webserver, Datenbanken, Mailserver, Verschlüsselung
How to display HEX Code with vim: Type in the following command: :%!xxd After that you have the hex layout in the linux editor vim
mysql prepared statements update php: You should use mysql prepared statements to prevent sql injections. $mysqli = new mysqli($servername, $username, $password, $username); Without prepared statement $sql = „UPDATE userlimits SET name = ‚$name‘, comment = ‚$comment‘, symbol = ‚$symbol‘, stocklimit
How to disable account expiration (chage package) under Linux. Sometimes it is pretty annoying. chage -m 0 root chage -E -1 root chage -M 99999 root chage -I -1 root
Anleitung: Kali Linux in einer virtuellen Maschine (VM) / Virtualbox installieren. Virtualbox herunterladen https://www.virtualbox.org/wiki/Downloads (Windows hosts oben unter platform packages) Kali Linux herunterladen https://www.kali.org/downloads/ (Kali 64 bit -> HTTP) Bei der Installation immer „ja“ und „weiter“ drücken Kali Linux VM
Kali Linux als Virtuelle Maschine (VM) Tutorial Weiterlesen »
I have got the following error message when i try to connect to my Samba share: Bad SMB2 signature for message – SAMBA Error Solution Via adduser i have added the Samba user. This is wrong. You add Samba users
Under /var/lib/mysql the mysql-bin.000025* files have eaten all of my disk space Solution The mysql-bin files are some kind of backup of database changes. You can set that you will have those files for three days. Then the logs don’t eat all
Zoneminder – How to export the video as avi (event) Options -> Images. Check the OPT_FFMPEG Box Set PATH_FFMPEG to /usr/bin/ffmpeg # (apt-get install ffmpeg) Select the Event Click on Video on the top left Click on „generate video“
Wie kann man in Ansible eine SSH Anweisung auf einer Hostgruppe ausführen (mehrere Systeme)? Ich hatte vergessen auf einigen Systemen icinga2 zu aktivieren (Autostart Datei anlegen). Da ich zu faul war, mich auf jeden einzelnen Host manuell zu verbinden, benutzte
Ansible – SSH Anweisung auf Hostgruppe ausführen Weiterlesen »
I have compiled the icinga2 packages on vagrant and installed them on my monitoring vm. You can’t update the aur packages via pacman. This is the way you do it: yaourt -Syu –aur Now I have the newest icinga2 version
Code on github: https://github.com/mattionline/ansible-install-icinga2 ansible playbook to install and setup icinga2 automatically ansible-playbook -i hosts.yml installmonitoring.yml –ask-vault-pass
Ansible – install icinga2 under arch and configure nodes Weiterlesen »