Latest

Resove wordpress on-line update SSL connect fail issue

Edit file wp-includes/class-http.php and update as below line# 132 & 133     127                         'headers' => array(),     128                         'cookies' => array(),     129                         'body' => null,     130                         'compress' => false,     131                         'decompress' => true,     132                         # 'sslverify' => true,     133

By ipstor

configuration

Resolved httpd version 2 POST size limited at 2K

今天花了一天的時間在重新挑戰我的wordpress 上傳檔案的問題,經過反覆測試發現問題並不是出在php-5.x.x本身的設定,而是卡在apache httpd v2的POST功能有2K大小的限制,因為這個原因導至我在Wordpress上貼的文章或上傳的檔案大小只是超過2K就無法上傳。 解決辦法就是換掉httpd 改用lighttpd-1.4.37,記錄一下修改的部份 1. INSTALL     * ./configure & make install 2. Startup script     * cd lighttpd-1.4.37/doc/initscripts/     * cp sysconfig.lighttpd /etc/sysconfig/lighttpd     * cp rc.lighttpd.redhat /etc/init.d/lighttpd -> edit        lighttpd="/usr/local/

By ipstor

Dell

延伸機房管理至頻外的遠端管理功能 IPMI

ARCHIVE FOR THE ‘資訊維運管理’ CATEGORY Posted: 2008/08/18 in 資訊維運管理 0 文/李世平 (記者) 2008-03-16 透過硬體架構的支援,IT人員可從遠端控管處於頻外狀態的伺服器。伺服器本身若能支援IPMI或特殊管理模組,管理人員控管的範圍與深度,將比僅透過KVM over IP等外接硬體的管理方式更佳。 Out Of Band Remote Control 頻外遠端管理:透過網路管理或無法進入作業系統的電腦 過去IT人員要從遠端執行資產盤點、維修或系統檢測等工

By ipstor

Tool

linux的计算器bc命令

问题引入——处理数据时候想要做除法计算,发现直接用$A/$B是行不通的,后来才发现linux做数学运算,需要调用bc命令,查了以下其用法,简单记录如下      一、四则运算,取余,乘方。    加 +    减 –    乘 *    除 /    取余 %    乘方 ^    调用格式,现在为止发现有两种调用格式可用:    1、    ################################    a=`bc -l << END    scale=30    5/4    END`    ################################    b=`echo 'scale=30;5/4'%7

By ipstor