いちらん。
Default python version in Amazon Linux 2
予定です。
There are no plans to change the default Python interpreter. It is our intention to retain Python 2.7 as the default for the lifetime of Amazon Linux 2.
ああ……
日記 docker/compose/issues/3633
- Docker for Mac 19.03.5🔗
- docker-compose version 1.25.4, build 8d51620a
この状態でこのエラーが出た。COMPOSE_HTTP_TIMEOUTをのばしてもなおらなかったけど、アプデしたらなおった。
yum deplist
- deplist List a package's dependencies
っていうことなんだよね
例
bash-4.2# cat /etc/system-release Amazon Linux release 2 (Karoo) bash-4.2# yum deplist nodejs | head Loaded plugins: ovl, priorities package: nodejs.x86_64 2:10.19.0-1nodesource dependency: /bin/bash provider: bash.x86_64 4.2.46-33.amzn2 dependency: /bin/sh provider: bash.x86_64 4.2.46-33.amzn2 dependency: /usr/bin/env provider: coreutils.x86_64 8.22-24.amzn2 dependency: /usr/bin/python provider: python.x86_64 2.7.16-5.amzn2
Ubuntu 18.10から19.10へのアップグレード日記
18.10から19.10に上げられない。An upgrade from 'cosmic' to 'eoan' is not supported with this tool
で死ぬ。
とりあえず19.04にあげてから19.10にあげることにした。下のを参考に。
/var/lib/update-managerの下のmeta-releaseをコピって、do-release-upgradeで19.04をアップデート出来るようにコピったmeta-releaseを書き換えつつ、新しいmeta-release2を呼ぶようにPythonを書き換える。 これだけだとダメで、/var/lib/dist-upgradeのapt.logを参考に、依存関係でアップデートできないパッケージ(wireshark)を消したり、ppaをremoveしたりsource.listの404なやつを削除したりなどしてなんとかdo-release-upgradeが成功して19.04に上げられた。その後19.10にエラーなしで一発アップグレードできた。
所要時間2時間くらいじゃね?
pyenv v1.2.17
- python-build: Add CPython 3.8.2
- python-build: Add CPython 3.7.7 (#1553)
- python-build: Add Miniconda versions newer than 4.3.30 (#1361)
- python-build: Add Micropython 1.12 (#1542)
- python-build: Add Add CPython 3.9.0a4
- pyenv: Fix sed illegal byte sequence error (#1521)
Session Managerを通して SSH 接続を有効にするやつでprofileを追加したい人生だった
Session Managerを通して SSH 接続を有効にするやつでprofileを追加したい人生だった
公式じゃこういうふうに説明されているけど、profileごとに分けるのは.ssh/configじゃできない sshのコマンドからパラメータを渡せない。ssh側にパラメータが無いので。
# SSH over Session Manager host i-* mi-* ProxyCommand sh -c "aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'"
なので、AWSのサポートの人に確認した頃、AWS_PROFILE変数を使えばいいんじゃない?という神託を受けた。 もしくは、hostを完全決め打ちにしてprofileごとに分けるとか。そういうのがいいんじゃないか?
ssh configで使えるパラメータ
こんなところ
%% A literal ‘%’. %C Hash of %l%h%p%r. %d Local user's home directory. %h The remote hostname. %i The local user ID. %L The local hostname. %l The local hostname, including the domain name. %n The original remote hostname, as given on the command line. %p The remote port. %r The remote username. %T The local tun(4) or tap(4) network interface assigned if tunnel forwarding was requested, or "NONE" otherwise. %u The local username.
brew cask install session-manager-plugin
brew cask install session-manager-plugin できた
しかもびっくりすることにlatest固定だからCaskメンテの必要もない
awscli 1.18.18
- api-change:
marketplacecommerceanalytics
: Update marketplacecommerceanalytics command to latest version - api-change:
ec2
: Update ec2 command to latest version - api-change:
iotevents
: Update iotevents command to latest version - api-change:
serverlessrepo
: Update serverlessrepo command to latest version
awscli 1.18.17
- api-change:
medialive
: Update medialive command to latest version - api-change:
dms
: Update dms command to latest version - api-change:
ec2
: Update ec2 command to latest version
PHPStorm フォント関係
フォント関係
Select the size of your font. If you need to quickly change the font size while in the editor, use the Change font size (Zoom) with ⌘ + Mouse Wheel option located in Settings/Preferences | Editor | General.
チェック入れないとキーボード上でフォントの拡大縮小(zoom)はできない
git 2.25.1
shell_outputじゃなくてpipe_outputを使おうっていう話に落ち着いた
Method: Homebrew::Assertions#pipe_output — Documentation for Homebrew/brew (master) Method: Homebrew::Assertions#shell_output — Documentation for Homebrew/brew (master)
jenkins 2.204.5
Release 2.204.5 · jenkinsci/jenkins · GitHub
This release fixes major regressions introduced in 2.204.3. It reverts Winstone and Jetty dependencies, so some bugfixes and enhancements are reverted. You can find a public retrospective document here.
とな
awscli 1.18.16
Release 1.18.16 · aws/aws-cli · GitHub
- api-change:
appmesh
: Update appmesh command to latest version - api-change:
signer
: Update signer command to latest version - api-change:
robomaker
: Update robomaker command to latest version - api-change:
ec2
: Update ec2 command to latest version - api-change:
guardduty
: Update guardduty command to latest version