• nginx and letsencrypt locations


  • macOs / Linux ssh autocomplete hint


  • ubuntu git install and tips

    # update packages

    # install gitolite server

    # rename (not necessary) user gitolite3 to git

    # clone git admin dir to your home account

    # make changes in gitolite.conf — add new repo

    # show status

    # add files to repo

    # commit your changes

    # for use simple git push

    # push changes to repo

    All done, your repo is ready.

    Now go to dir with your app.

    # initialize dir for git

    # add url of «remote» repo

    # check it

    # commit and push your repo

    # clone repo on desktop


  • chroot ssh linux user

    /etc/ssh/sshd_config:

    /etc/passwd:


  • kvm live backup

    Live backup of your VM running in KVM under Ubuntu using qcow2 disk images

    # First of all disable apparmor to allow access

    # View disks

    # Suspend the domain (This is optional. I do this so that the condition of virtual machines remains unchanged during the backup.)

    # Create snapshot

    # or

    # View snapshots

    # View disks (it must be running on snapshots)

    # Copy drives to backup dir

    # Perform active blockcommit by live merging contents

    # View disks (it must be running on normal drives)

    # Unsuspend the domain

    # View snapshots again

    # Delete snapshots

    # View snapshots to check

    # Delete snapshot files