tail -f /dev/null

If you haven't had any obstacles lately, you're not challenging. be the worst.

データ指向アプリケーションデザイン 9章 整理

※ 図は僕の想像なので、誤っている可能性もあります。 9章 一貫性と合意 (fault-tolerance を持つ分散システムを構築する為の algorithm と protocol) 本章の目的: Application が分散システムにおいて幾つかの問題 (Network fault, process 障害, clock 同…

Raspberry Pi4 に Ubuntu server, desktop を入れる

Raspberry Pi4 に Ubuntu Server と Ubuntu desktop を入れた. Env Raspberry Pi4 4GB model B Ubuntu Server 20.04 arm64 for raspi LTS (until April 2025.) Ubuntu desktop lubuntu debian like Mac OSX 10.15.4 For flash OS image balenaEtcher version…

Setup ThinkPad T480s

Env OS 名: Microsoft Windows 10 Pro OS バージョン: 10.0.19044 N/A ビルド 19044 OS 製造元: Microsoft Corporation OS 構成: メンバー ワークステーション OS ビルドの種類: Multiprocessor Free 登録されている所有者: Windows ユーザー 登録されている…

AWS EC2 Image Builder (Windows) における Build component に癖がある

EC2 Image Builder とは EC2 の Golden Image (AMI) を作成できるサービス Image の更新 / 自動化 / テスト / スケジューリングが行える Install する software や Test は YAML で独自に定義 (Build component) SSM Agent により build, test が実施される …

富士そばアドベントカレンダー 12/12

富士そばアドベントカレンダー2019の12日目の記事になります。 ポストが遅れてしまい反省しております。 何故か横になってしまう渋谷店の写真 富士そばといえば カツ丼 ですね。 注文から食事までの手順は以下の通りです。 カツ丼を券売機で購入し、店員さん…

独自 Directive を IfDefine で定義して Rewrite を切り替える

通常は Sorry 画面を表示しておき、必要なタイミングで Apache の起動オプションを利用して Maintenance 画面へ切り替えたい。 IfDefine を利用した Directive 適用範囲の切替 IfDefine Directive を利用すれば、httpd で起動する際にオプションの -D <独自 …

Language settings を変えずにインストールした Meiryo font が Windows Server で消滅する

Env WindowsServer2016 English Full-Base PS> add-type -AssemblyName system.drawing PS> (New-Object System.Drawing.Text.InstalledFontCollection).Families | Where-Object { $_.Name -match 'Meiryo' } Name ---- Meiryo UI PS> Get-ChildItem -path …

アプリから Intune の SAML 認証経由でログイン出来る構成を作る

構成 AWS Route53 + ACM + CloudFront + S3 Universal Links の AASA file は S3 へ配置する. ACM は us-east-1 にて当該証明書を手動で発行する. ACM を CloudFront で利用する場合は us-east-1 で作成する必要があるため. 構築には Terraform を利用. アプ…

Pgpool, PostgreSQL の connection tuning

Pgpool num_init_children num_init_children は client の同時接続上限数 (prefork する Pgpool-II process 数) default 32 本 num_init_children が上限に達した場合, client は既存 process への接続が閉じるまで待たされる. reserved_connections が1以…

文字コードと改行コードの確認 (PowerShell と nkf で)

用意するもの Get-WmiObject Win32_OperatingSystem SystemDirectory : C:\Windows\system32 Organization : Amazon.com BuildNumber : 14393 RegisteredUser : EC2 SerialNumber : 00376-40000-00000-AA753 Version : 10.0.14393 $PSVersionTable.PSVersion…

IIS: Root application用のApplication Poolが存在する構成にするか否か

Root applicationとは IIS Site作成時にdefaultで作成されるapplication。 1SiteにつきRoot applicationが最低1つ以上存在する。 Root applicationを含む個々のapplicationはRoot virtual directoryに含まれる。 applicationhost.config 上のapplication PAT…

CloudFront経由での静的objectのresponse statusを必ず200にしたい

aws

背景 CloudFrontの設定画面には、以下のようなobject cachingに関する欄が存在する。 Select Use Origin Cache Headers if your origin server is adding a Cache-Control header to control how long your objects stay in the CloudFront cache. Select Cu…

IIS: Enhanced LoggingでX-Forwarded-For fieldを追加する

作業メモ。 Environment IIS10 当該featureは8.5 ~ PowerShell webadminstration module PS> Add-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -filter "system.applicationHost/sites/site[@name='<site_name>']/logFile/customFields" -name "." -val</site_name>…

Mac から console 接続を行い Cisco Router 892J の機器設定を行う

Cisco Router に接続し, 機器の設定を行う. Cisco router, switch は IOS が稼働しており, PC から console 接続を行い IOS を操作して設定を行う. Environment Router Cisco 892J Console (Rollover) cable Cisco 純正 RS-232C interface USB serial 変換 c…

IIS10 用語や設定メモ

memo. 用意するもの IIS10.0.1 HTTP protocol 10.0.1では HTTP/1.1, HTTP/2.0 をサポート。 クライアントサイドのprotocolによりよしなに切り替えてくれる。 Application pool IIS Web Application worker processの設定を行う。 Worker processはweb applic…