|
|
| Line 1: |
Line 1: |
| {{Template:Build a website}}
| | I bow down humbly in the presence of such gerantess. |
| | |
| == remote node ==
| |
| === browser ===
| |
| * connect to <nowiki>http://ip:80 </nowiki>
| |
| * or use the website monitoring services: [[Web Ping]]
| |
| | |
| === Validation service ===
| |
| [[Validator]]: Check Markup or CSS syntax
| |
| | |
| | |
| == user client node ==
| |
| === browser issue ===
| |
| * browser version: [[Check Browser Compatibility]]
| |
| * clear browser cache
| |
| ** client temporary files
| |
| ** clear server cache ex: [http://www.smarty.net/manual/en/caching.php Smarty Caching]
| |
| | |
| === plug-ins issue ===
| |
| * [http://www.adobe.com/software/flash/about/ Test your Adobe Flash Player installation]
| |
| * [http://www.adobe.com/shockwave/welcome/ Adobe - Test Adobe Shockwave Player]
| |
| * test java: [http://www.java.com/en/download/testjava.jsp How do I test whether Java is working on my computer?]
| |
| | |
| === e-mail testing issue ===
| |
| Using the following e-mail service with name alias or alternative name function
| |
| * [https://gmail.google.com/ Google Gmail]: plus sign
| |
| * [http://get.live.com/mail/overview Windows Live™ Hotmail]: [http://explore.live.com/windows-live-hotmail-alias-using 使用 Hotmail:在一個收件匣建立多個別名 - 在一個 Hotmail 收件匣建立多個別名]
| |
| | |
| === monitoring the status or changes of files or registry ===
| |
| * [http://technet.microsoft.com/en-us/sysinternals/bb896642 FileMon for Windows] / [http://portable.easylife.tw/102 Filemon v7.04 - 檔案即時監控 :: 綠色工廠 Easylife Blog]
| |
| * [http://technet.microsoft.com/en-us/sysinternals/bb896652 RegMon for Windows] / [http://portable.easylife.tw/101 RegMon v7.04 - 註冊表監控 :: 綠色工廠 Easylife Blog]
| |
| | |
| == local node (if you can login the server via SSH or Remote desktop service) ==
| |
| === check the service port ===
| |
| ==== from local node to service node ====
| |
| telnet
| |
| # telnet ''DOMAIN_or_IP'' ''PORT'' ex: {{kbd | key = telnet localhost 80}} or {{kbd | key = telnet 127.0.0.1 80}}
| |
| # (after telnet-ed the web 80 port, key in) {{kbd_plus | key1 = get | key2 = SPACE}}
| |
| # more on [http://www.simplescripts.de/http-check-port-80-telnet-command.htm HTTP Check Port 80 with the Telnet Command]
| |
| | |
| netstat ex: find MySQL 3306 port
| |
| # {{kbd | key = <nowiki>netstat -a | find "3306"</nowiki>}}
| |
| # more on [http://www.techrepublic.com/blog/security/list-open-ports-and-listening-services/443 List open ports and listening services]
| |
| | |
| tools
| |
| * [http://technet.microsoft.com/en-us/sysinternals/bb897437 TCPView for Windows]
| |
| | |
| ==== from local or remote node to service node ====
| |
| telnet
| |
| # telnet ''DOMAIN_or_IP'' ''PORT'' ex: {{kbd | key = telnet localhost 80}} or {{kbd | key = telnet 127.0.0.1 80}}
| |
| # (after telnet-ed the web 80 port, key in) {{kbd_plus | key1 = get | key2 = SPACE}}
| |
| # more on [http://www.simplescripts.de/http-check-port-80-telnet-command.htm HTTP Check Port 80 with the Telnet Command]
| |
| | |
| ==== from remote node to service node ====
| |
| tools
| |
| # {{Gd}} [http://www.canyouseeme.org/ Open Port Check Tool]: ''Using browser'' to check the specified port of local machine from canyouseeme.org.
| |
| # [http://portforward.com/help/portcheck.htm PFPortCheck Program]: check TCP/UDP port from localhost(where you installed the program) to portforward.com
| |
| | |
| === check the server/service logs ===
| |
| * [http://httpd.apache.org/ Apache HTTP server] log: /etc/httpd/logs (location was set up in the configuration file /etc/httpd/conf/httpd.conf)
| |
| ** access.log
| |
| ** error.log - record when the apache service restarted/stopped
| |
| | |
| * [http://dev.mysql.com/doc/refman/5.1/en/server-logs.html MySQL Server Logs]: enable logging /var/log/mysql.log (location was set up in the configuration file /etc/my.cnf or my.ini) and restart MySQL service
| |
| <pre>
| |
| general_log = 1
| |
| general_log_file="general_log_file.log"
| |
| slow_query_log = 1
| |
| slow_query_log_file="slow_query_log_file.log"
| |
| </pre>
| |
| | |
| * [http://www.php.net/ PHP] log: check the configuration file: /etc/php.ini (the location of configuration file can be verified by [http://php.net/manual/en/function.phpinfo.php phpinfo()] )
| |
| (for production site) unmark theese lines in the php.ini and restart Apache service
| |
| <pre>
| |
| log_errors = On
| |
| error_log = "php_error.log"
| |
| </pre>
| |
| (for development site) using [http://php.net/manual/en/function.error-reporting.php error_reporting]
| |
| <pre>
| |
| error_reporting(E_ALL);
| |
| </pre>
| |
| | |
| * [http://www.iis.net/ Microsoft Internet Information Services] (IIS) log (記錄檔)
| |
| ** C:\WINDOWS\system32\LogFiles\
| |
| | |
| * Microsoft Windows
| |
| ** XP / Vista: 控制台 --> 系統管理工具 --> 事件檢視器
| |
| ** [http://www.microsoft.com/technet/support/ee/ee_basic.aspx 事件和錯誤訊息中心: 基本搜尋]
| |
| | |
| === find match string ===
| |
| * {{kbd | key= grep 'string' filename -r}}
| |
| ** [http://www.gnu.org/software/grep/manual/ manual], [http://greenisland.csie.nctu.edu.tw/wp/2008/03/24/1267/ 教學]
| |
| | |
| == related topic ==
| |
| * [[Comment Syntax]]
| |
| * 設定中斷點
| |
| | |
| related terms
| |
| * functional testing
| |
| | |
| | |
| | |
| [[Category:Software]]
| |
| [[Category:Programming]]
| |
| [[Category:Web_Dev]]
| |
I bow down humbly in the presence of such gerantess.