Pages 2 DirectAdmin | tags

DirectAdmin | MySQL Log DirectAdmin Debian

Debian DirectAdmin MySQL Command

find mysqld.log/mysql.log & slowly log file in DirectAdmin(Debian) 1.Login mysql command root@sv:/# mysql -u dbuser -p 2.Query mysql variables mysql> show variables like %log%; 3. View path log file in variables general_log_file log_error slow_quer.. อ่านต่อ ( read more» )

DirectAdmin | How to Install XCache on Debian 5.0.x 64bit DirectAdmin installed

Command Debian DirectAdmin

#1. Get Xcache 1.3.2 (lated Release : xcache.lighttpd.net/pub/Releases) cd /tmp wget http://xcache.lighttpd.net/pub/Releases/1.3.2/xcache-1.3.2.tar.gz tar xvzf xcache-1.3.2.tar.gz #2. Use phpize command to prepare xcache as a PHP extension for compil.. อ่านต่อ ( read more» )

DirectAdmin | Set time Log Proftpd same Server(Debian+DirectAdmin)

Command DirectAdmin Debian FTP

How to set time log proftp same Server (OS: Debian + CP: DirectAdmin) 1. edit proftpd.conf vim /etc/proftpd.conf 2. edit to config TimesGMT off SetEnv TZ /etc/localtime 3. save and restart service /etc/init.d/proftpd restart.. อ่านต่อ ( read more» )

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

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

DirectAdmin | Disable Mod_CGI DirectAdmin

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

DirectAdmin | XsltProcessor is Off, you should install XsltProcessor DirectAdmin

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

DirectAdmin | Optimize MySQL all Databases mysqlcheck

DirectAdmin mysqlcheck Linux MySQL Database Command

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

DirectAdmin | วิธีซ่อมแซ่ม Database MySQL ง่ายๆด้วย myisamchk

CentOS DirectAdmin myisamchk Linux Command MySQL Database 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» )