2026-01-01から1年間の記事一覧

mac portで postgresqlが起動しない場合の復旧方法

macportで $ sudo port reload postgresql16-server で postgresqlが起動しない場合の復旧方法です 前提 以下の条件に合致する場合は postgresqlは初期設定済みとする 今まではpostresqlが正常に動作していた macOSの更新で postgresqlが起動しなくなった 以…

apt update のエラーの対処方法(Warning: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. OpenPGP signature verification failed: https://developer.download.nvidia.com/compute/cuda/repos/deb

apt updateで以下のエラー(厳密には警告?)が出る場合の対処法です。2026年2月以降、CUDAや生成AIを使っているサーバーで頻出するエラーになると思われるのでエントリとして書いておきます。 エラーメッセージ Warning: An error occurred during the sign…

リモートサーバー上で jupyter を常時稼働する方法(systemdによるサービス化)

リモートサーバー上で JupyterLab を使っている場合を想定し,サーバー(Linux)を起動すると自動で JupyterLab が起動するようにする設定を紹介します. この設定のメリット Linuxを起動すると自動で jupyterが起動 いちいちSSH でサーバにログインしてから…

Warning: https://developer.download.nvidia.com/compute/cuda/repos/debian10/x86_64/InRelease: Policy will reject signature within a year, see --audit for details を消す方法

apt updateで以下のメッセージが出る場合の対処方法(workaround)です Warning: https://developer.download.nvidia.com/compute/cuda/repos/debian10/x86_64/InRelease: Policy will reject signature within a year, see --audit for details 設定ファイ…