0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Linux(CentOS)構築

Last updated at Posted at 2019-12-15

※セキュリティ等は考慮しておりません

selinuxを無効にする

# vi /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled 
# SELINUXTYPE= can take one of three values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

SELINUX=disabledに変更する

firewallサービスを無効にする

# systemctl disable firewalld

以下のコマンドで状態確認可能
# firewall-cmd --state
not running

タイムゾーンを日本時間にする

# timedatectl set-timezone Asia/Tokyo

以下のコマンドで確認
# timedatectl

ロケールを日本語にする

# localectl set-locale LANG=ja_JP.utf8

以下のコマンドで確認する
# localectl
# localedef -f UTF-8 -i ja_JP ja_JP.utf8

日本語レイアウトのキーマップに変更する

# localectl set-keymap jp106

以下のコマンドで確認する
# localectl
0
1
0

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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?