Posts

Showing posts from August, 2018

x11vnc

x11vnc Execute on machine to be shared as normal user: x11vnc -bg -nevershared -tightfilexfer -usepw -display :0

Fixing DNS Resolution problems with Linux Mint 19

Fixing DNS Resolution problems with Linux Mint 19 Linux Mint 19 has an issue (at least on the machines I've installed it on) where resolv.conf has its nameserver entry pointing to 127.0.0.53. That works fine except for resolving local subnet names (in my case 196.168.1.x). The following fixes the symptoms, though I still don't know why 127.0.0.53 is being used instead of the assignment from DHCP. Run in root console, or sudo: # apt install resolvconf # nano /etc/resolvconf/resolv.conf.d/tail nameserver 192.168.1.1 # resolvconf -u This will tag the local nameserver entry onto the end of resolv.conf and persists through resets.

Create a new repo

Create a new repository Generate a local git repo in the project working directory: git init . SSH to remote server create a bare repo using the project name: ssh tim@fileserv git init --bare /files/git/xxxxxxx exit Add the files to be tracked and commit: git add blah.c git commit -a -m "Initial commit." Add the remote repo and push: git remote add origin tim@fileserv:/files/git/xxxxxxx git push --set-upstream origin master

dd Command

dd Command dd if=linuxmint-19-mate-64bit-v2.iso of=/dev/sdc bs=1M status=progress conv=fsync && sync

Rsync Commands

Rsync Commands rsync archive mode, preserve hard links, acls, extended attributes. rsync -aHAXv /mnt/src/ /mnt/dest/ rsync root filesystem. rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /path/to/backup/folder