Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 157
  1. LUKS

    Create an encrypted file system on a disk Use cryptsetup to format your drive: # cryptsetup luksFormat /dev/sdb1 Open LUKS-formated partition as example: # cryptsetup luksOpen /dev/sdb1 example Format LUKS-formated partition with EXT4 file system: # mkfs.…

  2. dig

    Usage Check MX record for example.com: $ dig example.com mx Perform a DNS lookup for the A records of example.com and display only answer section in short format: $ dig example.com a +short Perform a DNS lookup for the A (IPv4 address) records of example.…

  3. Privacy 101: Services

    Instant Messengers Signal - the most popular and respected messenger, which encryption protocol supports forward secrecy.

  4. Fedora

    RPM Fusion Installation Make sure, that Cisco repo with openh264 library is enabled: # dnf config-manager --enable fedora-cisco-openh264 Install Free and Non-Free repos: # dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm…

  5. dnf

    Configuration Use Specific Mirror Find desired mirror here.

  6. Adwaita

    Properly theme all apps with Adwaita Install adw-gtk3-theme: # dnf install adw-gtk3-theme Install adw-gtk3-theme for Flatpak apps: $ flatpak install org.gtk.Gtk3theme.adw-gtk3 org.gtk.Gtk3theme.adw-gtk3-dark Using gnome-tweaks and set “Legacy Applications”

  7. Essential Software for MacOS

    AppCleaner - small application which allows you to thoroughly uninstall unwanted apps.

  8. OpenSSL

    Usage Create self-signed certificate Generate an ECDSA private key: $ openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 -out <key_name>.key Generate a certificate signing request: $ openssl req -new -sha256 -key ca_private_key -out <key_name>…

  9. Essential Software for Windows

    Applications AOMEI Partition Assistant - partition manager.

  10. NTP

    Servers NTP Project (alternative URLs): pool.ntp.org asia.pool.ntp.org europe.pool.ntp.org de.pool.ntp.org north-america.pool.ntp.org oceania.pool.ntp.org south-america.pool.ntp.org adminforge.de (read more): ntp1.adminforge.de ntp2.adminforge.de ntp3.adm…

  11. UFW

    UFW (uncomplicated firewall) is a firewall configuration tool that runs on top of iptables, included by default within Ubuntu distributions.

  12. rkhunter

    Configuration Configure your package manager by creating or editing /etc/rkhunter.conf.local: PKGMGR=DPKG Possible values: NONE, DPKG, RPM, BSD, SOLARIS.

  13. Printers

    Epson L800 Driver The problem, is that you cannot simply install official driver form Epson anymore, as driver’s dependancy (lsb package) is deprecated.

  14. zram

    Usage Enable manually for the current session To set up one zstd compressed zram device with 8GiB capacity and a higher-than-normal priority: # modprobe zram # zramctl /dev/zram0 --algorithm zstd --size 8G # mkswap -U clear /dev/zram0 # swapon --priority…

  15. pdftk

    Usage Split PDF files Extract single page: $ pdftk ORIG_FILE.pdf cat 3 output NEW_FILE.pdf Extract several individual pages: $ pdftk ORIG_FILE.pdf cat 1 8 12 output NEW_FILE.pdf Extract a range of pages: $ pdftk ORIG_FILE.pdf cat 1-122 output NEW_FILE.pdf…

  16. Zoom

    Advanced Configuration Disable Mini Window Set enableMiniWindow to false in ~/.config/zoomus.conf.

  17. mc

    Shortcuts Shortcut Action Insert/Ctrl+t Select files Alt+c Quick CD Ctrl+Space Calculate size ctrl+s Search Ctrl+x,q Quick view Ctrl+x,i View info file info Esc+.

  18. Dotfiles

    Manage Dotfiles with Chezmoi A separate article on Chezmoi can be found here.

  19. logrotate

    Configuration The primary configuration file for logrotate, which sets default parameters, is /etc/logrotate.conf.

  20. OpenVPN AS

    How to Setup a private OpenVPN server Server Configuration Connect to the server: $ ssh root@X.X.X.X -i /path/to/sshkey Change hostname: # hostnamectl set-hostname openvpnas Fix hostname in /etc/hosts.

  21. DNS

    Tools dnscheck.tools Resolvers dnsforge.de Website: dnsforge.de Normal configuration: IPv4: 49.12.67.122 91.99.154.175 176.9.93.198 176.9.1.117 IPv6: 2a01:4f8:c013:29d::122 2a01:4f8:c010:8c35::175 2a01:4f8:151:34aa::198 2a01:4f8:141:316d::117 DoT: tls://d…

  22. PowerShell

    Configuration PowerShell has different paths for configuration files, scoped by user and host: All Users, All Hosts Windows - $PSHOME\Profile.ps1 Linux - /opt/microsoft/powershell/7/profile.ps1 macOS - /usr/local/microsoft/powershell/7/profile.ps1 All Use…

  23. Debian

    Upgrade to the Next Major Version Switch to console tty via Ctrl+Alt+F3 (the upgrade should be done on a text console, because your desktop environment could freeze during post-install/service restarts, leaving the system in a broken state).

  24. Cockpit

    Installation Install Cockpit with additional modules: # dnf install cockpit <additional_modules> Configure firewall: # firewall-cmd --add-service=cockpit --permanent # firewall-cmd --reload Start Cockpit service: # systemctl enable --now cockpit.socket Co…

  25. Bash

    Jobs Common Options jobs options: -l - list PIDs in addition to default info.

  26. apt

    Usage List recently installed packages: $ grep " install " /var/log/dpkg.log $ grep " install " /var/log/apt/history.log Unattended Upgrades Installation Install the required packages: # apt install unattended-upgrades apt-listchanges Configuration Update…

  27. Windows

    Windows 11 Windows 11 Edition Without Crapware This is the “IoT Enterprise LTSC” edition.

  28. swapfile

    Create and enable the swapfile Create the /swapfile: # dd if=/dev/zero of=/swapfile count=8192 bs=1M Set the permissions: # chmod 0600 /swapfile Mark the new file as a swap space: # mkswap -L swap /swapfile Enable the swap file: # swapon /swapfile Make the

  29. Spotify

    Configuration Config locations Default (Linux): ~/.config/spotify/Users/<username>/prefs Ubuntu’s Snap: ~/snap/spotify/current/.config/spotify/prefs Flatpak: ~/.var/app/com.spotify.Client/config/spotify/Users/<username>/prefs Configuration Options Change…

  30. strftime

    Reference Years %y - Year without a century (00..99).

  31. AWS

    Simple Storage Service (S3) Host a static website on S3 with custom domain Create a new S3 bucket for your static website.

  32. Chromium

    Advanced Configuration Flags Show punycode hostnames (set to enabled): chrome://flags/#force-punycode-hostnames Disable top sites on the default new tab page (set to enabled): chrome://flags/#disable-top-sites Disable default browser check (set to enabled…

  33. multipass

    Multipass is a tool to generate cloud-style Ubuntu VMs quickly on Linux, macOS, and Windows.

  34. siege

    siege is an open source regression test and benchmark utility.

  35. Best Practices for Securing Online Accounts

    It’s important to protect your online accounts and identities, especially if you work for a large company and have access to infrastructure or sensitive data.

  36. WSL

    The Windows Subsystem for Linux (WSL) let you run a GNU/Linux environment, including most command-line tools, utilities, and applications, directly on Windows, unmodified, without the overhead of a traditional virtual machine or dual-boot setup.

  37. firewalld

    Firewalld provides a dynamically managed firewall with support for network/firewall zones that define the trust level of network connections or interfaces.

  38. rsync

    Usage Common Options --progress - show progress while transferring data.

  39. chezmoi

    chezmoi helps you manage your personal configuration files (dotfiles, like ~/.bashrc) across multiple machines.

  40. BorgBackup

    [!]

  41. Zabbix

    Zabbix Installation (PostgreSQL) Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual machines (VMs) and cloud services.

  42. Akamai

    Fundamentals Pragma Headers akamai-x-get-request-id akamai-x-cache-on akamai-x-cache-remote-on akamai-x-check-cacheable akamai-x-get-cache-key akamai-x-get-true-cache-key akamai-x-cache-remote akamai-x-get-nonces akamai-x-get-extracted-values akamai-x-ser…

  43. fsck

    fsck (“file system consistency check”) is a tool for checking the consistency of a file system in Unix and Unix-like operating systems. fsck generally has three modes of operation: Check for errors, and prompt the user interactively to decide how to resol…

  44. logind

    Configuration LoginD use the following configuration file: /etc/systemd/logind.conf.

  45. gpg

    GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP).

  46. nmap

    Usage Scan single hostname: $ nmap example.com Scan specific port of IP address: $ nmap -p 8080 10.100.10.12 Scan several IP addresses: $ nmap 10.100.10.12 10.100.10.14 10.100.10.32 Scan several servers using last octet of IP address: $ nmap 10.100.10.12,…

  47. Archiving & Compression

    The traditional Unix archiving and compression tools are separated according to the Unix philosophy: A file archiver combines several files into one archive file, e.g. tar.

  48. SPICE

    Guest Configuration GNU/Linux Install SPICE Guest Agent: # apt install spice-vdagent spice-webdavd Windows On Windows SPICE Guest Agent installer can be downloaded from the official website or using this direct link.

  49. tor

    Tor is an open source implementation of second generation onion routing that provides free access to an anonymous proxy network.

  50. Nextcloud

    Nextcloud Installation (Nginx + PostgreSQL) Nextcloud offers the industry-leading, on-premises content collaboration platform.