linux:webserver
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| linux:webserver [2021/03/02 16:48] – [Ubuntu Serverによる各種Serverの構築] kimi | linux:webserver [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== Linux環境構築(サーバ編) ====== | + | ====== Linux環境構築(Webサーバ編) ====== |
| - | ===== Ubuntu Serverによる各種Serverの構築 ===== | + | |
| - | - [[linux: | + | |
| - | - [[linux: | + | |
| - | * [[linux: | + | |
| - | * [[linux: | + | |
| - | + | ||
| - | - 適当な機器に[[linux: | + | |
| - | - [[linux: | + | |
| - | - [[linux: | + | |
| - | - [[linux: | + | |
| - | + | ||
| - | ===== Ubuntuによるデスクトップ環境構築 ===== | + | |
| - | - [[linux: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Ubuntu Serverをインストール ===== | + | |
| - | + | ||
| - | ===== Ubuntuのアップデート/アップグレード ===== | + | |
| - | + | ||
| - | + | ||
| - | ===== Ubuntu ServerによるMail Serverの構築 ===== | + | |
| - | + | ||
| - | - 適当な機器に[[linux: | + | |
| - | - [[linux: | + | |
| - | + | ||
| - | + | ||
| - | ===== 最新のノートPCをUPS付きサーバに ===== | + | |
| - | * BIOS Boot USB Hard Disk | + | |
| - | + | ||
| - | ===== 蓋をしてもスリープしない ===== | + | |
| - | + | ||
| - | + | ||
| - | <code sh> $ sudo vi / | + | |
| - | + | ||
| - | <file txt> | + | |
| - | # | + | |
| - | # | + | |
| - | # | + | |
| - | </ | + | |
| - | を | + | |
| - | <file txt> | + | |
| - | HandleLidSwitch=ignore | + | |
| - | HandleLidSwitchExternalPower=ignore | + | |
| - | HandleLidSwitchDocked=ignore | + | |
| - | </ | + | |
| - | に変更。 | + | |
| - | + | ||
| - | + | ||
| - | sshで | + | |
| - | WARNING: POSSIBLE DNS SPOOFING DETECTED! | + | |
| - | とか | + | |
| - | WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! | + | |
| - | とかいうときは | + | |
| - | $HOME/ | + | |
| - | を編集するか | + | |
| - | ssh-keygen -R HOST名 | + | |
| - | でエントリーを削除する。 | + | |
| - | + | ||
| - | ===== 固定IPv4アドレスに ===== | + | |
| - | サーバの運用は固定IPアドレスで行うのが普通。そこで固定IPアドレスを設定する。 | + | |
| - | ubuntu-20.04.2の場合は | + | |
| - | <code sh> | + | |
| - | $ cat / | + | |
| - | # This is the network config written by ' | + | |
| - | network: | + | |
| - | ethernets: | + | |
| - | enp3s0: | + | |
| - | addresses: | + | |
| - | - 192.168.10.4/ | + | |
| - | gateway4: 192.168.10.254 | + | |
| - | nameservers: | + | |
| - | addresses: | + | |
| - | - 192.168.10.1 | + | |
| - | search: | + | |
| - | - ee.ous.ac.jp | + | |
| - | version: 2 | + | |
| - | $ | + | |
| - | + | ||
| - | </ | + | |
| - | で確認できる。 | + | |
linux/webserver.1614671323.txt.gz · 最終更新: (外部編集)