Download Link:
http://www.geocities.jp/ojimak_01/interest.htm
F-35 相關新聞:
史上最貴武器!美陸戰隊首支F-35B作戰中隊成立
完成圖:
2012年11月23日 星期五
2012年11月20日 星期二
Windows 2008 SSTP VPN configuration and troubleshooting
Reference:
http://www.dotblogs.com.tw/ray716/archive/2011/08/19/33607.aspx
http://technet.microsoft.com/en-us/library/cc731352(v=ws.10).aspx
My environment:
1. Server 1: DC with Active Directory Certificate Services
2. Server 2: For remote access. In DMZ. with one Network Interface Card only.
3. Client 1: Windows 7. For test SSTP connection.
RRAS (Server 2) Configuration Steps:
1. open "Server Manager".
2. Add roles: Web Server (IIS)
http://www.dotblogs.com.tw/ray716/archive/2011/08/19/33607.aspx
http://technet.microsoft.com/en-us/library/cc731352(v=ws.10).aspx
My environment:
1. Server 1: DC with Active Directory Certificate Services
2. Server 2: For remote access. In DMZ. with one Network Interface Card only.
3. Client 1: Windows 7. For test SSTP connection.
RRAS (Server 2) Configuration Steps:
1. open "Server Manager".
2. Add roles: Web Server (IIS)
2012年11月16日 星期五
Install software with silent mode 用安靜模式安裝軟體
用派送軟體搭配 Windows 內建指令 start,可以用預設值在背景安裝軟體,不會出現需要使用者勾選的視窗。
start /wait "\\MyServer\MyShare\PDFCreator-1_5_1_setup.exe" /VERYSILENT /NORESTART
如果不要用預設值安裝、要調整安裝過程的選項,需改用 AutoIT,請參考這一篇。
2012/11/23 update:
紅色的部分是 PDFCreator-1_5_1_setup.exe 提供的安裝參數,不一定適用於其他軟體。
start /wait "\\MyServer\MyShare\PDFCreator-1_5_1_setup.exe" /VERYSILENT /NORESTART
如果不要用預設值安裝、要調整安裝過程的選項,需改用 AutoIT,請參考這一篇。
2012/11/23 update:
紅色的部分是 PDFCreator-1_5_1_setup.exe 提供的安裝參數,不一定適用於其他軟體。
AutoIT 教學
AutoIT 可以將人操作 Windows 軟體的動作做成批次檔,這樣就可以用來自動操作 Windows 軟體。例如 IT / MIS 要遠端幫同仁安裝軟體,可以先做好自動安裝檔派送過去就行了。
Download AutoIT and install
以自動安裝 PDFCreator 1.5.1 為例,預設值有 PDFArchitect,我想把這個打勾拿掉。
Download AutoIT and install
以自動安裝 PDFCreator 1.5.1 為例,預設值有 PDFArchitect,我想把這個打勾拿掉。
2012年11月14日 星期三
MSSQL Trigger to run External program
Reference:
http://www.blueshop.com.tw/board/show.asp?subcde=BRD20080516112642UCO
1. Create Trigger on Table
http://www.blueshop.com.tw/board/show.asp?subcde=BRD20080516112642UCO
1. Create Trigger on Table
2012年11月13日 星期二
2012年11月12日 星期一
2012年11月9日 星期五
Disable MySQL Strict Mode
Reference:
http://forum.mambo-foundation.org/showpost.php?p=24856&postcount=1
1. Find out your my.ini of MySQL
http://forum.mambo-foundation.org/showpost.php?p=24856&postcount=1
1. Find out your my.ini of MySQL
Cacti Plugin installation (Windows)
Reference:
http://dreamtails.pixnet.net/blog/post/27807291-cacti-plugin-%E5%AE%89%E8%A3%9D-(settings,-thold,-monitor)
1. download Cacti Plugin (Ex: Monitor)
2. unzip to C:\Inetpub\wwwroot\cacti\plugins\monitor
3. modify C:\php\include\config.php
4. Login Cacti webpage
5. select account that you want to enable plugin management.
http://dreamtails.pixnet.net/blog/post/27807291-cacti-plugin-%E5%AE%89%E8%A3%9D-(settings,-thold,-monitor)
1. download Cacti Plugin (Ex: Monitor)
2. unzip to C:\Inetpub\wwwroot\cacti\plugins\monitor
3. modify C:\php\include\config.php
4. Login Cacti webpage
5. select account that you want to enable plugin management.
2012年11月8日 星期四
Install network traffic monitor Cacti on Windows
Reference:
http://cacti.xxoo.net/modules/sections/index.php?op=viewarticle&artid=2
Software required:
1. Microsoft .Net Framework 4.0
2. MySQL
3. NET-SNMP
4. PHP 5
5. Cacti
6. Cactid
7. RRD Tool
http://cacti.xxoo.net/modules/sections/index.php?op=viewarticle&artid=2
Software required:
1. Microsoft .Net Framework 4.0
2. MySQL
3. NET-SNMP
4. PHP 5
5. Cacti
6. Cactid
7. RRD Tool
IIS 6.0 run PHP 5.4.8
Reference:
http://tw2.php.net/manual/zh/install.windows.iis6.php
http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/configuring-the-fastcgi-extension-for-iis-60
1. modify C:\php\php.ini
fastcgi.impersonate = 1
fastcgi.logging = 0
cgi.fix_pathinfo = 1
cgi.force_redirect = 0
2. install FastCGI Extension for IIS 6.0
3. add IIS application extension for .php
4. modify C:\WINDOWS\system32\inetsrv\fcgiext.ini
[Types]
php=PHP
[PHP]
ExePath=C:\PHP\php-cgi.exe
4. restart service "IIS Admin Service"
5. test php page
http://tw2.php.net/manual/zh/install.windows.iis6.php
http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/configuring-the-fastcgi-extension-for-iis-60
1. modify C:\php\php.ini
fastcgi.impersonate = 1
fastcgi.logging = 0
cgi.fix_pathinfo = 1
cgi.force_redirect = 0
2. install FastCGI Extension for IIS 6.0
3. add IIS application extension for .php
4. modify C:\WINDOWS\system32\inetsrv\fcgiext.ini
[Types]
php=PHP
[PHP]
ExePath=C:\PHP\php-cgi.exe
4. restart service "IIS Admin Service"
5. test php page
2012年11月6日 星期二
perl script to exe (Windows version)
Reference:
http://ssorc.tw/?p=996
1. install perl module (Parse-Binary, Win32-Exe, Module-ScanDeps, PAR, PAR-Dist,Getopt-ArgvFile, MinGW)
2. download CPAN PAR::Packer and unzip to C:\PAR-Packer-1.013.
3. follow C:\PAR-Packer-1.013\README to install PAR::Packer
a. perl Makefile.PL
b. dmake
c. dmake install
4. convert perl script to binary
command: pp -f Bleach -o hello.exe hello.pl
建議加紅色的參數,這樣可以保護 source code。
2013/10/9 update:
用 step 2 dmake with error。
用指令 cpan install PAR::Packer 從 CPAN 安裝也失敗。
在 Perl Package Manager 中找到 PAR-Packer 可以安裝,但是 pp -f Bleach 會失敗。
改裝 ActivePerl 5.12 x86 並重做上面的步驟才成功。
http://ssorc.tw/?p=996
1. install perl module (Parse-Binary, Win32-Exe, Module-ScanDeps, PAR, PAR-Dist,Getopt-ArgvFile, MinGW)
2. download CPAN PAR::Packer and unzip to C:\PAR-Packer-1.013.
3. follow C:\PAR-Packer-1.013\README to install PAR::Packer
a. perl Makefile.PL
b. dmake
c. dmake install
4. convert perl script to binary
command: pp -f Bleach -o hello.exe hello.pl
建議加紅色的參數,這樣可以保護 source code。
2013/10/9 update:
用 step 2 dmake with error。
用指令 cpan install PAR::Packer 從 CPAN 安裝也失敗。
在 Perl Package Manager 中找到 PAR-Packer 可以安裝,但是 pp -f Bleach 會失敗。
改裝 ActivePerl 5.12 x86 並重做上面的步驟才成功。
2012年11月5日 星期一
HP ProCurve switch sFlow collection
HP switch 2626 確定不支援 sFlow。
The Series 2600 and 2600-PWR switches do not support sFlow.
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02564099/c02564099.pdf
HP switch 2610 有支援 sFlow,之前的 Firmware 版本對於 sFlow 資料收集有誤,建議升級到 R.11.72 之後的版本。
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02832255/c02832255.pdf
HP switch 2824 有支援 sFlow,建議升級到 i.10.77 之後的版本。
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02564225/c02564225.pdf
HP switch 2810 有支援 sFlow,建議升級到 R.11.52 之後的版本。
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c03082646/c03082646.pdf
HP switch download Firmware and MIBs:
http://h17007.www1.hp.com/us/en/support/converter/index.aspx
The Series 2600 and 2600-PWR switches do not support sFlow.
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02564099/c02564099.pdf
HP switch 2610 有支援 sFlow,之前的 Firmware 版本對於 sFlow 資料收集有誤,建議升級到 R.11.72 之後的版本。
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02832255/c02832255.pdf
HP switch 2824 有支援 sFlow,建議升級到 i.10.77 之後的版本。
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02564225/c02564225.pdf
HP switch 2810 有支援 sFlow,建議升級到 R.11.52 之後的版本。
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c03082646/c03082646.pdf
HP switch download Firmware and MIBs:
http://h17007.www1.hp.com/us/en/support/converter/index.aspx
2012年11月2日 星期五
Symantec Altiris DS 6.9 PXE add Windows 7 driver
狀況:
Altiris DS 6.9 的 WinPE 2.1 只能載入 Vista driver,但是新的 PC 只提供 Windows 7 driver。
解法:
1. download WAIK 3.0 for Windows 7 (KB3AIK_EN.iso), WAIK 3.0 update for Windows 7 SP1 (waik_supplement_en-us.iso)
2. mount KB3AIK_EN.iso, run Windows AIK setup
3. mount waik_supplement_en-us.iso, xcopy E:\ "C:\Program Files\Windows AIK\Tools\PETools" /ERDY
4. build WinPE 3.1 image file
a. copy C:\Program Files\Windows AIK\Tools\PETools\amd64\winpe.wim -> D:\Altiris\express\Deployment Server\WAIK\Tool\PETools\amd64\winpe.wim
b. mkdir D:\package
c. copy the following cab files (winpe-wmi.cab, winpe-scripting.cab, winpe-hta.cab) from C:\Program Files\Windows AIK\Tools\PETools\amd64\winpe_fps -> D:\package
d. mkdir d:\mount
e. cd C:\Program Files\Windows AIK\Tools\Servicing
f. DISM /mount-wim /wimfile:"D:\Altiris\express\Deployment Server\WAIK\Tool\PETools\amd64\winpe.wim" /index:1 /mountdir:d:\mount
g. DISM /image:d:\mount /add-package /packagepath:d:\package
h. DISM /unmount-wim /mountdir:d:\mount /commit
5. import Windows 7 driver for WinPE
6. restart Altiris PXE service (Altiris PXE Config Helper, Altiris PXE Manager, Altiris PXE MTFTP Server, Altiris PXE Server)
7. Add a Image deplyment job to test.
參考:
http://www.symantec.com/connect/ideas/ds-69-and-ds-71-should-integrate-support-winpe-30#comment-5586451
Altiris DS 6.9 的 WinPE 2.1 只能載入 Vista driver,但是新的 PC 只提供 Windows 7 driver。
解法:
1. download WAIK 3.0 for Windows 7 (KB3AIK_EN.iso), WAIK 3.0 update for Windows 7 SP1 (waik_supplement_en-us.iso)
2. mount KB3AIK_EN.iso, run Windows AIK setup
3. mount waik_supplement_en-us.iso, xcopy E:\ "C:\Program Files\Windows AIK\Tools\PETools" /ERDY
4. build WinPE 3.1 image file
a. copy C:\Program Files\Windows AIK\Tools\PETools\amd64\winpe.wim -> D:\Altiris\express\Deployment Server\WAIK\Tool\PETools\amd64\winpe.wim
b. mkdir D:\package
c. copy the following cab files (winpe-wmi.cab, winpe-scripting.cab, winpe-hta.cab) from C:\Program Files\Windows AIK\Tools\PETools\amd64\winpe_fps -> D:\package
d. mkdir d:\mount
e. cd C:\Program Files\Windows AIK\Tools\Servicing
f. DISM /mount-wim /wimfile:"D:\Altiris\express\Deployment Server\WAIK\Tool\PETools\amd64\winpe.wim" /index:1 /mountdir:d:\mount
g. DISM /image:d:\mount /add-package /packagepath:d:\package
h. DISM /unmount-wim /mountdir:d:\mount /commit
5. import Windows 7 driver for WinPE
6. restart Altiris PXE service (Altiris PXE Config Helper, Altiris PXE Manager, Altiris PXE MTFTP Server, Altiris PXE Server)
7. Add a Image deplyment job to test.
參考:
http://www.symantec.com/connect/ideas/ds-69-and-ds-71-should-integrate-support-winpe-30#comment-5586451
訂閱:
文章 (Atom)