HostOnNet Blog

Author Archives: admin

Plesk Logo

Find MySQL root password in Plesk Server

Plesk MySQL server have no root user. Instead Plesk have user “admin” with root privileges. To find password for user admin, run To login to MySQL For example To login with out password, create a file /root/.my.cnf With following content


Apache serve blank page for static files in cifs mount

We use Linux guest on WMware as development web server. Files are stored in a windows share. This share in mounted inside DocumentRoot of apache web server. Today i have to reinstall web server as it created some disk issue


Copying files with rsync

rsync is very good command to copy files between two linux servers. To move a folder from server1 to server2, login to server1 with ssh Rrun Here ssh -p 22 is the default SSH port, if you use non standard


Public DNS Servers

if your ISP have problem with DNS, you can use public dns for name resolution. Google Public DNS (Recommended) 8.8.8.8 8.8.4.4 http://code.google.com/speed/public-dns/ Level 3 Communications 4.2.2.2 4.2.2.4 4.2.2.6 OpenDNS.com 208.67.222.222 208.67.220.220 To add DNS server, take property of your LAN


Internal server error on cpanel server

Today a cpanel server start showing Internal Server error when accessing the sites. This happened for all sites. This usually cause if log files is too big. So i cleaned all large files in apache log folder echo > /usr/local/apache/logs/suphp_log


You don’t have permission to access / on this server

On a new apache installation, when i g to the site i got following error Forbidden You don’t have permission to access / on this server. Apache/2.2.11 (Fedora) Server at 192.168.206.128 Port 80 I set permission for DocumentRoot to 755


Easy way to Shutdown MS Windows

Easy Way to Shutdown Microsoft Windows


Evolution of Computer Languages

Evolution of Computer Languages


Decrypt eval gzinflate base64_decode encryped php script

Today i see a php script, that is encrypted with eval(gzinflate(base64_decode(‘JUNK_CODE_HERE’))); I tried to decrypt the script, but it have many levels of recurring gzinflate, base64_decode encryption. If some one runs a script encrypted like this, it take more server


Reading and searching windows chm help files in ubuntu

By default ubuntu 9 have chmsee installed to view windows chm help files. chmSee is ok for reading chm files, but there is no search function. If you have a reference chm file, it is not easy to find some