<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ### 管理時區 > I try to take one day at a time, but sometimes several days attack at once. > > — Ashleigh Brilliant 你遲早會遭遇由于服務器的時區不同而帶來的各種奇怪問題。 為了避免此類問題的發生,確保所有服務器都使用相同的時區是明智之舉。 無論這些服務器所處的地理位置在何處,都應該使用相同的時區(GMT 是合乎邏輯的選擇)。 除非服務器是由太陽能供電的,否則我認為沒有任何理由不關心服務器的時區設置。 #### 操作步驟 1. 使用如下內容創建 /etc/puppet/modules/admin/manifests/gmt.pp 文件: ``` class admin::gmt { file { "/etc/localtime": ensure =&gt; link, target =&gt; "/usr/share/zoneinfo/GMT", } } ``` 2. 在所有的節點中添加如下代碼: ``` include admin::gmt ``` 3. 運行 Puppet: ``` # puppet agent --test info: Retrieving plugin info: Caching catalog for cookbook.bitfieldconsulting.com info: Applying configuration version '1304955158' info: FileBucket adding /etc/localtime as {md5}02b73b0cf0d96e2f75c ae56b178bf58e info: /Stage[main]/Admin::Gmt/File[/etc/localtime]: Filebucketed / etc/localtime to puppet with sum 02b73b0cf0d96e2f75cae56b178bf58e notice: /Stage[main]/Admin::Gmt/File[/etc/localtime]/ensure: ensure changed 'file' to 'link' notice: Finished catalog run in 1.94 seconds ``` #### 更多用法 如果你想要使用其他的時區,請在 /usr/share/zoneinfo 中選擇相應的文件,例如:US/Eastern。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看