Justas

  • 2021-09-19 Linux
    Enable root login over SSH

    1. As root, edit the sshd_config file in /etc/ssh/sshd_config: nano /etc/ssh/sshd_config 2. Add a line in the Authentication section of the file that says PermitRootLogin yes 3. Save the updated /etc/ssh/sshd_config file 4. Restart the SSH server: service sshd restart

    No comments Read more →
  • 2021-09-19 Linux
    HP Z420 Workstation Headless boot

    To make hp z420 workstation headless boot (run workstation without a video card) Need to have Windows OS installed to run HP BIOS Configuration Utility (BCU) because in bios settings this option is hidden. Download HP BIOS Configuration Utility (BCU) or here: sp107705 Installation Run the BCU SoftPaq to install its contents to the folder…

    No comments Read more →
  • 2021-09-13 Linux
    NUT Monitor EATON UPS

    1. Installation First step is to install Network UPS Tools package : Terminal # apt-get install nut 2. Connect your UPS Once your UPS is powered and connected to a USB port of your server, it should be detected : Terminal # lsusb | grep UPS Bus 004 Device 010: ID 0463:ffff MGE UPS Systems…

    No comments Read more →
  • 2021-08-01 Linux
    OVH Cloud Failover IP config

    nano /etc/network/interfaces.d/50-cloud-init auto lo iface lo inet loopback dns-nameservers 213.186.33.99 auto eth0 iface eth0 inet dhcp mtu 1500 auto eth0:1 iface eth0:1 inet static address x.x.x.x netmask 255.255.255.255 auto eth0:2 iface eth0:2 inet static address x.x.x.x netmask 255.255.255.255 auto eth0:3 iface eth0:3 inet static address x.x.x.x netmask 255.255.255.255

    No comments Read more →
  • 2021-07-14 Linux
    Raspberry Hardware Watchdog

    Automatically power cycle the Raspberry Pi once it gets stuck. 1) Enable the hardware watchdog on your Pi and reboot sudo su echo 'dtparam=watchdog=on' >> /boot/config.txt reboot 2) Install the watchdog system service sudo apt-get update sudo apt-get install watchdog 3) Configure the watchdog service sudo su echo 'watchdog-device = /dev/watchdog' >> /etc/watchdog.conf echo 'watchdog-timeout…

    No comments Read more →
  • 2021-05-09 Linux
    Syncthing įdiegimas Ubuntu/Debian

    Jei norite greitai pasiekti daugelio įrenginių failus, jums reikia sinchronizavimo. Tai atviro kodo kelių platformų failų sinchronizavimo sprendimas, kuris gali veikti lokaliai arba internetu. Ši platforma turi „Linux“, „Windows“ ir „macOS“ klientus. Taip pat turi „Android“ programą, skirtą sinchronizuoti iš…

    No comments Read more →
  • 2021-04-17 Linux
    vsftpd, group, usermod

    adduser user - Sukuriam userį usermod -d /home/some/dir user - Nustato numatytą user home direktoriją groupadd group - Sukuriam grupę usermod -a -G group user Pridedam user į grupę chown -R :group /home/some/dir - Suteikiam user ir grupei access. arba chgrp -R group /home/some/dir ir uždedam failų teises, kad juos leistų atidaryti/redaguoti ir išsaugoti chmod…

    No comments Read more →
  • 2021-01-24 Uncategorized
    Telia IPTV MikroTik Switch

    ether1 - WAN ether5 - LAN 5 port

    No comments Read more →
  • 2020-10-18 Linux
    IPTABLES Permanent save

    apt-get install iptables-persistent After that, run next commands every time you want save iptables changes permanently: netfilter-persistent save netfilter-persistent reload

    No comments Read more →
  • 2020-10-18 Linux
    MYSQL ADD remote user

    mysql -u root -p GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.71.20' IDENTIFIED BY 'root_password_here' WITH GRANT OPTION;

    No comments Read more →