Kenji Okimoto
null+****@clear*****
Mon Jun 26 12:32:51 JST 2017
Kenji Okimoto 2017-06-26 12:32:51 +0900 (Mon, 26 Jun 2017) New Revision: ba4997eef773f4223ec21abf543acebed269553e https://github.com/milter-manager/milter-manager/commit/ba4997eef773f4223ec21abf543acebed269553e Message: doc: Use apt command instead of apt-get and aptitude Modified files: doc/install-options-to-debian.rd doc/install-options-to-debian.rd.ja doc/install-options-to-ubuntu.rd doc/install-options-to-ubuntu.rd.ja doc/install-to-ubuntu.rd doc/install-to-ubuntu.rd.ja doc/upgrade-on-debian.rd doc/upgrade-on-debian.rd.ja doc/upgrade-on-ubuntu.rd doc/upgrade-on-ubuntu.rd.ja Modified: doc/install-options-to-debian.rd (+3 -3) =================================================================== --- doc/install-options-to-debian.rd 2017-06-26 12:31:42 +0900 (59d847f) +++ doc/install-options-to-debian.rd 2017-06-26 12:32:51 +0900 (bf59ba2) @@ -35,7 +35,7 @@ explained, then a way that using Munin will be explained. We use Apache as Web server. - % sudo aptitude -V -D -y install apache2 + % sudo apt -y install apache2 ==== Configure milter-manager-log-analyzer @@ -67,7 +67,7 @@ We install milter-manager-munin-plugins package that provides statistics data collected by milter-manager-log-analyzer to Munin: - % sudo aptitude -V -D -y install milter-manager-munin-plugins + % sudo apt -y install milter-manager-munin-plugins ((*NOTE: We need to use databases created by milter-manager-log-analyzer bundled with milter manager @@ -98,7 +98,7 @@ that system monitor server works on Debian GNU/Linux. First, we install munin and Apache: - monitoring-server% sudo aptitude -V -D -y install munin apache2 + monitoring-server% sudo apt -y install munin apache2 We add our mail server that works munin-node to munin's monitor target. We assume that mail server has the following Modified: doc/install-options-to-debian.rd.ja (+3 -3) =================================================================== --- doc/install-options-to-debian.rd.ja 2017-06-26 12:31:42 +0900 (4a37b3b) +++ doc/install-options-to-debian.rd.ja 2017-06-26 12:32:51 +0900 (f9b62aa) @@ -35,7 +35,7 @@ milter-manager-log-analyzerが出力するグラフは同じホストにWeb WebサーバとしてApacheを使います。 - % sudo aptitude -V -D -y install apache2 + % sudo apt -y install apache2 ==== milter-manager-log-analyzerの設定 @@ -66,7 +66,7 @@ WebサーバとしてApacheを使います。 milter-manager-log-analyzerが収集した統計情報をMuninに提供す るmilter-manager-munin-pluginsパッケージをインストールします。 - % sudo aptitude -V -D -y install milter-manager-munin-plugins + % sudo apt -y install milter-manager-munin-plugins ((*注: Muninに統計情報を提供する場合はmilter manager 1.5.0以 降のmilter-manager-log-analyzerが生成したデータベースを使う @@ -95,7 +95,7 @@ GNU/Linuxで動いているとします。 まず、muninをインストールします。 - monitoring-server% sudo aptitude -V -D -y install munin + monitoring-server% sudo apt -y install munin muninの監視対象にmunin-nodeが動いているメールサーバを追加しま す。メールサーバが以下の場合の/etc/munin/munin.confへ追加する Modified: doc/install-options-to-ubuntu.rd (+3 -3) =================================================================== --- doc/install-options-to-ubuntu.rd 2017-06-26 12:31:42 +0900 (5fc6b9e) +++ doc/install-options-to-ubuntu.rd 2017-06-26 12:32:51 +0900 (029c9d3) @@ -38,7 +38,7 @@ explained, then a way that using Munin will be explained. We use Apache as Web server. - % sudo apt-get -V -y install apache2 + % sudo apt -V -y install apache2 ==== Configure milter-manager-log-analyzer @@ -70,7 +70,7 @@ We install milter-manager-munin-plugins package that provides statistics data collected by milter-manager-log-analyzer to Munin: - % sudo apt-get -V -y install milter-manager-munin-plugins + % sudo apt -V -y install milter-manager-munin-plugins ((*NOTE: We need to use databases created by milter-manager-log-analyzer bundled with milter manager @@ -101,7 +101,7 @@ that system monitor server works on Ubuntu. First, we install munin and Apache: - monitoring-server% sudo apt-get -V -y install munin apache2 + monitoring-server% sudo apt -V -y install munin apache2 We add our mail server that works munin-node to munin's monitor target. We assume that mail server has the following Modified: doc/install-options-to-ubuntu.rd.ja (+3 -3) =================================================================== --- doc/install-options-to-ubuntu.rd.ja 2017-06-26 12:31:42 +0900 (bcdc037) +++ doc/install-options-to-ubuntu.rd.ja 2017-06-26 12:32:51 +0900 (ad6884d) @@ -35,7 +35,7 @@ milter-manager-log-analyzerが出力するグラフは同じホストにWeb WebサーバとしてApacheを使います。 - % sudo apt-get -V -y install apache2 + % sudo apt -V -y install apache2 ==== milter-manager-log-analyzerの設定 @@ -66,7 +66,7 @@ WebサーバとしてApacheを使います。 milter-manager-log-analyzerが収集した統計情報をMuninに提供す るmilter-manager-munin-pluginsパッケージをインストールします。 - % sudo apt-get -V -y install milter-manager-munin-plugins + % sudo apt -V -y install milter-manager-munin-plugins ((*注: Muninに統計情報を提供する場合はmilter manager 1.5.0以 降のmilter-manager-log-analyzerが生成したデータベースを使う @@ -95,7 +95,7 @@ munin-nodeを再起動し設定を反映させます。 まず、muninとApacheをインストールします。 - monitoring-server% sudo apt-get -V -y install munin httpd + monitoring-server% sudo apt -V -y install munin httpd muninの監視対象にmunin-nodeが動いているメールサーバを追加しま す。メールサーバが以下の場合の/etc/munin/munin.confへ追加する Modified: doc/install-to-ubuntu.rd (+5 -5) =================================================================== --- doc/install-to-ubuntu.rd 2017-06-26 12:31:42 +0900 (afee2ce) +++ doc/install-to-ubuntu.rd 2017-06-26 12:32:51 +0900 (4c63057) @@ -33,24 +33,24 @@ Here are supported Ubuntu versions: Add the (({ppa:milter-manager/ppa})) PPA to your system: - % sudo apt-get -y install software-properties-common + % sudo apt -y install software-properties-common % sudo add-apt-repository -y ppa:milter-manager/ppa - % sudo apt-get update + % sudo apt update === Install Install milter manager: - % sudo apt-get -y install milter-manager + % sudo apt -y install milter-manager We use Postfix as MTA: - % sudo apt-get -V -y install postfix + % sudo apt -V -y install postfix We use spamass-milter, clamav-milter and milter-greylist as milters: - % sudo apt-get -V -y install spamass-milter clamav-milter milter-greylist + % sudo apt -V -y install spamass-milter clamav-milter milter-greylist == Configuration Modified: doc/install-to-ubuntu.rd.ja (+6 -6) =================================================================== --- doc/install-to-ubuntu.rd.ja 2017-06-26 12:31:42 +0900 (542b9ee) +++ doc/install-to-ubuntu.rd.ja 2017-06-26 12:32:51 +0900 (e6fe80a) @@ -32,25 +32,25 @@ Ubuntu向けのmilter managerのAPTリポジトリは (({ppa:milter-manager/ppa})) PPAを追加します: - % sudo apt-get -y install software-properties-common + % sudo apt -y install software-properties-common % sudo add-apt-repository -y ppa:milter-manager/ppa - % sudo apt-get update + % sudo apt update === インストール milter managerをインストールします。 - % sudo apt-get update - % sudo apt-get -V -y install milter-manager + % sudo apt update + % sudo apt -V -y install milter-manager MTAはPostfixを利用することとします。 - % sudo apt-get -V -y install postfix + % sudo apt -V -y install postfix milterはspamass-milter、clamav-milter、milter-greylistを使用 することとします。 - % sudo apt-get -V -y install spamass-milter clamav-milter milter-greylist + % sudo apt -V -y install spamass-milter clamav-milter milter-greylist == 設定 Modified: doc/upgrade-on-debian.rd (+1 -1) =================================================================== --- doc/upgrade-on-debian.rd 2017-06-26 12:31:42 +0900 (604d600) +++ doc/upgrade-on-debian.rd 2017-06-26 12:32:51 +0900 (d31dd0f) @@ -13,7 +13,7 @@ information. We just upgrade milter manager package. - % sudo aptitude -V -D -y safe-upgrade + % sudo apt -y upgrade === Upgrade from before 2.1.0 Modified: doc/upgrade-on-debian.rd.ja (+1 -1) =================================================================== --- doc/upgrade-on-debian.rd.ja 2017-06-26 12:31:42 +0900 (d0745b9) +++ doc/upgrade-on-debian.rd.ja 2017-06-26 12:32:51 +0900 (6868efe) @@ -12,7 +12,7 @@ Debian GNU/Linuxに特化したmilter managerの更新方法について説 パッケージを更新するだけで、追加の作業は必要ありません。 - % sudo aptitude -V -D -y safe-upgrade + % sudo apt -y upgrade === 2.1.0 以前からの更新 Modified: doc/upgrade-on-ubuntu.rd (+1 -1) =================================================================== --- doc/upgrade-on-ubuntu.rd 2017-06-26 12:31:42 +0900 (c41f8bd) +++ doc/upgrade-on-ubuntu.rd 2017-06-26 12:32:51 +0900 (3758259) @@ -13,7 +13,7 @@ information. We just upgrade milter manager package. - % sudo apt-get -V -y upgrade + % sudo apt -V -y upgrade == Conclusion Modified: doc/upgrade-on-ubuntu.rd.ja (+1 -1) =================================================================== --- doc/upgrade-on-ubuntu.rd.ja 2017-06-26 12:31:42 +0900 (65bb2e4) +++ doc/upgrade-on-ubuntu.rd.ja 2017-06-26 12:32:51 +0900 (505be4f) @@ -12,7 +12,7 @@ Ubuntu Linuxに特化したmilter managerの更新方法について説明し パッケージを更新するだけで、追加の作業は必要ありません。 - % sudo apt-get -V -y upgrade + % sudo apt -V -y upgrade == まとめ -------------- next part -------------- An HTML attachment was scrubbed... Download