Giter VIP home page Giter VIP logo

notes's Introduction

notes

Personal notes but no secrets!

Dirvish back-up: 
Look for lock-file! If found, remove!

la -ls /srv/backup/*/dirvish/lock_file
sudo rm -r /srv/backup/*/dirvish/lock_*
ls | grep "Backup-begin:" /srv/backup/*/20230905/summary
ls | grep "Backup-complete:" /srv/backup/*/20230905/summary
How to Use the Tail Command
https://www.linode.com/docs/guides/how-to-use-tail/
Mirror sites:
wget https://ftp.lysator.liu.se/ubuntu-releases/22.04/ubuntu-22.04.3-live-server-amd64.iso

How To Set Permanent DNS Nameservers in Ubuntu
https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/
$ sudo apt update
$ sudo apt install resolvconf

Nameserver reset:
sudo nano /etc/resolv.conf

# nameserver 127.0.0.53
nameserver 8.8.8.8
search vertel.se

# No IP is given
https://serverfault.com/questions/1087923/how-to-fix-ubuntu-not-getting-ip-address-on-hyper-v
1. sudo dhclient eth0
1. sudo dhclient ens1
2. sudo nano /etc/netplan/01-network-manager-all.yaml
3. sudo netplan apply
4. Clean the disk! https://www.esds.co.in/kb/how-to-clean-up-ubuntu-server/

nameserver 8.8.8.8
options edns0 trust-ad
search vertel.se
vertel@gluu20:~$ sudo nano /etc/apt/sources.list
vertel@gluu20:~$ sudo apt update

Swap-off
sudo swapoff -a
sudo nano /etc/sysctl.conf
sudo rm -r swapoff.img


List the most recent log
jakob@bart:/var/log$ ls -lart




# Permissions for /etc/netplan/01-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.
1. chmod 600 /etc/netplan/your_config_file.yaml
... should solve your problem. Do this for every netplan file that was listed in the warnings.

notes's People

Contributors

jakobkrabbe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.