docker 面試 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 - 4月 19, 2022 https://www.runoob.com/docker/docker-hello-world.htmlhttps://yeasy.gitbook.io/docker_practice/image/dockerfiledocker rundocker exec docker startdocker stopdocker psdocker logsdocker exec -itdocker rm -f 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
Node.js 在azure windows系統下 發生listen EACCES 0.0.0.0:80的錯誤 - 4月 13, 2017 Node.js 在azure windows系統下 發生listen EACCES 0.0.0.0:80的錯誤 錯誤訊息: 沒有使用port 80的權限 可能原因 1: port 80被其他程式佔住, 需要檢察系統80 port 的使用. 但 node js有另外一個錯誤形式, EADDRINUSE, 如果是占用應該出現這個錯誤 使用指令: netstat -aon 或 netstat -anb (更詳細 包含進程名稱) 或 netstat -aon | findstr :80 (針對port 80) 可能原因 2: IIS server 或相關套件 block住(不一定是占用), 關掉IIS server 與相關程式 參考: http://stackoverflow.com/questions/19030371/run-node-js-webbapp-on-80-port-on-windows 可能原因 3 : (解決問題) 被有使用http的程式block住, http使用的port是80, 所以可嘗試關掉所有的http程式 最後是關掉一個程式, 叫做W3SVC (World Wide Web Publishing Service)解決問題 可以看到W3SVC 的group是 iissvcs 也是屬於iis相關的程式 閱讀完整內容
php 面試題 - 3月 20, 2022 laravel 7 特性 laravel 8 特性 php 7 特性 php 8 特性 Names Arguments JIT Union Types Constructor Property Promotion Null-Safe Operator Trailing Comma in Parameters Match Expression Attributes WeakMaps Mixed Type Throw Exception From New Places Call ::class on objects Non-Capturing Catch New String Functions class vs trait 執行順序 callback clean architecture ddd https://docs.kilvn.com/tipi/ https://imyoungyang.gitbooks.io/php7-study-group-notes/content/Chapter2/php-trait.html 閱讀完整內容
xampp Apache 設定 access.log - 10月 29, 2020 設定access.log以天數分割檔案,如: access-2020-10-29.log 1. 開啟httpd.conf 2. 找到access.log配置項目 3. 將設定改成 4. CustomLog "|bin/rotatelogs.exe -l E:/logs/access/access-%Y-%m-%d.log 86400" common 設定access.log的format 參考配置項目: http://httpd.apache.org/docs/current/mod/mod_log_config.html https://httpd.apache.org/docs/2.4/logs.html log format標準 Common Log Format "%h %l %u %t \"%r\" %>s %b" Combined Log Format "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" elf (Extended Log File Format) rotatelogs .exe apache log能做到這些是是因為使用了rotatelogs .exe。 rotatelogs 是日誌切割工具。 文件: https://httpd.apache.org/docs/2.4/programs/rotatelogs.html 閱讀完整內容
留言
張貼留言