avatar

Since the Virtuozzo VPS iptables ip_conntrack_ftp kernel module is currently broken you have to open a PASV port hole in iptables for incoming FTP connections to work correctly

May 19, 2012 in How to

iptables-0

Ketika mencoba restart CSF di VPS, kadang mendapatkan pesan error : root@server [~]# csf -r *WARNING* Since the Virtuozzo VPS iptables ip_conntrack_ftp kernel module is currently broken you have to open a PASV port hole in iptables for incoming FTP connections to work correctly. See the csf readme.txt under ‘A note about FTP Connection Issues’ on how ...

avatar

Setting Timezone with .htaccess

March 29, 2012 in How to, Tips Tricks

htaccess

How do I offset the Timezone for my location, instead of the server timezone? This is quite easy actually. Open your .htaccess file and add the following line: SetEnv TZ location where location is the specific timezone you want to define. A list of Supported Timezones can be found here: http://www.php.net/manual/en/timezones.php

avatar

Reset Forgotten MySQL Root Password

January 3, 2012 in How to

mysql-recover-root-password

To change the MySQL root password, run the following commands: # /etc/init.d/mysql stop # killall -9 mysql # /etc/init.d/mysql --skip-grant-tables --user=root start Connect to mysql with the following command: # mysql -u root Issue the following command in the mysql client: # UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE User='root'; Replace 'newpwd' with the new root password.