Pages 10 TAXZe`Blog | In D{i}Y M{y|iND} L{R}i{f|s}e.

Install MRTG Directadmin CentOS 5 32/64bit

DirectAdmin CentOS MRTG Command

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

PHP Command

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

Change Localtime and Update Linux

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

Driver CentOS Command 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» ) reset owner DirectAdmin server


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 (libpcre3) Debian

Debian Command

Problem: ./map-server_sql: error while loading shared libraries: 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

Command Debian

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

Regex Command Sed Perl Linux Find

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

Disable Mod_CGI DirectAdmin


How to disable mod_cgi in directadmin custombuild Edit configure.apache Custombuild vim /usr/local/directadmin/custombuild/configure/ap2/configure.apache add this below --disable-cgid \ --disable-cgi compile apache again (more…).. อ่านต่อ ( read more» )

XsltProcessor is Off, you should install XsltProcessor DirectAdmin

Command DirectAdmin Debian CentOS

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