ubuntu2204
*Ubuntu22.04でいろいろやる **SSH入ってない Desktop入れたんだがSSH入ってなかった。まじか >sudo apt install openssh-server -y **Firewall動いていない >sudo ufw status >Status: inactive >sudo ufw enable >Firewall is active and enabled on system startup >sudo ufw status >Status: active >sudo ufw allow 22 >Rule added >Rule added (v6) >sudo ufw status >Status: active > >To Action From >-- ------ ---- >22 ALLOW Anywhere >22 (v6) ALLOW Anywhere (v6) **Chrome入れる Firefoxで開く [[https://www.google.com/chrome/]] Download Chromeを押すと、ちゃんとLinuxダウンロードしようとする。 64bit .debを選ぶ。 ▼ ダウンロードしたらフォルダ開いて ▼ 右クリックから「Open with other application」 ▼ Recommended ApplicationsからSoftware Installを選んでSelect ▼ 少し待つ ▼ google-chrome-stableが表示されるのでInstallを押す 参考:[[【図解】Ubuntu Desktop 22.04 LTS:Google Chromeインストール手順>https://inab818.site/ubuntu-desktop/22-04-lts-google-chrome-download-install/]] **Node.js入れる >sudo apt list | grep nodejs > >WARNING: apt does not have a stable CLI interface. Use with caution in scripts. > >netdata-plugins-nodejs/jammy,jammy 1.33.1-1ubuntu1 all >nodejs-doc/jammy,jammy 12.22.9~dfsg-1ubuntu3 all >nodejs/jammy 12.22.9~dfsg-1ubuntu3 amd64 古い、現在(2023-04-13)推奨は18.16.0 LTS curl入ってなかったのでいれる >sudo apt install curl -y ▼ 非公式リポジトリを追加 >curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - 参考:[[Ubuntu 22.04 LTSへの最新版Node.jsのインストール>https://self-development.info/ubuntu-22-04-lts%E3%81%B8%E3%81%AE%E6%9C%80%E6%96%B0%E7%89%88node-js%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB/]] ▼ ちゃんと上がっている >sudo apt list | grep nodejs >netdata-plugins-nodejs/jammy,jammy 1.33.1-1ubuntu1 all >nodejs-doc/jammy,jammy 12.22.9~dfsg-1ubuntu3 all >nodejs/unknown 18.15.0-deb-1nodesource1 amd64 ▼ Node.jsインストール >sudo apt install nodejs -y >node --version >v18.15.0 >npm --version >9.5.0 **UbuntuをUSBメモリに入れて起動USBメモリを作る balenaEtcher [[https://www.balena.io/etcher]] **温度計測 hardinfo end.
2025-04-01 00:05:25 32400