Χάρτης ιστότοπου » _

  • Find IP in text
    grep -E -o \"(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\"'
  • Bypass Microsoft login on installation of Windows 11
    When you have the first screen after installation, press Alt-F10 and write:start ms-cxh:localonlyCreate a local account and continue.
  • Change Windows Evaluation Licenses
    If the Eval version is all you have access to you can totally convert it to the correct version and apply. Use this method to
  • RabbitMQ Cluster Installation
    ~4 min For Debian 11 hostsDefine hosts in a file called: hostsMake an installation sctipt named install.sh with the following content:#!/bin/shsudo apt updatesudo apt
  • Reboot Linux the hard way
    echo 1 > /proc/sys/kernel/sysrqecho b > /proc/sysrq-trigger
  • Change Windows Evaluation Licenses
    If the Eval version is all you have access to you can totally convert it to the correct version and apply. Use this method to
  • ERPNext Installation
    01. Setup Ubuntu Server 22.0402. Set timezone: timedatectl set-timezone \\"Europe/Athens\\"03. Update server and reboot: sudo apt-get update -y ; sudo apt-get upgrade -y03. Create a
  • Add URL block filter in Fail2ban for Apache2
    Create a filter file in /etc/fail2ban/filter.d/ as e.g. block-url.conf (/etc/fail2ban/filter.d/block-url.conf)Containing:[Definition] failregex = ^<HOST> -.*\\"(GET|POST).*/cgi-bin/luci.*$ # ignoreregex = datepattern = %%d/%%b/%%Y:%%H:%%M:%%S \\\\-%%fThis will detect the string
  • Run parallel commands and fail if any of them fails
    Use the following script:#! /usr/bin/env bash## Run parallel commands and fail if any of them fails.#set -eupids=()for x in 1 2 3; do  ls /not-a-file
  • linux firmware path
    On linux you can either add a kernel paramteter a boot time:firmware_class.path=$CUSTOMIZED_PATHor you can change it through sys in file:/sys/module/firmware_class/parameters/path
  • Remove Multiple leading Hash
    Can be done with the following sed commandsed 's/^#[# ]*//'
  • Secure Windows RDP
    https://github.com/EFTEC/Cyberarms/blob/master/Compiled/cyberarms.intrusiondetection.setup.x64_2.2.0.ziphttps://github.com/EFTEC/Cyberarms
  • Disable TLS v1.0 and v1.1 on RDP server
    Run as administrator the following script:# Disable TLS 1.0 and 1.1 for both Client and Server $protocols = @(\\"TLS 1.0\\", \\"TLS 1.1\\") $baseKey = \\"HKLM:\\\\SYSTEM\\\\CurrentControlSet\\\\Control\\\\SecurityProviders\\\\SCHANNEL\\\\Protocols\\"
  • _split_longopt: command not found
    sed -ri s'/_split_longopt/_comp__split_longopt/' \\\n$(grep -rl "\\\\b_split_longopt\\\\b" /usr/share/bash-completion)
  • KVM Backup online
    Script to backup KVM VMs to backup location onlineIn order to move or copy the VM to a different server, you need to extract the
  • GCC Flags for Gentoo
    - - ada       : Build the ADA language (GNAT) frontend + + cet       : (Restricted to >=sys-devel/gcc-10)                 Enable support for control flow hijacking protection. On
  • Sort IP Addresses in a file
    sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 ip-file.txt
  • Quick Jitsi-Meet installation on a Debian-based GNU/Linux system
    Self-Hosting Guide - Debian/Ubuntu serverFollow these steps for a quick Jitsi-Meet installation on a Debian-based GNU/Linux system. The following distributions are supported out-of-the-box:Debian 11 (Bullseye)
  • Linux packages information
    Should/Must have:OS Desktop:GentooFedoraOS Server:DebianAlma/RockyRedHatUbuntuServer Apps:FreeIPAPostfix/Dovecot (opendkim,opendmarc,spamassassin)amavisd-newApacheBind9certbotfetchmailmariadbrkhunterroundcubewebminuserminwireguardzabbixGeneral:bash-completionmcBackup:VeeamSeurity:chkrootkitrkhunterclamavfail2bangpgnmapopenscapsshguardBrowsers:ChromiumFirefoxBraveChromeVirtualization:kvmqemu
  • Linux Application List
    Linux must/should have applicationsOS Desktop:GentooFedoraOS Server:DebianAlma/RockyRedHatUbuntuServer Apps:FreeIPAPostfix/Dovecot (opendkim,opendmarc,spamassassin)amavisd-newApacheBind9certbotfetchmailmariadbrkhunterroundcubewebminuserminwireguardzabbixGeneral:bash-completionmcBackup:VeeamSeurity:chkrootkitrkhunterclamavfail2bangpgnmapopenscapsshguardBrowsers:ChromiumFirefoxBraveChromeVirtualization:kvmqemuDesktop Apps:ThunderbirdFilezillaPuttyVSCodiumRemminaLibreoffice
  • Ext4 without journaling filesystem
    mke2fs -t ext4 -O ^has_journal,^uninit_bg,^ext_attr,^huge_file,^64bit
  • Gentoo Linux Desktop Must have applications
    A Gentoo desktop can be as minimal or as feature-rich as you want. Since Gentoo emphasizes customization, the "must-have" applications are usually those that are