Pages 4 Command | tags

Command | ป้องกันโดนยิงเครื่อง server

Security Command Linux

#การใช้ 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» )

Command | Install MRTG Directadmin CentOS 5 32/64bit

Command MRTG DirectAdmin CentOS

Problem : MRTG Graph in DirectAdmin cp + CentOS Solutions: yum -y install gd gd-devel libpng libpng-devel zlib zlib-devel net-snmp net-snmp-utils mrtg chkconfig snmpd on cd /etc/snmp/ mv snmpd.conf snmpd.conf.bak vim snmpd.conf############ syslocatio.. อ่านต่อ ( read more» )

Command | Check PHP Warning Extension

Command PHP

Ploblem: “PHP Warning: PHP Startup: Unable to load dynamic library ‘./usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so’ - ./usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so: cannot open shared object file: .. อ่านต่อ ( read more» )

Command | Change Localtime and Update Linux

Command PHP Linux CentOS Debian

Solutions: 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» )

Command | Driver Realtek CentOS

Realtek Driver Command CentOS

Problem: M/B asus P5-Q-VM Driver or Atom Lan “Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller” not work in CentOS 5.3 , it’s ping time out and high. Solutions: Install Downgrade/upgrade wget -O /etc/yum.repos.d/t.. อ่านต่อ ( read more» )

Command | Install libpcre.so.0 (libpcre3) Debian

Debian Command

Problem: ./map-server_sql: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory Solutions: aptitude install libpcre3 libpcre3-dev.. อ่านต่อ ( read more» )

Command | There is no public key available for the following key IDs

Debian Command

Problem : I have problem when I run “apt-get update” on debian5(lenny). “There is no public key available for the following key IDs” Solution : “There is no public key available for the following key IDs” apt-get install debian-keyring debian-archive.. อ่านต่อ ( read more» )

Command | Search replace with find, perl, sed Linux command

Linux Sed Perl Find Command Regex

use “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» )

Command | XsltProcessor is Off, you should install XsltProcessor DirectAdmin

Command DirectAdmin CentOS Debian

OS CentOS yum install libxml2-devel libxslt-devel libgcrypt-devel OS Debian aptitude install libxslt1.1 libxslt1-dev libgcrypt11-dev libxml2 libxml2-dev Edit config for Custombuild DirectAdmin cd /usr/local/directadmin/custombuild vim configure/ap2/c.. อ่านต่อ ( read more» )

Command | Optimize MySQL all Databases mysqlcheck

DirectAdmin MySQL Linux Database Command mysqlcheck

หลังจากที่เราใช้ MySQL Tunner ไปแล้ว พบว่า จำเป็นต้อง optimize tables แต่จะทำไงให้ optimize database ได้ทุกตาราง ซึ่งมีวิธีง่ายๆ สามารถใช้คำสั่งนี้ในการ Optimize MySql ทุก databases ประมานี้ เครื่อง Linux ทั่วไป mysqlcheck -Aao --auto-repair --silent.. อ่านต่อ ( read more» )

#Subscribe \ newsletter.

รับข้อมูลข่าวสารก่อนใคร กรอก email ได้เลย ไม่พลาดทุกบทความดีๆ จากเรา

Delivered by FeedBurner(Google)
 Subscribe taxze.com
*รบกวนยืนยันรับข่าวสารที่อีเมล์อีกรอบด้วยนะครับ **ไม่มีการสแปมใดๆ ทั้งสิ้น และสามารถยกเลิกรับข่าวสารได้ตลอดเวลา +1