July 5th in Linux/Unix by .

Install Webmin Server Control Panel for Debian/Ubuntu

Installing Webmin (server control panel) for Debian/Ubuntu is dead easy.

Just follow 3 steps.

1. Go to Root> console and download Webmin using wget command

wget http://webmin.com/…./webmin-X.YYY.tar.gz

2. Just follow the steps during the installer.

3. Once installation is finished, just point to URL you will get the webmin login screen.

http://localhost:10000/

http://ip.address:10000/

Thats it!

Share:StumbleUponPrint

June 8th in Linux/Unix by .

Enabling ModRewrite in XAMPP Apache

XAMPP is a very good Linux server package w/ Apache, MySQL,PHP  running in Windows just like server runs in linux. You can download http://www.apachefriends.org

I noticed that by default mod-rewrite is not enabled with apache server coming with it. It is very important to enable this module if you want to …

June 2nd in Linux/Unix by .

MySQL Query to Select Random Records

Often in many situations during programming you might need to pull randomly selected records from a MySQL Database. For example displaying 5 randomly selected ads in your site. All that is needed is use rand() function.

SELECT ID FROM
ORDER BY RAND() LIMIT 5

Make sure you use the LIMIT clause as otherwise …