แก้ไข letsencrypt does not match current agreement
กรณีที่พบ errorg เมื่อขอ SSL ของ letsencrypt { “type”: “urn:acme:error:malformed”, “detail”: “Provided agreement URL [https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf] does not match current agreement URL [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf]”, “status”: 400 }. สำหรับ CustomBuild 2.0 ให้ตั้งค่า letsencrypt=1 ในไฟล์ directadmin.conf cd /usr/local/directadmin/custombuild ./build update ./build letsencrypt หลังจากนั้นให้ get file wget -O /usr/local/directadmin/scripts/letsencrypt.sh http://files.directadmin.com/services/all/letsencrypt.sh
Continue Reading →เพิ่มประสิทธิภาพให้ ClamAV Anti Malwere สำหรับ PHP
ปัจจุบันพบปัญหา CMS ถูก Injection Code อย่างต่อเนื่อง และพบว่า ClamAV ปกติไม่สามารถ Scan หาเจอได้ เราสามารถเพิ่มประสิทธิภาพ หรือ เพิ่ม Database Rule เพิ่มเติมดังนี้ Debian/Ubuntu: /etc/clamav/freshclam.conf RHEL/CentOS: /etc/freshclam.conf เพิ่ม DatabaseCustomURL http://www.rfxn.com/downloads/rfxn.ndb DatabaseCustomURL http://www.rfxn.com/downloads/rfxn.hdb แล้วสั่งรัน Update Rule freshclam Download & install from https://www.evo.in.th/downloads/site_scan.tar.gz และลองสั่งรันใน Path /home DirectAdmin Plugin http://forum.directadmin.com/showthread.php?t=55080
Continue Reading →