原创 英文聊天常用縮寫單詞

hiho=hola=yo=hi=hey=hellow=你好,大家好 wuz up=sup=what's up=(原意:怎麼樣你?/有什麼事兒嘛?)也可作爲問好用(熟人之間候) 回答時有事說事,沒事用"nothing/nothin mu

原创 virtualbox虛擬機克隆

最近想用virtualbox弄一批虛擬機,一開始搜了很多方法,最後總部成功,後來終於成功,下面是詳細步驟 1.在虛擬機目錄建立host_2文件夾 2.在終端運行以下命令,克隆正常系統的vdi文件 sudo VBoxManage clonev

原创 python安裝

    最近在學習python 安裝模塊出現問題,然後又編譯安裝其他版本的python,結果悲劇了。。。各種執行問題。。   後來把新的python安裝到一個目錄,然後替換掉可執行文件即可 1.下載 鏈接如下,選擇自己需要的版本即可 htt

原创 ssh 通過public key 登陸,root無法登陸,普通用戶可以

最近有一個機器 設置了通過public key登陸,可是發現還是提示讓輸入密碼檢查authorized_keys 權限等都失敗使用其他賬戶用public key登陸就可以最後看了看selinux  ,原來selinux是打開的。。最後關閉S

原创 brew

http://snowolf.iteye.com/blog/774312 https://github.com/mxcl/homebrew/wiki       之前一直懷念ubuntu下的apt-get,因爲實在是方便,需要安裝什麼,一個

原创 我的友情鏈接

51CTO博客開發

原创 /sbin/insserv: No such file or directory

ubuntu 下   root@superman:/etc/apt# chkconfig --level 2345 nginx off /sbin/insserv: No such file or directory   ln -s  /

原创 iTerm2

  iTerm2 比mac自帶的terminal要好很多。 http://www.iterm2.com/#/section/home   顏色模板 導入方法 preferences------》profiles-----》colors Lo

原创 pnp4nagios

1.下載pnp4nagios   http://jaist.dl.sourceforge.net/project/pnp4nagios/PNP-0.6/pnp4nagios-0.6.21.tar.gz 2.安裝rrdtool 如果想省事,請

原创 ipmitool啓動報錯

當提示: [root@localhost ~]# ipmitool sdr Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such f

原创 /sbin/insserv: No such file or directory

ubuntu 下   root@superman:/etc/apt# chkconfig --level 2345 nginx off /sbin/insserv: No such file or directory   ln -s  /

原创 wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable

    wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable   -c 即:斷點續傳參數,文件已經100%下載到本地,然後再執行

原创 centos使用第三方源

    http://wiki.centos.org/AdditionalResources/Repositories/RPMForge#head-5aabf02717d5b6b12d47edbc5811404998926a1b Cont

原创 ext4

http://hutuworm.blogspot.com/2009/02/ext2-vs-ext3-vs-ext4.html     Linux kernel 自 2.6.28 開始正式支持新的文件系統 Ext4。 Ext4 是 Ext

原创 python-urlparse

    http://docs.python.org/2/library/urlparse.html?highlight=urlparse#urlparse   主要函數如下: 1。urlparse   #!/usr/bin/python