บันทึกเหตุการเรื่องราวการเดินทางสิ่งที่ได้เจอแบ่งปัน ข่าวสาร ข้อมูล และ มิตรภาพ

Bad Bot Blocker

16 August 2014

Bad Bot Blocker 223 Apache htaccess rules to block bad bots. Bad bots are defined as: E-mail harvesters Content scrapers Spam bots Vulnerability scanners Aggressive bots that provide little value Bots linked to viruses or malware Government surveillance bots Russian search engine Yandex Chinese search engine Baidu Yandex/Baidu Unless your website is written in Russian […]

Flashcache on Proxmox

8 August 2014

Flashcache is a kernel module released by Facebook engineer back in April 2010 to speed up database I/O on a standard rotational drive with the speed of SSD. Since it works by caching filesystem blocks, so it can speed anything on the slow rotational disk. We’ve already use RAID10 with SAS disk on all of our […]

Proxmox building ceph and ceph module

8 August 2014

Introduction Ceph is a distributed object store and file system designed to provide excellent performance, reliability and scalability – See more at: http://ceph.com Ceph’s RADOS Block Device to be used for VM disks. The Ceph storage services are usually hosted on external, dedicated storage nodes. Such storage clusters can sum up to several hundreds of nodes, […]

Bypassing Bad fstab Failure When Booting Linux

28 July 2014

Bypassing Bad fstab Failure When Booting Linux Usually you can enter root password and try to edit fstab, but it wouldn’t let you edit. because its read-only mode. so here is the method to work-around that. If /etc/fstab file is created with errors or the hardware configuration changes such as adding hard disks, Linux will boot into failure […]

Strong Ciphers for Apache, nginx and Lighttpd

4 July 2014

Strong Ciphers for Apache, nginx and Lighttpd Why? The above ciphers are Copy Pastable in your nginx, Lighttpd or Apache config. These provide Strong SSL Security for all modern browsers, plus you get an A+ on the SSL Labs Test. In short, they set a strong Forward Secrecy enabled ciphersuite, they disable SSLv2 and SSLv3, add […]

Softaculous No longer any icons in cpanel

3 July 2014

Softaculous Top Apps In the cPanel category for Softaculous – the top 10 (or whatever) icons are missing. It only has a link to “Auto Installer” where previously it showed 10 or so script icons. This issue sometimes occurs when cPanel is updated and the cPanel theme files are replaced. But the CRON fixes the […]

How To Install Vesta Control Panel on Centos 6 / Ubuntu 12.04 LTS

20 June 2014

How To Install Vesta Control Panel on Centos 6 / Ubuntu 12.04 LTS   Introduction Vesta is an easy to use open source web hosting control pane that currently supports Ubuntu Linux (12.04 LTS, 13.04 and 13.10), Debian 7, CentOS (5 and 6), and RHEL (5 and 6). It packs a bunch of features by default […]

php function convert utf-8 to tis-620 and tis-620 to utf-8

17 June 2014

function utf8_to_tis620 This function converts the string from utf-8 to tis-620. For example, the webpage use encoding utf-8 but table charset is ​​tis-620. So i must convert strings to tis620-strings before saving by using this custom function or built-in function to your discretion. At my experience, i have use built-in function for Thai language conversion […]

SMF Forum Showing Blank Screen / Not Working

23 March 2014

PROBLEM: You tried installing Simple Machines Forum software (SMF) either from the source website or using Fantastico, but it shows as a blank page when you try to access it. No issues are seen in the cPanel Error Log and all other configurations appear to be correct. SOLUTION This issue is caused by suhosin security […]