Configure PuTTY Select your connection, load itIn the left-hand menu pane, select ConnectionIn the field beside Seconds between keepalives, enter 5.Check Enable TCP Keepalives (SO_KEEPALIVE option)Now click Open and leave the SSH connection idle for a while to see if it stays up.If you are using a PuTTY session profile, don’t forget to Save your…
Category: linux
System Administrator
Develop fast. Stay secure Snyk | Developer security | Develop fast. Stay secure. Open Web Application Security Project OWASP Top Ten Web Application Security Risks | OWASP SETSPN -a host/alias_name targetserverSETSPN -a host/alias_name.contoso.com targetserver Can’t access SMB file server – Windows Server | Microsoft Docs Tcp viewer or netstat -ano | find “1234” | find…
Ubuntu 20.04.2 LTS and Bash
Ah a new Ubuntu, what a breath of fresh air. What new here then? Not sure right now, the version that was installed from bootable usb is Ubuntu 20.04.2 LTS Focal Fossa. On Ubuntu: Print screen is shift+ prtsc … Some of the code used in this session is stored here, ssh was configured towards…
2 TODO Azure, Arm and Bash
https://github.com/spawnmarvel/azure-arm-bash SSH to Github Az CLI for Windows Tutorial Ansible Deploy ARM Template with Ansible https://docs.ansible.com/ Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. https://www.ansible.com/overview/how-ansible-works Ansible is a radically simple IT automation engine that automates cloud…
Docker-compose ubuntu
Install it from here, the two first lines https://get.docker.com/ curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh docker –version Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your…
Python as systemctl service
https://www.loggly.com/blog/new-style-daemons-python/ https://github.com/torfsen/python-systemd-tutorial This is an easy and not enough tested script, you may also enable it to start at boot. Read about systemctl: https://www.freedesktop.org/software/systemd/man/systemctl.html So create a file in /lib/systemd/system touch python_service.service sudo nano python_service.service run the script with (when it is done and has no erros): This is my test script: It prints service…
Testing Zabbix VirtualBox 6.0
https://www.virtualbox.org/wiki/Downloads If you’re looking for the latest VirtualBox 5.2 packages, see VirtualBox 5.2 builds. Please also use version 5.2 if you still need support for 32-bit hosts, as this has been discontinued in 6.0. Version 5.2 will remain supported until July 2020. Note: After upgrading VirtualBox it is recommended to upgrade the guest additions as…
MariaDb linux Python ORM
https://linuxize.com/post/how-to-install-mariadb-on-ubuntu-18-04/ MariaDB is an open source, multi-threaded relational database management system, backward compatible replacement for MySQL. It is maintained and developed by the MariaDB Foundation including some of the original developers of the MySQL. https://linuxize.com/post/how-to-create-a-sudo-user-on-ubuntu/ sudo apt update sudo apt install mariadb-server sudo mysql -V sudo systemctl status mariadb Run the mysql_secure_installation command to improve…
RabbitMQ Pika Ubuntu
AMQP 0-9-1 Model ExplainedOverview This guide provides an overview of the AMQP 0-9-1 protocol, one of the protocols supported by RabbitMQ.High-level Overview of AMQP 0-9-1 and the AMQP ModelWhat is AMQP 0-9-1? AMQP 0-9-1 (Advanced Message Queuing Protocol) is a messaging protocol that enables conforming client applications to communicate with conforming messaging middleware brokers. https://www.rabbitmq.com/tutorials/amqp-concepts.html…
Mobile App Development With Kivy & Python 3 (part 2 android release + sign and zipalign, publish)
So, folder for kivy project is zenseeker. Buildozer init (get spec and modify it) buildozer -v android debug Move the apk to the phone and debug it if needed with adb logcat (press install and check the logs) It works? Good, then get ready for keytool (save the password and alias) and signing with jarsigner….