0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

etcフォルダってなに?

Posted at

はじめに

サーバーを構築する際に、よく目にするetcフォルダですが、いろいろ調べてみると、Linux Foundationという組織が、ドキュメントにまとめて説明していたので、日本語でまとめることにします。
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s07.html

etcフォルダ

etcフォルダーとは、ホスト固有のシステム設定ファイルを格納する場所であり、etcフォルダの中にはバイナリファイルは含まれないです。
また、設定ファイルは、etc/に直接配置するのではなく、サブディレクトリに配置することが勧められています。

具体的なサブディレクトリでいうと以下のようなものがあります。

/etc/opt

追加のアプリケーションソフトウェアのホスト固有の設定ファイルを格納

/etc/X11

Window システムに関する設定ファイルを格納

/etc/sgml および /etc/xml

高レベルの設定パラメータを格納

最後に

サーバー構築の際、なぜこのファイルが/etcフォルダー内に配置されているのか、疑問に感じることも多かったのですが、実際にまとめてみるとその意図がよく理解でき、とても納得できました。他にもLinuxのフォルダには興味のあるフォルダがあるので、積極的に調べてみようと思います。

0
0
1

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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?