TITLE:サービスの設定 *サービスの設定 [#k233fb9b] CentOS 5のときはGUIで設定したが、 今回はきちんとchkconfigコマンドとserviceコマンドを使用した。 **不要なサービスの停止 [#ne994e3a] とりあえず、chkconfigコマンドで設定をしておいて、再起動。 # chkconfig acpid off # chkconfig cpuspeed off # chkconfig iscsi off # chkconfig iscsid off # chkconfig fcoe off # chkconfig spice-vdagentd off # chkconfig wdaemon off # chkconfig rpcbind # chkconfig rpcgssd off # chkconfig rpcbind off # chkconfig netfs off # chkconfig nfslock off 参考にしたのは、下のサイト。 -http://www.obenri.com/_minset_cent6/daemon_cent6.html -http://ry.tl/daemon.html -http://kajuhome.com/service_list.shtml -http://seeku.hateblo.jp/entry/2013/05/25/070927 -http://www.server-world.info/query?os=CentOS_6&p=initial_conf&f=4 -http://centos.server-manual.com/centos5_service_off.html **telnetサーバの設定 [#k3f0ae17] 作業の都合上、telnetを利用したいので、「telnet-server」の設定をする。 // **必要なサービスの開始 [#r3ebfdca] // とりあえずtelnetサーバを使いたいので、 // GUIからの設定であれば「オンデマンドのサービス」で「telnet」をオンにする。 システムのインストール時点で、「telnet-server」をインストールしているはずだが、 できていなければ次のコマンドでインストールする。 # yum -y install telnet-server 次にシステム起動時(正確にはxinetdの起動時)に、 telnet-serverが有効になるように、設定ファイルを編集する。 # vi /etc/xinetd.d/telnet 次の箇所を編集する。 disable = yes ↓(編集) disable = no 編集できたら、xinetdを再起動して、telnet-serverを有効にする。 # service xinetd restart あとは必要に応じて、rootでログインできるようにするなり何なりとしておく。 詳しくはググればわかる… |