moki.org.pl

  • HOME
  • CATEGORIES
  • TAGS
  • LINKS 
    • SELFHOSTED
  • HOME
  • CATEGORIES
  • TAGS
  • LINKS 
  • SELFHOSTED
Moki
Lv6
166
Tags
3
Categories
161
Posts
  • Update Debian 8 (Jessie) to Debian 9 (Stretch)

    Prepare: 123apt updateapt upgrade -qqyapt dist-upgrade -qqy Update APT: 1sed -i 's/jessie/stretch/g' /etc/apt/sour...
      2024-02-04  
    • Bez kategorii 
     
    • Debian 
    • | linux 
    Read moreUpdate Debian 8 (Jessie) to Debian 9 (Stretch) 
  • Gitlab CI - example build Docker image

    Variables assigned to project/group: DEPLOY_SSH_PRIVATE_KEY - example result of ssh-keygen -t ed25519 DEPLOY_SSH_USER -...
      2024-01-30  
    • Bez kategorii 
     
    • Docker 
    • | Gitlab 
    • | CI 
    Read moreGitlab CI - example build Docker image 
  • Ubuntu cloud image - set root password

    1sudo apt install libguestfs-tools 1wget -nc https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-clou...
      2024-01-28  
    • Bez kategorii 
     
    • Ubuntu 
    • | cloud image 
    Read moreUbuntu cloud image - set root password 
  • Ansible - set timezone

    123- name: Set timezone community.general.timezone: name: UTC Link to timezones . Column TZ identifier.
      2024-01-28  
    • Bez kategorii 
     
    • linux 
    • | Ansible 
    • | NTP 
    Read moreAnsible - set timezone 
  • Ansible - install NTP client

    12345678910- name: Install the NTP daemon apt: name: ntp update_cache: true- name: Enable NTP service service: na...
      2024-01-28  
    • Bez kategorii 
     
    • linux 
    • | Ansible 
    • | NTP 
    Read moreAnsible - install NTP client 
  • BASH - generate random string

    1cat /dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-20} | head -n 1 1cat /dev/urandom | tr -dc '[...
      2024-01-22  
    • Bez kategorii 
     
    • linux 
    • | BASH 
    Read moreBASH - generate random string 
  • Traefik proxy to other host

    docker-compose.yml12345678910111213141516171819version: '3.8'services: traefik: image: traefik:v2.10 command...
      2024-01-13  
    • Bez kategorii 
     
    • docker 
    • | Traefik 
    Read moreTraefik proxy to other host 
  • Docker escape dollar sign

    Dockerfile1ENV test=\${var} Docker compose1234services: test: environments: - 'test=$${var}...
      2024-01-10  
    • Bez kategorii 
     
    • docker 
    • | docker-compose 
    Read moreDocker escape dollar sign 
  • Disable USB autosuspend

    In /etc/default/grub add usbcore.autosuspend=-1 to variable GRUB_CMDLINE_LINUX_DEFAULT like: 1GRUB_CMDLINE_LINUX_DEFAULT=&quo...
      2024-01-03  
    • Bez kategorii 
     
    • Debian 
    • | linux 
    • | Ubuntu 
    • | USB 
    Read moreDisable USB autosuspend 
  • GRUB multiple boot partitions

    Create /etc/grub.d/40_custom and replace 00000000-1111-2222-3333-444444444444 with second GRUB partition: 123456789# A dummy ...
      2023-12-31  
    • Bez kategorii 
     
    • Debian 
    • | linux 
    • | Ubuntu 
    • | GRUB 
    • | dual boot 
    Read moreGRUB multiple boot partitions 
123456…17
© 2022 - 2025    Moki
POWERED BY Hexo THEME Redefine v2.4.4