カテゴリ
最新の記事
以前の記事
検索
その他のジャンル
ファン
記事ランキング
ブログジャンル
画像一覧
|
昨日からいじっている CentOS は自宅の貧弱なノート PC 上に VM で構築しています。
256 MB しか割り当てていないメモリを節約するために、不要なサービスを止めてみます。 ・作業前のメモリ状態 # free -m total used free shared buffers cached Mem: 249 145 103 0 17 73 -/+ buffers/cache: 54 194 Swap: 511 0 511 ・ブート時に起動するサービスを確認 chkconfig コマンドで確認します。 ランレベルは 3 なので、3:on で grep。 More #
by hoge001
| 2010-09-06 22:50
| CentOS
SELinux は使いこなせば便利らしいんですが使いこなせる気がしないので、いつも無効化しています。
・有効・無効の確認 genforce コマンドを使います。Enforcing と出力されたら有効化中。 # /usr/sbin/getenforce Enforcing ・無効化 設定ファイル /etc/selinux/config の SELINUX=enforcing を SELINUX=disabled に修正します。 # more /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 - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted ・再起動 shutdown コマンドなどで CentOS を再起動 ・有効・無効の確認 Disabled と出力されたら無効化中。 # /usr/sbin/getenforce
Disabled #
by hoge001
| 2010-09-05 21:15
| CentOS
友人のブログ開設お手伝いのため、アカウントを取りました。
せっかくなので始めてみようと思います。 最初なので自己紹介。 職種はネットワークエンジニア。機器選定、設定、設置、開発、監視、やってます。 先日 CEDEC 2010 に行ってきました。業種はそっちらへんです。 コンピュータ関連、特に LAMP についての話題が主になりそう。 それでは、よろしくです。 #
by hoge001
| 2010-09-05 13:26
| お知らせ
|
ファン申請 |
||