
在進行室內電線佈置的時候,會進行電線穿管,那麼電線穿管過程是怎樣的呢?
1. 將做好了的線盒其服帖地嵌入開好的牆體內,注意:接線盒一定要擺放端正,否則外面的面板也會隨之歪斜的。
Felix 發表在 痞客邦 留言(0) 人氣(1,415)
How do I install and configure NTP under CentOS Linux version 5.x or 6.x server to synchronize the system clock?
You can easily install NTP (Network Time Protocol, a means of transmitting time signals over a computer network) using the yum command under Red Hat or CentOS/Fedora Linux server or workstation based systems. You need to install the following packages:
Felix 發表在 痞客邦 留言(0) 人氣(139)
Vmware ESX 4上虛擬機 Redhat 5.2(CentOS 5.2)啟動在Starting udev 停幾個小時
最近在vmware ESX上安裝的Redhat 5.2或者CentOS 5.2基本上都碰到了這個問題
安裝完全完成後啟動是在Starting udev會需要幾個小時才能過去。
網上找到很多說法比方有說讓改"/etc/udev/rules.d/99-vmware-scsi-udev.rules" 文件的,其實這並不是hang住的原因,真正的元兇是:
Clocksource is the name of the new timekeeping subsystem introduced in the Linux 2.6.18 kernel. In this subsystem there are several clocksources that can be used to read the time. One of them is the tsc clocksource which uses the Time Stamp Counter that is present on each processor and can be used to track how much time has elapsed. The TSCs on the different processors are not necessarily perfectly in sync with each other, so time can appear to go backward if the TSC is read on one processor and then another processor. Early versions of the tsc clocksource did not handle this case, which can lead to the guest operating system not responding. Due to the different timing behavior of running in a virtual machine, this can be observed more frequently in a virtual machine.
經驗證確實如此:如果是單個vCPU,則Starting udev很快就能過去
具體解決方法:
當starting udev停住很久過不去的時候就(1)把虛擬機的電源關閉,(2)然後編輯配置,改為單個vCPU
(3)啟動系統 (4)編輯/etc/grub.conf在kernel一行最後加上clocksource=acpi_pm
這個在vmware官方有說明:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1007020
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006427
Felix 發表在 痞客邦 留言(0) 人氣(261)

Windows 8 已經就要上市了(2012/10/26),也該是要來研究一下這個新的作業系統的時候了。Windows 8 看似為了平板電腦做了很大的改變。很明顯的「開始」功能表不見了,原來的桌面也要切換才能看的到。
如果你把滑鼠移到螢幕的右上角或是右下角,即會出現一個功能表,其中含有「搜尋、分享、開始、裝置、設定」等功能(或是按一下
WinKey+C),但似乎看不到程式集的部分。
Felix 發表在 痞客邦 留言(0) 人氣(313)
登入到 Esxi 後台, 我的是遠程SSH登入.
非常簡單,我的目的是把 examplevm 虛擬機的 硬盤 複製到 另一個虛機機 examplevm_clone 上
vmkfstools -i "/vmfs/volumes/Storage1/examplevm/examplevm.vmdk" /vmfs/volumes/Storage2/examplevm_clone/examplevm_clone.vmdk
Felix 發表在 痞客邦 留言(0) 人氣(424)
0 0 * * * [[ $(cal) = *$(date +%2d) ]] && [your script]
Felix 發表在 痞客邦 留言(2) 人氣(128)
Linux 某個目錄下的文件按大小排序
1. df -lh
2. du -s /usr/* | sort -rn
這是按字節排序
3. du -sh /usr/* | sort -rn
這是按兆(M)來排序
4.選出排在前面的10個
du -s /usr/* | sort -rn | head
5.選出排在後面的10個
du -s /usr/* | sort -rn | tail
說明:/usr/*也可以改成你想到達的任何目錄
如/usr/local/zhou/resin 這個目錄就可以寫成
/usr/local/zhou/resin/*
Felix 發表在 痞客邦 留言(0) 人氣(6,217)
1. fdisk -l 查看硬盤情況
2. 開始分區
fdisk /dev/sdb
命令c,查看HELP, p查看分區情況
Felix 發表在 痞客邦 留言(0) 人氣(647)

.htaccess是什麼?.htaccess是在Apache HTTP
Server這款服務器架設軟件下的一個對於系統目錄進行各種權限規則設置的一個文件,存在於Linux操作系統中。比較常見的是定義默認首頁名
稱,404頁面,301轉向,等等,還有更多的功能比如偽靜態,限製圖片外鏈,限制下載,密碼保護,去除頁面廣告等等,還有非常多的功能就不一一列舉。
其實這些功能大多可以在cPanel控制面板來進行設置的(相當於是.htaccess的圖形化界面)。但對於高手來講,cPanel對於htaccess提供的功能還是太少了點,手工編輯才是王道。相對於國內的虛擬主機,絕大多數是沒有這個功能的
目錄規則
一般我們將.htaccess文件放置在網站的根目錄,控制所在目錄及所有子目錄,而如果放置在子目錄中,會受上級目錄中.htaccess文件影響,是不起任何作用的。
Felix 發表在 痞客邦 留言(0) 人氣(24,644)
不知道您在使用 Windows 7 時有沒有嘗試過想要把我的電腦釘選到工作列內嗎?如果有試過的的人應該都失敗了吧,因為釘選後開啟竟然是媒體櫃,對吧?沒關係,接下來就讓ㄚ西來教您囉!
第一步、在桌面建立一個空白捷徑
請在桌面按下右鍵,點選新增 => 捷徑。
接著會跳出建立捷徑的設定選項,請在輸入項目的位置,輸入以下三種路徑,任選一個路徑即可。
Felix 發表在 痞客邦 留言(3) 人氣(2,206)