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» )
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 CommandCheck PHP Warning Extension
PHP CommandPloblem: “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
Command CentOS PHP Linux DebianSolutions: 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 RealtekProblem: 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
DirectAdminProblem: 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 CommandProblem: ./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
Command DebianProblem : 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 Finduse “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
DirectAdminHow 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 CentOSOS 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» )