#การใช้ netstat ตรวจสอบการถูกยิงด้วย syn คำสั่ง netstat -ntu | grep SYN_RECV | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nrอันนี้จะบอกว่า ณ ขณะเวลานั้นๆ มีคนส่ง syn เข้ามาเพื่อขอเชื่อมกับ server ของเรา โดยปกติไม่ควรเกิน 10 ครั้งต่อ 1 IP.. อ่านต่อ ( read more» )
Pages 2 Linux | tags
Linux | ป้องกันโดนยิงเครื่อง server
Linux Security CommandLinux | Change Localtime and Update Linux
PHP Linux CentOS Debian CommandSolutions: Change and Update Time Zone (Bangkok ICT) on CentOS/Debian or other Linux rm -f /etc/localtime ln -s /usr/share/zoneinfo/Asia/Bangkok /etc/localtime #or #export TZ=Asia/Bangkok vim /usr/local/lib/php.ini date.timezone = Asia/Bangkok #or .. อ่านต่อ ( read more» )
Linux | Search replace with find, perl, sed Linux command
Find Command Linux Sed Perl Regexuse “find” cgi/perl file in web server with directadmin find /home/*/domains/*/public_html/cgi-bin/ -iname *.cgi -ls find /home/*/domains/*/public_html/cgi-bin/ -iname *.pl -ls find /home/*/domains/*/private_html/cgi-bin/ -iname *.cgi -ls find /home/.. อ่านต่อ ( read more» )
Linux | Optimize MySQL all Databases mysqlcheck
Linux Command mysqlcheck MySQL DirectAdmin Databaseหลังจากที่เราใช้ MySQL Tunner ไปแล้ว พบว่า จำเป็นต้อง optimize tables แต่จะทำไงให้ optimize database ได้ทุกตาราง ซึ่งมีวิธีง่ายๆ สามารถใช้คำสั่งนี้ในการ Optimize MySql ทุก databases ประมานี้ เครื่อง Linux ทั่วไป mysqlcheck -Aao --auto-repair --silent.. อ่านต่อ ( read more» )
Linux | MySQLTunner.pl Tuning-Primer.sh
Linux MySQL Database Perlพักนี้ขอวุ่นๆเรื่อง MySQL หน่อย เพราะว่า Dedicated Server ของลูกค้าๆ จะกิน MySQL ขึ้นมาหน่อยนึง เลยต้องมีอุปกรณ์ที่ช่วยจูน MySQL ให้เหมาะสมกับเครื่อง Server และการทำงานของ Server ซึ่ง MySQLTunner เป็น perl script ที่ฟรี ใช้งานได้ไม่ยาก ทำตามขั้นตอนที.. อ่านต่อ ( read more» )
Linux | วิธีซ่อมแซ่ม Database MySQL ง่ายๆด้วย myisamchk
Command DirectAdmin CentOS Linux Database myisamchk MySQL Debianวิธีซ่อมแซม Database ง่ายๆ (Repair Database) ด้วยการเข้า SSH แล้วไปยังโฟลเดอร์ mysql ที่ OS Linux แต่ละอย่างเก็บไว้ Debian myisamchk -r /home/mysql/*/*.MYI Debian + Directadmin /usr/local/mysql/bin/myisamchk -r /home/mysql/*/*.MYI CentOS myisamchk -r.. อ่านต่อ ( read more» )
Linux | คำสั่ง Linux Command พื้นฐานสำคัญใช้บ่อยที่ต้องจำ
Command Linuxตารางที่อธิบายคร่าวๆเกี่ยวกับ Linux command Line หรือคำสั่ง linux พื้นฐานที่ใช้กันบ่อยๆ ครับ (more…).. อ่านต่อ ( read more» )
#Subscribe \ newsletter.
รับข้อมูลข่าวสารก่อนใคร กรอก email ได้เลย ไม่พลาดทุกบทความดีๆ จากเรา
*รบกวนยืนยันรับข่าวสารที่อีเมล์อีกรอบด้วยนะครับ **ไม่มีการสแปมใดๆ ทั้งสิ้น และสามารถยกเลิกรับข่าวสารได้ตลอดเวลา +1