2022年 6月

let’s encrypt IIS 更新処理

管理者でコマンドプロンプトを出す

d:
cd D:\win-acme.v2.1.8.847.x64.pluggable
wacs.exe を起動する。
Rを入れてエンターする
Qを入れてエンターする
以上終了

一発コマンド
D:\wacs.exe –renew –baseuri “https://acme-v02.api.letsencrypt.org/”

PostgreSql フィールド情報取得

select
information_schema.columns.column_name as fieldname ,
information_schema.columns.data_type as fieldtype ,
information_schema.columns.character_maximum_length as length ,
information_schema.columns.is_nullable ,
information_schema.columns.column_default as defaultflg,
information_schema.columns.numeric_precision,
information_schema.columns.numeric_precision_radix,
information_schema.columns.numeric_scale,
(select description from pg_description where
pg_description.objoid=pg_stat_user_tables.relid and
pg_description.objsubid=information_schema.columns.ordinal_position
) as comment
from
pg_stat_user_tables,
information_schema.columns
where
pg_stat_user_tables.relname=’authority_mail’
and pg_stat_user_tables.relname=information_schema.columns.table_name
order by information_schema.columns.ordinal_position;

defaultflg
defaultvalue
comment

はいずこ

CentOS7でIPV4を有効化する

nmcli con mod ens192 ipv4.method auto
nmcli con down ens192 ; nmcli con up ens192

robocopy でコピーする

robocopy d: e: /e /xd “System Volume Information” “$RECYCLE.BIN”

最新のみをコピーする

robocopy d:\ e:\ /E /xo /xc /xd “System Volume Information” “$RECYCLE.BIN”