[Linux] 學習筆記第一篇——安裝

來源:互聯網
上載者:User

環境:CentOS6.3 minimal

==========================================================================================
1、下載

鏡像地址:http://mirrors.stuhome.net/centos/6.3/isos/x86_64/
CentOS-6.3-x86_64-netinstall.iso
CentOS-6.3-x86_64-minimal.iso
CentOS-6.3-x86_64-bin-DVD1.iso
CentOS-6.3-x86_64-bin-DVD2.iso
CentOS-6.3-x86_64-LiveCD.iso
CentOS-6.3-x86_64-LiveDVD.iso
2、安裝

安裝環境:Oracle VM VirtualBox 4.2.6
3、登出、關機和重啟登出

$ logout
$ Ctrl + D
關機

$ poweroff
重啟

$ reboot

==========================================================================================
註:shutdown命令可以關閉所有程式,依照使用者的需要,重新啟動或關機。
1、立即關機:-h 參數讓系統立即關機。範例如下:
$ shutdown –h now ← 要求系統立即關機
2、指定關機時間:time 參數可指定關機的時間,或設定多久時間後運行shutdown命令,範例如下:
$ shutdown now ← 立刻關機
$ shutdown +5 ← 5分鐘後關機
$ shutdown 10:30 ← 在10:30時關機
3、關機後自動重啟:-r 參數設定關機後重新啟動。範例如下:
$ shutdown -r now ← 立刻關閉系統並重啟
$ shutdown -r 23:59 ← 指定在23:59時重啟動

Usage: shutdown [OPTION]... TIME [MESSAGE]
Bring the system down.

Options:
  -r                          reboot after shutdown
  -h                          halt or power off after shutdown
  -H                          halt after shutdown (implies -h)
  -P                          power off after shutdown (implies -h)
  -c                          cancel a running shutdown
  -k                          only send warnings, don't shutdown
  -q, --quiet                 reduce output to errors only
  -v, --verbose               increase output to include informational messages
      --help                  display this help and exit
      --version               output version information and exit

TIME may have different formats, the most common is simply the word 'now' which
will bring the system down immediately.  Other valid formats are +m, where m is
the number of minutes to wait until shutting down and hh:mm which specifies the
time on the 24hr clock.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.