How To Install Nginx on Ubuntu 20.04

How To Install Nginx on Ubuntu 20.04 | DigitalOcean Install nginx If you get a Status: inactive message when running the ufw status command, it means that the firewall is not yet enabled on the system. You will need to run a command to enable it. By default, when UFW is enabled, it blocks external […]

Linux fu

Learning | Linux Journey Learn Linux with Azure VM Getting Started Command Line Text-Fu Advanced Text-Fu User Management Permissions Processes Packages Devices The Filesystem Boot the System Kernel Init Process Utilization Logging Networking Nomad Networking Sharing Network Basics Subnetting Routing Network Config Troubleshooting DNS

PuTTY Fatal Error: Network Error: Software Caused Connection Abort

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 […]

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 […]

Info Azure, Arm and Bash

https://github.com/spawnmarvel/azure-arm-bash 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 provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. Designed for […]

Docker-compose ubuntu (2019)

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 […]