aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/posts/2022-10-28
diff options
context:
space:
mode:
Diffstat (limited to 'public/posts/2022-10-28')
-rw-r--r--public/posts/2022-10-28/setup-server-for-this-site/index.html8
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>