My Elasticsearch cheatsheet with example usage via rest api (still a work-in-progress)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vsftpd [Very Secure File Transfer Protocol Daemon] is a popular FTP server for Ubuntu. we will install and configure vsftpd on Ubuntu 18.04 / 19.10. | |
*** Install vsftpd | |
sudo apt update && sudo apt install vsftpd | |
*** Once installed, check the status of vsftpd |
Details:
Versions are denoted using a standard triplet of integers: MAJOR.MINOR.PATCH. The basic intent is that MAJOR versions are incompatible, large-scale upgrades of the API. MINOR versions retain source and binary compatibility with older minor versions, and changes in the PATCH level are perfectly compatible, forwards and backwards.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
rsync (Everyone seems to like -z, but it is much slower for me)
- a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
- H: preserves hard-links
- A: preserves ACLs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.3" | |
services: | |
gitlab-ce: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
hostname: 'rafaelsoares.ddns.net' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://rafaelsoares.ddns.net:9080' |