ksf 處理iSCSI
tjm 寫好信用卡捐款程式
tjy 新的備份硬碟上線
討論機櫃冷氣問題,決定先包一下珍珠板
ksf 處理iSCSI
tjm 寫好信用卡捐款程式
tjy 新的備份硬碟上線
討論機櫃冷氣問題,決定先包一下珍珠板
ksf 聯絡銀興
tjm 處理RAID測試、更新phpBB到 3.0.9
ksf,tjy 搞定kvm
joshua 搞定 ssh 攻擊
tjm 搞定Cisco VLAN 以及internet 轉移
ksf 買kvm 送修硬碟
joshua 設定好 ssh防守
tjm 初步搞定cisco 網路
<?php
if ($argc<=1)
{
echo " $argc gen_index.php dir_name Error!\n";
exit;
}
$targetdir=$argv[1];
echo "target=$targetdir \n";
$sdp=opendir($targetdir);
$fp=fopen($targetdir."/index.html","w");
fwrite($fp,'<html><head><meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>Directory List</title></head><body>’);
while (false!==($file = readdir($sdp))) {
if ($file != "." && $file != ".." && $file !=’index.html’) {
$sd=$targetdir."/".$file;
if (is_dir($sd))
{
system("php gen_index.php ${targetdir}/$file");
fwrite($fp,iconv(‘utf-8′,’big5′,'<a href="’.$file.’/index.html">’.$file.'</a><br/>’."\n"));
}
else
fwrite($fp,iconv(‘utf-8′,’big5′,'<a href="’.$file.’">’.$file.'</a><br/>’."\n"));
}
}
fwrite($fp,'</body></html>’);
fclose($fp);
closedir($sdp);
?>
tjm 搞定 lm_sensors
ksf 搞不定冷氣,聯絡RAID廠商中
標準的 CentOS 5.x 不能偵測i7 CPU 的溫度,使用以下的手法就可以搞定
yum install lm_sensors
cd /usr/sbin
rm -rf sensors-detect
wget http://dl.lm-sensors.org/lm-sensors/files/sensors-detect
chmod 755 sensors-detect
sensors-detect
全部接受 default
/usr/bin/sensors
就可以取得溫度了
tjm 更新kernel重新開機,搞定object和map重寫, 搞定cisco console port
joshua ssh bruteforce on going
tjm 聖經物件網更新
tjy,ksf 更換switch
tjm 搞定 wake on lan,修理好網路