skip to content
Tags → #ubuntu
-
Ubuntu22.04LTSでdocker-composeのアップデート方法を紹介します。古いバージョンの削除後、GitHubから最新版をインストールし実行権限を付与します。
-
WSL2のUbuntuのapt updateで接続エラーが出た問題を解決する方法は、/etc/resolv.confにGoogleのDNSサーバーを設定することでした。
-
`E Unable to locate package gh`エラーの解決方法です。Ubuntuの場合は`sudo apt install gh`でインストールすればOK。
-
SSHからログアウトしてもコマンド実行を継続する方法を紹介します。例として、GCEでのstreamlitの運用方法をメモしておきます。コマンドの前にnohupを付けて、コマンドの最後に&を付けるだけで実行継続が可能です。
-
apt updateでエラーが生じた時の解決方法の紹介です。パッケージリストを確認し、chromeに関連するリストを削除して再度apt updateを実行することで解決できます。
-
GCEでSSHのポート番号を変える方法を紹介します。VPCネットワークのファイアウォールルールを作成し、任意のポートを開ける設定を行います。
-
cronを使用してvenv内のPythonスクリプトを実行する方法を紹介します。ログは`>> /tmp/cron.log 2>&1`で出力されます。
-
vagrant upで生じたVirtualBox Guest Additionsのエラーの解消方法を記載しています。
-
apt update時にエラーが発生し、python3のバージョンが書き換えられていたため、元のバージョンに戻すことで問題が解決しました。
-
Cloud9の設定方法を紹介します。タイムゾーンの変更やaptアップデート、Python3.8とvenvのインストール、最新のNode.jsのインストールなどを解説します。