全文検索:
- 06 WireGuard @01_linux:10_network
- ireguard/wg0.conf # ip -4 a 3: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000 inet 10.0.0.1/24 sco
- 18 Let's Encrypt Certbot @01_linux:02_www
- napd ===== 2.snapd準備 ===== systemctl enable --now snapd.socket ln -s /var/lib/snapd/snap /snap
- 08 qcow2 バックアップ 外部へ取得する場合(online external) @01_linux:08_仮想化:kvm
- virsh snapshot-create-as testvm --name testsnap --no-metadata --disk-only Domain snapshot testsnap cr
- 38 cephadmでcephインストール後、openstackで利用 @01_linux:13_storage
- t.cinder.keyring # ceph auth get-or-create client.nova mon 'allow r' osd 'allow class-read object_pref... s, allow rx pool=images' -o /etc/ceph/ceph.client.nova.keyring # ceph auth get-or-create client.cinder... > mkdir /etc/kolla/config mkdir /etc/kolla/config/nova mkdir /etc/kolla/config/glance mkdir -p /etc/ko... /cinder/ cp /etc/ceph/ceph.conf /etc/kolla/config/nova/ cp /etc/ceph/ceph.conf /etc/kolla/config/glanc
- 09 qcow2 backing file @01_linux:08_仮想化:kvm
- cow2 -rwxrwx--- 1 root vstorage-users 1459617792 Nov 8 07:58 from.qcow2 -rwxrwx--- 1 root vstorage-users 196848 Nov 8 07:58 to.qcow2 </code> <code> # qemu-img inf
- 05 ゲストCentOS5をVirtio化 @01_linux:08_仮想化:kvm
- ='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source dev='/dev/mapper/VolG... 'disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source dev='/dev/mapper/Vol
- 37 LINSOTR + OpenStack @01_linux:13_storage
- vider_networks: "yes" kolla_verify_tls_backend: "no" docker_registry: 192.168.30.101:4000 docker_regi
- 36 LINSTOR Bcache @01_linux:13_storage
- 加 ==== <code> linstor storage-pool create zfsthin node1 DfltStorPool DataPool linstor storage-pool create zfsthin node2 DfltStorPool DataPool linstor storage-pool create zfsthin node3 DfltStorPool DataPool linstor storage-pool create zfsthin node4 DfltStorPool DataPool </code> ===== 3.Bcache領
- 06 AB テスト @01_linux:09_ベンチマーク
- gth: 68, Exceptions: 0) Write errors: 0 Non-2xx responses: 68 Total transferred: 6
- 17 Nginx FastCGI Cache @01_linux:02_www
- arams; ### 以下の設定を追加 ### set $do_not_cache 0; # -- POST or HEAD ? if ($request_method != "GET") { set $do_not_cache 1; } # -- Login or Comment or Pos... press_logged_in|wp-postpass_).*$) { set $do_not_cache 1; } fastcgi_cache cache-zone; ... X-F-Cache $upstream_cache_status; } </code> ^$do_not_cache|0 1|キャッシュ時の条件記述。 \\ $do_not_cache=0の時はキャッシ
- 05 CentOS7 firewalld @01_linux:21_centos7
- (active) target: ACCEPT icmp-block-inversion: no interfaces: sources: 10.15.0.0/16 services: ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks:
- 01 PostgreSQL streaming replica @01_linux:11_データベース:02_postgresql
- /yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm yum -y install https://download.postgre... /yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm ===== PostgreSQLインストール ===== yum -y i... == 初期化 ===== PGSETUP_INITDB_OPTIONS="-E UTF8 --no-locale" /usr/pgsql-13/bin/postgresql-13-setup ini... ql-13.service </code> ===== バックアップ ===== 他のノードから、node1へ接続してバックアップを取得 <code> # pg_basebackup -R -D /da
- 02 Ubuntu Cockpit KVM @01_linux:30_ubuntu
- install -y cockpit-docker sudo systemctl enable --now cockpit.socket </code> ===== Web UI ===== 下記でアク
- 31_1 iSCSIタイムアウト @01_linux:01_net
- ===== 31_1 iSCSIタイムアウト ====== 重要なパラメータは下記の3つです。 node.conn[0].timeo.noop_out_interval(デフォルト5秒) pingによるコネクションの死活監視間隔 node.conn[0].timeo.noop_out_timeout (デフォルト5秒) pingによるコネクションの死活監視がコネクションエラーと判定するまでの待ち時間 node.session.tim
- 16 unboundでキャッシュサーバ @01_linux:01_net
- stributions/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm # sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/ep... : 1 statistics-interval: 0 statistics-cumulative: no extended-statistics: yes num-threads: 2 interface: 0.0.0.0 interface-automatic: no outgoing-range: 32768 outgoing-num-tcp: 100 incom