Tested on: Ubuntu 22.04
openvpn3 client
openvpn Free | No time limit, no credit card
Community Resources
Create vpn server anywhere, I created on Hetzner. And make A-record to ip address. For example ovpn.dodcaf.ru A 5.161.48.201.
Install openvpn:
1 2 sudo apt update \ && sudo apt install -y openvpn easy-rsa EasyRSA:
1 2 sudo cp -r /usr/share/easy-rsa /etc/openvpn \ && sudo ln -s /etc/openvpn/easy-rsa/openssl-easyrsa.cnf /etc/openvpn/easy-rsa/openssl.cnf Create vars and fill:
We need to install mlocate: 1 apt install mlocate Update the db: 1 sudo updatedb And find some file:
1 2 locate just-file-name.txt locate or-part-of-file-nam Example:
1 2 locate mcypr_lin___ovpn.ovpn /etc/openvpn/kz/mcypr_lin___ovpn.ovpn
Install package to save file context into clipboard buffers:
1 sudo apt install xsel To save in the primary (to paste: Shift + Insert, xsel -po):
1 cat /etc/hosts | xsel -ip To save in the secondary (to paste: xsel -so)
1 cat /etc/hosts | xsel -is xsel -x - Exchange the PRIMARY and SECONDARY selections
To save in the clipboard (to paste: Ctrl + V, xsel -bo)
1 cat /etc/hosts | xsel -ib From man:
Go to NextCloud, open Settings -> Security -> fill “App name” -> click “Create new app password”, so we got login and pass.
Create folder in your NextCloud.
Fill varables with your own values:
1 2 3 4 5 6 USER=96EEDA25-C3DA-XXXX-XXXX-XXXXXXXXXXXX PASS=3XabR-rygAb-XXXXX-XXXXX-XXXXX NEXTCLOUD_FOLDER=gitlab-backups PATH_TO_BACKUP=gitlab-backups BACKUP_NAME=1691665722_2023_08_10_14.9.2_gitlab_backup.tar NEXT_CLOUD_URL=https://your.cloud.tld Run the script:
1 2 curl -k -u "$USER:$PASS" -T "$PATH_TO_BACKUP/$BACKUP_NAME" "$NEXT_CLOUD_URL/remote.php/webdav/$NEXTCLOUD_FOLDER/$BACKUP_NAME"
Tested on: Ubuntu 22.04
Before install you have to check your OpenJDK version, for example for neo4j 5.8.0 you should have openjdk 17.0.7 2023-04-18.
Installation: Some article who helps install it.
Get gpg.key and add neo4j repository:
1 2 3 curl -fsSL https://debian.neo4j.com/neotechnology.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/neo4j.gpg echo "deb [signed-by=/usr/share/keyrings/neo4j.gpg] https://debian.neo4j.com stable latest" | sudo tee -a /etc/apt/sources.list.d/neo4j.list sudo apt update Install needed java version:
1 2 3 # for neo4j 5.
Tested on: Ubuntu 22.04
MongoDB backup methods from official documentation:
Back Up with Atlas MongoDB Atlas, the hosted MongoDB service option in the cloud. Back Up with MongoDB Cloud Manager or Ops Manager: https://www.mongodb.com/docs/manual/core/backups/#mms https://www.mongodb.com/docs/manual/core/backups/#ops-manager With Ops Manager, MongoDB subscribers can install and run the same core software that powers MongoDB Cloud Manager on their own infrastructure. Back Up by Copying Underlying Data Files Back Up with Filesystem Snapshots Back Up with cp or rsync Back Up with mongodump Let’s consider back up with mongodump!