Certbot Letsencrypt, HAProxy, Cloudflare on CentOS 7

Been using letsencrypt for couple of years and manually generate using certbot whenever certificates expired. Yesterday taking sometime to upgrade certbot packages and set up some automation for renewal. I have removed old certbot packages which was installed using yum and then use snap to install new certbot. You can refer to their guides to … Read more

InvoicePlane – Mpdf\mb_regex_encoding

Ada sedikit issue selepas downgrade dari php8 ke php7.4.4 sebab dah clearkan semua packages php7.4.4. Jadi bila buat sedikit research Mpdf function perlu module php-mbstring untuk jalankan function pdf generation. Tapi packages ini perlu dua repository di bawah ada dalam sistem. remi-php74 # cat /etc/yum.repos.d/remi-php74.repoThis repository only provides PHP 7.4 and its extensionsNOTICE: common dependencies … Read more

Malware Attack – Part 2

Selepas dari fix yang aku apply masalah masih ada. Jadi jumpa satu site https://sitecheck.sucuri.net yang boleh scan website dan identify file js mana yang infected. Hasil scan dapat kenal pasti dua fail dari cache directory & file js dari jquery directory infected. Jadi aku remove dua fail tersebut. Cara di atas boleh kata berkesan tapi … Read more

Malware Attack – legendarytable – Part 1

Terbaru website yang saya hosted sendiri kena malware. Malware yang saya jumpa masih boleh di”bersih”kan tapi kena pastikan backup juga masih ada dalam simpanan sekiranya tak boleh dibaikpulih. Simptom malware yang saya jumpa adalah dia sentiasa re-direct kita ke URL yang tidak sepatutnya user pergi seperti contoh website gambling, atau sebagainya. Dalam screenshot dibawah, boleh … Read more

messages & cron log file tak update

Masa update crontab dengan job baru perasan yang cron log tak update. /var/log/message juga tak update. Cari juga penyelesaian di internet dan juga dari portal Red Hat tapi takde yang berhasil. Punca message & cron log tak update sebab service rsyslogd.service tak running. Bila restart service itu dia akan jadi failed balik. Terfikir untuk check … Read more

RTSP ke HLS Conversion

Beberapa hari lepas aku saja buat percubaan untuk host live stream dari CCTV ke VLC Player dan cara setup dia agak mudah juga asalkan kita tahu apa id dan password untuk akses ke RTSP protocol CCTV tersebut. Untuk kes aku seperti mana yang aku pernah cerita sebelum ini, aku menggunakan CCTV HikVision dan ada feature … Read more