この設定ファイルでは、preseed
を使用して、初期設定をするスクリプトになってます。
- ID:
root
,user01
- PASS:
p@ssw0rd
- bash-completion
#!/usr/bin/env python3 | |
# How to use: | |
# | |
# LE_HOSTED_ZONE=XXXXXX LE_AWS_PROFILE=dns-access ./letsencrypt.sh --cron --domain example.org --challenge dns-01 --hook /tmp/hook-dns-01-lets-encrypt-route53.py | |
# | |
# More info about letsencrypt.sh: https://github.com/lukas2511/letsencrypt.sh/wiki/Examples-for-DNS-01-hooks | |
# Using AWS Profiles: http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-multiple-profiles | |
# Obtaining your Hosted Zone ID from Route 53: http://docs.aws.amazon.com/cli/latest/reference/route53/list-hosted-zones-by-name.html |
# GROK match pattern for logstash.conf filter: %{LOG_DATA}%{IP_SPECIFIC_DATA}%{IP_DATA}%{PROTOCOL_DATA} | |
# GROK Custom Patterns (add to patterns directory and reference in GROK filter for pfSense events): | |
# GROK Patterns for pfSense 2.2 Logging Format | |
# | |
# Created 27 Jan 2015 by J. Pisano (Handles TCP, UDP, and ICMP log entries) | |
# Edited 19 Sep 2016 by FoxBoxsnet | |
# | |
# Usage: Use with following GROK match pattern | |
# | |
# %{LOG_DATA}%{IP_SPECIFIC_DATA}%{IP_DATA}%{PROTOCOL_DATA} |
The variable is fully supported only when using OpenSSL version 1.0.2 or higher. | |
With older versions, the variable is available only for new sessions and lists only known ciphers. |
$ mkdir ~/.ssh/ | |
$ vi ~/.ssh/rc |
Message 11: | |
From root@www.exsample.co.jp Sun Apr 9 03:12:06 2017 | |
Return-Path: <root@www.exsample.co.jp> | |
X-Original-To: root | |
Delivered-To: root@www.exsample.co.jp | |
From: "(Cron Daemon)" <root@www.exsample.co.jp> | |
To: root@www.exsample.co.jp | |
Subject: Cron <root@www> /usr/bin/kusanagi update cert | |
Content-Type: text/plain; charset=UTF-8 | |
Auto-Submitted: auto-generated |
root@ubuntu01:~# dd if=/dev/zero of=/tmp/write.tmp ibs=1M obs=1M count=1024 && rm /tmp/write.tmp | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.03311 s, 1.0 GB/s | |
root@ubuntu01:~# dd if=/dev/zero of=/tmp/write.tmp ibs=1M obs=1M count=2048 && rm /tmp/write.tmp | |
2048+0 records in | |
2048+0 records out | |
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 2.17298 s, 988 MB/s | |
root@ubuntu01:~# dd if=/dev/zero of=/tmp/write.tmp ibs=1M obs=1M count=4096 && rm /tmp/write.tmp | |
4096+0 records in |
% docker images | grep -e '^nginx' | |
nginx 1.12-perl 088b0900b170 5 weeks ago 146MB | |
nginx 1.12.1-perl 088b0900b170 5 weeks ago 146MB | |
nginx stable-perl 088b0900b170 5 weeks ago 146MB | |
nginx 1.12 7f1c878a4833 5 weeks ago 107MB | |
nginx 1.12.1 7f1c878a4833 5 weeks ago 107MB | |
nginx stable 7f1c878a4833 5 weeks ago 107MB | |
nginx |
[rancher@host-192-168-0-44 ~]$ cat <<EOF > cloud-config.yml | |
hostname: ros003 | |
EOF | |
[rancher@host-192-168-0-44 ~]$ cat cloud-config.yml | |
hostname: ros003 | |
#cloud-config | |
rancher: | |
network: | |
http_proxy: https://myproxy.example.com | |
https_proxy: https://myproxy.example.com | |
no_proxy: localhost,127.0.0.1 |