moki.org.pl

  • HOME
  • CATEGORIES
  • TAGS
  • LINKS 
    • SELFHOSTED
  • HOME
  • CATEGORIES
  • TAGS
  • LINKS 
  • SELFHOSTED
Moki
Lv6
167
Tags
3
Categories
178
Posts
  • OpenStack - add SSH keys

    123echo 'ssh-ed25519 AAAAC3...... myusername@moki.org.pl' > /tmp/keypair && \openstack keypair create --...
      2024-05-26  
    • Bez kategorii 
     
    • OpenStack 
    • | cloud 
    Read moreOpenStack - add SSH keys 
  • Git - truncate history

    Remove all commit and force push to server. 12345678CURRENT_BRANCH="$(git rev-parse --abbrev-ref HEAD)"git checkout...
      2024-05-18  
    • Bez kategorii 
     
    • GIT 
    Read moreGit - truncate history 
  • Git - remove newest commits

    Remove 1 newest commit and force push to server. 12git reset --hard HEAD~1git push -f
      2024-05-17  
    • Bez kategorii 
     
    • GIT 
    Read moreGit - remove newest commits 
  • MySQL user privileges

    Check privilegesCheck privileges for self: 1SHOW GRANTS; Check privileges user: 1SHOW GRANTS FOR 'username'@'...
      2024-04-20  
    • Bez kategorii 
     
    • MySQL 
    Read moreMySQL user privileges 
  • Netplan - WiFi

    12345678network: version: 2 ethernets: wlp2s0b1: dhcp4: true access-points: "network_ssid_name&quo...
      2024-03-30  
    • Bez kategorii 
     
    • linux 
    • | networking 
    • | netplan 
    Read moreNetplan - WiFi 
  • Netplan - vLAN

    12345678910111213141516171819202122232425network: version: 2 ethernets: enx207bd123456: # trunc interface dhcp4: fa...
      2024-03-29  
    • Bez kategorii 
     
    • linux 
    • | networking 
    • | netplan 
    Read moreNetplan - vLAN 
  • Netplan - set interface name

    1234567network: version: 2 ethernets: myNewName: set-name: myNewName match: macaddress: 00:11:22:33:44:55
      2024-03-25  
    • Bez kategorii 
     
    • linux 
    • | networking 
    • | netplan 
    Read moreNetplan - set interface name 
  • Netplan - static IP

    123456789network: version: 2 ethernets: eth0: dhcp4: no addresses: [192.168.1.2/24] gateway4: 192.168.1.1...
      2024-03-24  
    • Bez kategorii 
     
    • linux 
    • | networking 
    • | netplan 
    Read moreNetplan - static IP 
  • Netplan - DHCP

    12345network: version: 2 ethernets: eth0: dhcp4: true
      2024-03-22  
    • Bez kategorii 
     
    • linux 
    • | networking 
    • | netplan 
    Read moreNetplan - DHCP 
  • GitLab - fix permissions

    1docker exec -it -u 0 451fc79b7b78 bash 1234567891011121314151617181920chown -R -v git:root /var/opt/gitlab/git-data ; \chmo...
      2024-03-22  
    • Bez kategorii 
     
    • GitLab 
    Read moreGitLab - fix permissions 
123456…18
© 2022 - 2025    Moki
POWERED BY Hexo THEME Redefine v2.4.4