Pages 10 Blog | category

ปิด Windows Security Alert ใน Taskbar

Windows

วิธีการปิด Windows Security Alert ที่แสดงในมุมขวาล่างของ Taskbar ให้ทำตามขั้นตอนดังนี้ 1. Start -> Control Panel -> Windows Security Center 2. คลิก Change the way Security Center alert me (เมนูทางด้านซ้าย) 3. ติ๊กออกให้หมด ทั้ง 3 อัน -> กด OK แค่นี้ก.. อ่านต่อ ( read more» )

ซ่อนไอคอน Recycle Bin ถังขยะ ที่หน้าจอ Desktop

Windows

วิธีการซ่อนไอคอนถังขยะ หรือไอคอน Recycle Bin บนหน้าจอ Desktop ลองทำตามวิธีนี้นะครับ 1. ไปที่ Start -> Run 2. พิมพ์ gpedit.msc -> กดปุ่ม OK 3. คลิก User Configuration -> Administrative Templates -> Desktop 4. หา Remove Recycle Bin icon on the desktop .. อ่านต่อ ( read more» )

Install MRTG Directadmin CentOS 5 32/64bit

Command CentOS DirectAdmin MRTG

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

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

Change Localtime and Update Linux

PHP CentOS Linux Command 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» )

Driver Realtek CentOS

Command CentOS Driver Realtek

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

set_permission.sh reset owner DirectAdmin server

DirectAdmin

Problem: owner ?? in folder user directadmin when tranfer data with rsync -va -e 'ssh' Solution: ls -l /home | grep '^d' | awk '{print chown, -R, $3 : $4 /home/ $9 /domains}'copy code show and paste in command line. OR with directadmin s.. อ่านต่อ ( read more» )

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

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

Search replace with find, perl, sed Linux command

Find Perl Regex Linux Sed Command

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