Technology

Install Webmin in Raspberry Pie

Download

root@raspberrypi:/home/pi# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.750.tar.gz

Extract

root@raspberrypi:/home/pi# tar zxvf webmin-1.750.tar.gz

Setup

root@raspberrypi:/home/pi# cd webmin-1.750
root@raspberrypi:/home/pi# mkdir /var/www/webmin
root@raspberrypi:/home/pi# sh setup.sh /var/www/webmin/

Follow instruction

ENTER
ENTER
ENTER
...
Login name (default admin):
Login password:
Password again:
....
ENTER

Try out

http://raspberrypi:10000/

Technology

How to stop cron sending email.. and logging..

Completely stop cron from sending you email:

nano /etc/crontab
#at the top of your crontab.
MAILTO=""

Stop per cron from sending you email:

#Append string >/dev/null 2>&1 to stop mail alert:
0 1 5 10 * /path/to/script.sh >/dev/null 2>&1

Stop loggin in /var/log/*

nano /etc/rsyslog.conf
#put comment when not needed.
#auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none -/var/log/syslog
#cron.* /var/log/cron.log
#daemon.* -/var/log/daemon.log
#kern.* -/var/log/kern.log
#lpr.* -/var/log/lpr.log
#mail.* -/var/log/mail.log
#user.* -/var/log/user.log