LoginSignup
1
5

More than 5 years have passed since last update.

CentOS 7 OSインストール後の初期設定

Last updated at Posted at 2018-02-27

動作確認環境

  • 仮想環境 VMware Workstation Player 14.1.1
  • OS Windows 10 Pro 64bit

仮想環境

  • OS CentOS 7.4 (1708) minimalインストール
  • メモリ 2GB
  • HDD 250GB

基本パッケージのインストール

minimalインストールには、サーバソフトウェアを構築するためのツールが無いので、必要なパッケージを導入する。

yum -y groupinstall base
yum -y groupinstall development
yum -y groupinstall network-tools

yum アップデート

yum -y update

不要サービスの停止

systemctl disable abrt-ccpp
systemctl disable abrt-oops
systemctl disable abrt-vmcore
systemctl disable abrt-xorg
systemctl disable abrtd
systemctl disable atd
systemctl disable auditd
systemctl disable avahi-daemon
systemctl disable kdump
systemctl disable mdmonitor
systemctl disable dmraid-activation

SELinux無効設定

SELinuxを無効にするためselinux設定ファイルを変更する。

vi /etc/sysconfig/selinux

変更箇所

SELINUX=disabled

設定を反映させるため再起動する。

shutdown -r now

目次

1
5
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
1
5