歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> [Linux]學習筆記第一篇——安裝

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

日期:2017/3/1 16:50:06   编辑:關於Linux
[Linux]學習筆記第一篇——安裝 環境:CentOS6.3 minimal www.2cto.com ===================================================== 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、安裝 www.2cto.com 安裝環境:Oracle VM VirtualBox 4.2.6 3、注銷、關機和重啟 注銷 $ logout $ Ctrl + D 關機 $ poweroff 重啟 $ reboot =============================================================== 注:shutdown命令可以關閉所有程序,依照用戶的需要,重新啟動或關機。 1、立即關機:-h 參數讓系統立即關機。范例如下: $ shutdown –h now ← 要求系統立即關機 2、指定關機時間:time 參數可指定關機的時間,或設置多久時間後運行shutdown命令,范例如下: www.2cto.com $ 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.
Copyright © Linux教程網 All Rights Reserved