diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-03-19 04:02:56 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-03-19 04:02:56 +0900 |
| commit | 572cd70d9fc7baf4d86a633a3ab74c6d058a4de8 (patch) | |
| tree | 01add3cfd42c164f78931eba0ca9e6b82423a9e7 /public/posts/2022-10-28/setup-server-for-this-site | |
| parent | db3d51ddc421dad68abddb95d01ffdab440197d6 (diff) | |
| download | blog.nsfisis.dev-572cd70d9fc7baf4d86a633a3ab74c6d058a4de8.tar.gz blog.nsfisis.dev-572cd70d9fc7baf4d86a633a3ab74c6d058a4de8.tar.zst blog.nsfisis.dev-572cd70d9fc7baf4d86a633a3ab74c6d058a4de8.zip | |
fix(content): fix XML notations
Diffstat (limited to 'public/posts/2022-10-28/setup-server-for-this-site')
| -rw-r--r-- | public/posts/2022-10-28/setup-server-for-this-site/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/public/posts/2022-10-28/setup-server-for-this-site/index.html b/public/posts/2022-10-28/setup-server-for-this-site/index.html index 63990bd..eb8d2d2 100644 --- a/public/posts/2022-10-28/setup-server-for-this-site/index.html +++ b/public/posts/2022-10-28/setup-server-for-this-site/index.html @@ -90,7 +90,7 @@ $ ssh-keygen -t ed25519 -b 521 -f ~/.ssh/github2teika.key</code></pre> <p> - <code>teika.key</code> はローカルからサーバへの接続用、<code>github2teika.key</code> は、GitHub Actions からサーバへのデプロイ用。 + <code>teika.key</code> はローカルからサーバへの接続用、<code>github2teika.key</code> は、 GitHub Actions からサーバへのデプロイ用。 </p> </section> @@ -120,7 +120,7 @@ IdentityFile ~/.ssh/teika.key</code></pre> <section id="section--basic-setup--user"> <h3><a href="#section--basic-setup--user">ユーザを作成する</a></h3> <p> - 管理者ユーザで作業すると危ないので、メインで使うユーザを作成する。<code>sudo</code> グループに追加して <code>sudo</code> できるようにし、<code>su</code> で切り替え。 + 管理者ユーザで作業すると危ないので、メインで使うユーザを作成する。 <code>sudo</code> グループに追加して <code>sudo</code> できるようにし、<code>su</code> で切り替え。 </p> <pre class="highlight" language="shell-session" linenumbering="unnumbered"><code>$ sudo adduser ********** @@ -179,7 +179,7 @@ $ sudo systemctl status sshd</code></pre> <section id="section--basic-setup--ssh-connect"> <h3><a href="#section--basic-setup--ssh-connect">SSH で接続確認</a></h3> <p> - 今の SSH セッションは閉じずに、ターミナルを別途開いて疎通確認する。セッションを閉じてしまうと、SSH の設定に不備があった場合に締め出しをくらう。 + 今の SSH セッションは閉じずに、ターミナルを別途開いて疎通確認する。 セッションを閉じてしまうと、SSH の設定に不備があった場合に締め出しをくらう。 </p> <pre class="highlight" language="shell-session" linenumbering="unnumbered"><code>$ ssh teika</code></pre> @@ -297,7 +297,7 @@ $ make setup</code></pre> <section id="section--outro"> <h2><a href="#section--outro">感想</a></h2> <p> - (業務でなく) 個人だと数年ぶりのサーバセットアップで、これだけでも割と時間を食ってしまった。とはいえ式年遷宮は楽しいので、これからも定期的にやっていきたい。コンテナデプロイにしたい気持ちもあるのだが、色々実験したい関係上、本物のサーバも欲しくはある。次の式年遷宮では、手順の一部だけでも自動化したいところ。 + (業務でなく) 個人だと数年ぶりのサーバセットアップで、これだけでも割と時間を食ってしまった。 とはいえ式年遷宮は楽しいので、これからも定期的にやっていきたい。 コンテナデプロイにしたい気持ちもあるのだが、色々実験したい関係上、本物のサーバも欲しくはある。 次の式年遷宮では、手順の一部だけでも自動化したいところ。 </p> </section> </div> |
