Pages 3 Command | tags

Command | How to Install Zend Optimize on Debian 5.0.x 64bit DirectAdmin installed

DirectAdmin Debian Command PHP

#1. Install file module (PHP 5.2.x) cd /tmp/ wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz tar xvfz ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz cd ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_2_.. อ่านต่อ ( read more» )

Command | วิธี SSH ข้ามเซิฟเวอร์โดยไม่ใส่รหัสผ่าน

Linux Command Security

ยกตัวอย่างเช่น ssh จากเครื่อง A ไปเครื่อง B โดยไม่ใช้รหัสผ่านในการ ssh @เครื่อง A ssh-keygen -t rsa (มีอะไรขึ้นมาก็กด enter ผ่านไปให้หมด แล้วพิมพ์คำสั่งด้านล่าง เพื่อเตรียมก็อบค่าไว้) cat /root/.ssh/id_rsa.pub id_rsa.pub = publickey ก๊อปไปใส่เครื่องป.. อ่านต่อ ( read more» )

Command | Change charset in MySQL 5.5 with my.cnf

MySQL Command

1.Login msyql command mode and query mysql check character below mysql> show variables like %character%;show variables like %collation%; 2.edit my.cnf [mysql] default-character-set=utf8 [mysqld] collation_server=utf8_general_ci character_set_serv.. อ่านต่อ ( read more» )

Command | MySQL Log DirectAdmin Debian

MySQL Command Debian DirectAdmin

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

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

DirectAdmin Debian Command

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

Command | ip_conntrack: CT 0: table full, dropping packet

Command CentOS

Problem: ip_conntrack table full in CentOS tail /var/log/messages kernel: printk: 125 messages suppressed. kernel: ip_conntrack: CT 0: table full, dropping packet. kernel: printk: 99 messages suppressed. kernel: ip_conntrack: CT 0: table full, droppi.. อ่านต่อ ( read more» )

Command | perl: warning: Setting locale failed.

Command Debian Perl

Problem: Perl setting locale failed in Debian or Ubuntu perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = en_US.utf8 are supported and installed on your system... อ่านต่อ ( read more» )

Command | Recovery Root Password CentOS

CentOS Command

1.At the boot loader menu, use the arrow keys to highlight the installation you want to edit and type [A] to enter into append mode. 2.You are presented with a prompt that looks similar to the following: grub append> ro root=LABEL=/ 3.Press the Space.. อ่านต่อ ( read more» )

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

Command FTP Debian DirectAdmin

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

Command | Recover MySQL Database root password

Command MySQL Database Linux

Ploblem: forget MySQL root password Solutions: Recover(hack) MySQL root password 1. Login as root 2. Stop the MySQL server by using command /etc/init.d/mysql stop #or ps aux | grep mysql kill -9 mysqlID 3. Start MySQL server without password (more&he.. อ่านต่อ ( read more» )