Pages

Bài đăng phổ biến

Showing posts with label Nguyễn Sĩ Nhàn. Show all posts
Showing posts with label Nguyễn Sĩ Nhàn. Show all posts

Wednesday, November 30, 2011

How to backup ispconfig

1.
mkdir /home/backup chmod 700 /home/backup cd /home/backup
2.
mysqldump -u root -p dbispconfig > dbispconfig.sql
3.
tar pcfz ispconfig_software.tar.gz /root/ispconfig
4.
tar pcfz etc.tar.gz /etc


notice:This backup does not include the emails and website data.


(faqforge.)

Zend studio: Errors occurred during the build. Errors running builder 'JavaScript Validator' on project 'PROJECT'. java.lang.NullPointerException

Problem:


Errors occurred during the build. Errors running builder 'JavaScript Validator' on project 'PROJECT'. java.lang.NullPointerException


Resolution:


you must go to Project->Properties->Builders then disable ‘Javascript Validator’.


Nguyễn Sĩ Nhàn

Tuesday, November 29, 2011

Cpanel : A fatal error has occurred DB Error: connect failed


Problem happen when password of database in file config difference with current password  of database horde.

Resolution: Change current password to same password in file config of horde.

/usr/local/cpanel/base/horde/config/conf.php
$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = 'xxxxxxx';


mysql> UPDATE mysql.user SET Password=PASSWORD('YOUR-NEW-MYSQL-PASSWORD') WHERE User='horde';
mysql> FLUSH PRIVILEGES;
mysql> exit
 Nguyễn Sĩ Nhàn
 


Wednesday, November 23, 2011