LoginSignup
0

More than 1 year has passed since last update.

VPSの設定に関するメモ

Last updated at Posted at 2022-11-08

VPSの設定に関するメモ

サーバー設定で詰まったところをメモがてら。
使用OS:ubuntu 20.04.5 LTS

OSの更新確認とアプデ

更新を確認
sudo apt update
更新をインストール
sudo apt upgrade

日本語言語パック導入

sudo apt -y install language-pack-ja-base language-pack-ja ibus-mozc
sudo update-locale LANG=ja_JP.UTF-8 LANGUAGE=ja_JP:ja

(必要に応じて)タイムゾーン変更

sudo dpkg-reconfigure tzdata

Apache導入

インストール
sudo apt install apache2
サーバー再起動時にapache自動実行
sudo systemctl enable apache2

ファイアウォール設定

インストール
sudo apt install firewalld

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0