По материалам сайта Calculate Linux: https://www.calculate-linux.org/main/ru/git
In this walkthrough we'll be using 4 brand new Seagate IronWolf Pro 10TB 7200rpm 256MB hard drives to setup a ZFS storage pool (RAIDZ 10).
If you don't have ZFS already installed go ahead and run
sudo apt install zfsutils-linuxBefore we do anything with the drives we need the disk identifier and sector size for each drive for step 3.
Inspired By: grafana/loki#333
- docker-compose.yml
version: "3"
networks:
loki:
This is a plugin meant for Jekyll.
Example use:
Easily embed a YouTube video. Just drop this file in your _plugins directory.
{% youtube oHg5SJYRHA0 %}
The go command line tool needs to be able to fetch dependencies from your private GitLab, but authenticaiton is required.
This assumes your private GitLab is hosted at privategitlab.company.com.
The following environment variables are recommended:
export GO111MODULE=on
export GOPRIVATE=privategitlab.company.comsudo pacman -Syu zsh
You do not need to install manjaro-zsh-config and all the other related packages like zsh-syntax-highlighting, zsh-history-substring-search, zsh-autosuggestions, etc., as we will use Oh My Zsh.
| # RESCUE BOOT | |
| cryptsetup open /dev/nvme0n1p2 luks | |
| mkdir /current | |
| mount -o subvol=@,ssd,compress=lzo,noatime,nodiratime /dev/mapper/luks /current | |
| manjaro-chroot /current /bin/bash | |
| # INSTALL | |
| # activate wifi | |
| # done |
First, Create a folder inside of lib called seeds
Put your CSV file example.csv into the lib/seeds folder. In the example below, the file is called real_estate_transactions.csv
Make sure you've created a resource with the appropriate columns to match your seed data. The names don't have to match up.
| ### Nginx ### | |
| check process nginx with pidfile /opt/nginx/logs/nginx.pid | |
| start program = "/etc/init.d/nginx start" | |
| stop program = "/etc/init.d/nginx stop" | |
| if cpu > 60% for 2 cycles then alert | |
| if cpu > 80% for 5 cycles then restart | |
| if memory usage > 80% for 5 cycles then restart | |
| if failed host 127.0.0.1 port 80 protocol http | |
| then restart | |
| if 3 restarts within 5 cycles then timeout |