AutoTurboPkg は、パッケージの自動アップデートツールです。設定後は、指定した時刻にアップデートパッケージのチェックを行い、設定したアップデートポリシーに基づき自動的にパッケージのアップデートが実行されます。システム管理者は、手動でパッケージをアップデートする必要がなくなり、常に Turbolinux 11 Server を最新のパッケージ構成に保つことができます。AutoTurboPkg の設定は、turbosetautopkg スクリプトを実行し問われる質問に対話的に応答することにより行います。
TurboAutoPkg の設定スクリプトである turbosetautopkg を実行します。
![]() | [Ctrl]+[C]キーで設定を中断することができます。 |
# turbosetautopkg
============================================================
Welcome to the AutoTurboPkg configuration tool
============================================================
Which information should I automatically check for?
Note: level 3 includes all updates in levels 2 and 1;
level 2 includes all updates in level 1
0 No upgrade or update information should be checked.
1 Only security update information should be checked.
2 Security and package update information should be checked.
3 All package upgrade and update information should be checked.
At which level should I check for upgrades and updates?default [3] : |
アップデートパッケージは、セキュリティアップデート、バグフィックスアップデート、通常のアプデートの 3 つのカテゴリで区別されています。ここでは、どのカテゴリのアップデートパッケージをチェックするかを指定します。
Please select and enter an update server. default [ftp.turbolinux.co.jp]: |
参照するアップデートサイトを指定します。
Please enter the time at which I should attempt to access the update server. default [15:37]: |
アップデートサイトをチェックする時刻を指定します。
Should I attempt to automatically update the packages on your system every day? d efault [yes] (y/n) : y |
自動アップデートを実行するかどうかを指定します。初期値は "No" に設定されていますので、自動アップデートを行うには y を入力します。入力すると、これ以降、自動アップデートの設定を問われます。
Should I attempt to automatically apply security updates to your system every day ? default [yes] (y/n) : |
セキュリティアップデートを実行するかどうかを指定します。
At which security level should I automatically attempt to make updates?
Note: level 3 includes all updates in levels 2 and 1;
level 2 includes all updates in level 1
1 Updates for security exploits allowing any user to gain root access.
2 Updates for security exploits allowing local users to gain root access.
3 All security updates.
Please select the default security priority to be used. default [3] : |
セキュリティアップデートパッケージは、"緊急"(level 1)、"重要"(levels 2)、"推奨"(levels 3) のレベルを持っています。ここでは、自動アップデートを実行するセキュリティアップデートパッケージのレベルを指定します。
Should I attempt to apply bug fix updates to your system every day? default [yes] (y/n) : |
バグフィックスアップデートを実行するかどうかを指定します。
Should I attempt to apply other types of updgrades (e.g., enhancements) to your system every day? default [yes] (y/n) : |
通常のアップデートを実行するかどうかを指定します。
Input the names of packages which I should attempt to update automatically (separated by commas). Note : 'None' (or blank) allows all packages to be updated automatically. default [None] : |
アップデートパッケージを検出したときに、ここで指定をしたパッケージだけを自動アップデートすることができます。パッケージを複数指定する場合は、カンマ , で区切り指定します。"None" を指定した場合は、検出された全てのパッケージがアップデート対象となります。
Input the names of packages which I should *not* attempt to update automatically (separated by commas). default [kernel,kernel-extramodules,kernel-numa,kernel-pcmcia-cs,kernel-smp,kerne l-smp64G] : |
前の質問で "None" を指定した場合に表示されます。ここでは、アップデートパッケージを検出したときに、自動アップデートを実行しないパッケージを指定することができます。パッケージを複数指定する場合は、カンマ , で区切り指定します。デフォルトでは、カーネル関連のパッケージ(kernel, kernel-BOOT, kernel-pcmcia-cs, kernel-smp,kernel-smp64G)は自動アップデートされません。
Enter the email address of this system's system administrator. default [root]: |
管理者のメールアドレスを入力します。ここで入力したメールアドレスにアップデート情報が送信されます。
Is your system's MTA (e.g., postfix) configured to
send update information to root? default [y] (y/n) :
Note that by executing:
'chkconfig --add postfix',
postfix can be started automatically at system startup. |
メールサーバーが起動していない場合に表示されます。管理者へメールを送信するためにメールサーバーを起動するかどうかを指定します。n を入力するとメールを送信することはできません。
============================================================ Update server: ftp.turbolinux.co.jp Check time (hh:mm): 15:37 Administrator user: root MTA(postfix) start = yes Update check level: 3 Security check level: 3 Do automatic updates: yes Do security updates: yes Security update level: 3 Do bug fix updates: yes Do package upgrades: yes Do not update: Update only: ============================================================ Shall I update your configuration file using the settings above? default [y] (y/n) Starting postfix: OK |
設定した内容が表示されます。[Enter]キーを押して設定を反映します。
Congratulations! Configuration is complete. |
設定完了のメッセージが表示されます。
![]() | 設定した内容は、/etc/turboautopkg.conf に出力されます。 |