Archive for March 26th, 2009
How to reset mysql root password ?
1. Stop/ kill the mysqld # service mysql stop #pkill -9 mysqld 2) Start the mysql insafe mode as follows # /usr/libexec/mysqld –skip-grant-tables –user=root & 3) Now update the mysql user tables and root password as follows #mysql mysql>use mysql; mysql>UPDATE user SET Password=PASSWORD(‘YOUR_PASSWORD’) WHERE Host=’localhost’ AND User=’root’; mysql>flush privileges; Now add the new password [...]
csf + lfd firewall configuration in vps (virtuozzo /openvz)
Introduction: In general csf is giving good compatibility with cpanel servers . But in a vps (openvz or Virtuzzo) the csf configuration is something different. Sometimes you may get an error as follow after the csf installation in vps ————– Error: iptables command [/sbin/iptables -v -A LOGDROPIN -p tcp -m limit --limit 30/m --limit-burst 5 [...]
How to configure Python and Lighttpd
Hello, I found a good way to execute python scripts via lighttpd . So now I can write my web applications completely in python. http://docwiki.gumstix.org/Sample_code/Python/Hello_World It is the easy way