
sambaのサービスでエラー(Failed to start smb.service: Unit smb.service not found.)
sambaを利用したファイルサーバを構築で、サービス(smb)起動時に「Failed to start smb.service: Unit smb.service not found.」のエラーが発生した場合の対処方法です。 エラー内容 例 ...

samba構築手順(パスワードなしでアクセスする方法)
samba構成イメージ sambaのインストール sambaのインストールはaptやyumなど利用されているデストリビューションに応じたものでインストールします。 Ubuntuの場合 sudo apt install samba CentO ...

Ubuntuに最新や特定バージョン(20.x)のNode.jsをインストールする手順
Ubuntuのデフォルトのパッケージマネージャーである apt を使用してNode.jsをインストールすると、通常はリポジトリに登録されているバージョンがインストールされます。しかし、最新バージョンまたは特定のバージョン(例: 20.x)を ...

Windows11 の WSL2 + WSLg で GUI アプリ実行時に発生するエラー「Error: Can’t open display: 0」の対処方法
2021 年 7 月 29 日に Windows11 が「Windows Insider Program」の Beta チャネルでリリースされたので、メイン PC を Windows11 に Upgrade しました。 リリース情報のネタ元 ...

WSL2(Ubuntu) で apt update するとエラーになる(InRelease is not valid yet (invalid for another xx 時間 xx 分 xx 秒). Updates for this repository will not be applied.)
WSL2(Ubuntu)で apt update すると「InRelease is not valid yet」エラーが発生したので、原因と対応方法についてまとめました。 エラー内容 WSL2 の Ubuntu にログインし apt upd ...

「grub >」が表示されて起動しない時の簡単な修復方法
WindowsとLinuxのデュアルブート環境で突然「grub >」が表示され起動しなくなったUSBメモリにLinuxをインストールすると本体側のLinuxで「grub >」が表示され起動しなくなった デュアルブート環境を構築したり、USB ...

Linux Mint MATE 20.1 の xkeysnal で Windows の AutoHotKey と同じ設定をする
Linux Mint を利用しているときに、Windows で利用している AutoHotKey で行っていたように、カーソルキー移動や Backspace キーをホームポジションを崩さすに操作したくなってきました。 Linux で Aut ...

Linux Mint MATE 20.1 でサーバ構築 #3 Docker/kubernetes(kubeadm)
今回は、Linux Mint MATE 20.1 に Docker と Kubernetes クラスタを構築する手順をまとめました。 最初に構築しようとした際に ...

Linux Mint MATE 20.1 でサーバ構築 #2 ssh/xrdp リモートデスクトップ
今回は、Windows10 から Linux Mint MATE 20.1 への ssh での接続やデスクトップを操作するために xrdp を利用して Windows のリモートデスクトップ機能で接続できるようにします。 Linux Min ...

Linux Mint MATE 20.1 でサーバ構築 #1 インストール/サスペンド防止
手元にある 古いノートパソコン(Lenovo ideapad 120S)があるのですが、 Windows10 で利用するにはスペック的に厳しいので、動作の軽いLinux Mint MATE 20.1 をインストールしてみようと考えたのですが ...

sambaを導入してファイルサーバを構築する手順(インストールから設定方法まで)
Linux上にWindows端末から利用できるファイルサーバを構築したい場合に、あまり複雑なアクセス権などを考えず、簡単に構築する手順をご紹介します。 ユーザ・パスワードなしでsambaを利用したい場合は、こちらの記事を参考にしてください。 ...

sshサーバの接続設定手順(公開鍵証明書の作成・登録・エイリアスでの接続方法など)
sshサーバへクライアントから秘密鍵で接続するまでの手順をまとめました。 頻繁に接続する環境であればエイリアス登録すると便利になります。 環境と作業手順 環境 作業手順 Noクライアント/サーバ作業内容1クライアントキーペアを作成する2クラ ...

Ubuntu(Linux)のプロンプトにGitのブランチ名を表示する方法
普段WindowsのGit Bashを利用していると操作中のブランチ名がプロンプトに表示されます。 ユーザ@ホスト名 MINGW64 /c/Git/memo (master) AWSのEC2でUbuntuを利用している場合や、ローカル環 ...

Windows 10 Home(WSL2)+UbuntuへDockerをインストールする手順まとめ
Windows 10 Home の WSL2のUbuntuにDockerをインストールする手順についてまとめました。 <2020/8/10> 2020/3時点では最新のdockerをインストールするとうまく動作しないなどの問題があ ...