SliTaz 30mb desktop
SliTaz is a free operating system, working completely in RAM and booting from removable media such as a cdrom or USB key. SliTaz is distributed as a LiveCD, and weighs less than 30MB. The system is quick and responsive, clean and robust. SliTaz is simple and intuitive, providing a lightweight, elegant desktop, detailed documentation and easy to use configuration tools
also see http://maketecheasier.com/cooking-with-slitaz-an-innovative-and-tiny-linux-os/2010/01/07

EDE desktop
EDE is a small desktop environment that is meant to be simple and fast. EDE's window manager uses less memory than a standard xterm.
It is based on a modified version of FLTK called eFLTK.

LAMP on debian (ubuntu mint etc) One line install
![]()
Installing a LAMP stack on deb has never been easier!
sudo tasksel install lamp-server

Speed up apt-get with axel and apt-fast.
Web Upd8 has a nice article on a bash script by Matt Parnell that uses axel to increase the speed of apt-get updates. Basically, install axel then use this script instead of apt-get:
#!/bin/sh #apt-fast by Matt Parnell http://www.mattparnell.com , this thing is FOSS #please feel free to suggest improvements to admin@mattparnell.com # Use this just like apt-get for faster package downloading. Make sure to have axel installed #If the first user entered variable string contains apt-get, and the second string entered is either install or dist-upgrade if echo "$1" | grep -q "[upgrade]" || echo "$2" | grep -q "[install]" || echo "$2" | grep -q "[dist-upgrade]"; then echo "Working..."; #Go into the directory apt-get normally puts downloaded packages cd /var/cache/apt/archives/; #Have apt-get print the information, including the URI's to the packages apt-get -y --print-uris $1 $2 $3 $4 > debs.list; #Strip out the URI's, and download the packages with Axel for speediness egrep -o -e "(ht|f)tp://[^\']+" debs.list | xargs -l1 axel -a; #Perform the user's reqested action via apt-get apt-get -y $1 $2 $3 $4; echo "Done! Make sure and check to see that the packages all were installed properly. If a package is erred, run sudo apt-get autoclean and try installing it again without the use of this script."; elif echo "$1" | grep -q "[*]"; then apt-get $1; else echo "Sorry, but you appear to be entering invalid options. You must use apt-get and one of apt-get's options in order to use this script."; fi

Lynis, auditing tool for *nix
Lynis is a really cool script for checking your machine for vulns. I use it on every server I deploy. It's not a one stop shop for security, but it does give a little piece of mind that you've not overlooked anything.

Postfix, postgrey, and targrey. How’s that for a boring title, yay!
YupYup,
installed postgrey & targrey today:
wget http://postgrey.schweikert.ch/pub/postgrey-1.32.tar.gz tar xvfz postgrey-1.32.tar.gz cd postgrey-1.32 wget http://k2net.hakuba.jp/pub/targrey-0.31-postgrey-1.32.patch cp ./postgrey postgrey.orig patch < targrey-0.31-postgrey-1.32.patch cp ./postgrey /usr/sbin/ cp ./postgrey_whitelist_clients /etc/postfix cp ./postgrey_whitelist_recipients /etc/postfix groupadd mail useradd -g mail -d /home/postgrey -m -s /bin/false postgrey mkdir /var/run/postgrey/ chown -R postgrey:mail /var/run/postgrey/ mkdir /var/spool/postfix/postgrey chown postgrey:mail /var/spool/postfix/postgrey -R
Now create an init file:
vi /etc/init.d/postgrey
and put this in it:
#!/bin/bash
#
# Init file for postgrey server daemon
#
# chkconfig: 2345 79 30
# description: postgrey server daemon
#
# processname: postgrey
case "$1" in
start)
# Start Postgrey
/usr/sbin/postgrey --inet=127.0.0.1:60000 --daemonize --pidfile=/var/run/postgrey/postgrey.pid --whitelist-clients=/etc/postfix/postgrey_whitelist_clients --whitelist-recipients=/etc/postfix/postgrey_whitelist_recipients --greylist-action=451 --delay=420 --max-age=40 --lookup-by-subnet --auto-whitelist-clients=10 --user=postgrey --group=mail
;;
stop)
# Stop Postgrey
killall /usr/sbin/postgrey
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
make it executable:
chown 754 /etc/init.d/postgrey
and tell your system to start it when the system starts
Debian:
update-rc.d postgrey defaults
Redhat:
chkconfig --add postgrey
now tell postfix to use it, edit /etc/postfix/main.cf and add
check_policy_service inet:60000
to the end of the smtpd_recipient_restrictions and smtpd_data_restrictions statements, so they look something like this:
smtpd_recipient_restrictions =
permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination
...(whitelist and other filter)
check_client_access regexp:$config_directory/permit_client_nots25r
check_policy_service inet:60000
...
permit
smtpd_data_restrictions =
permit_mynetworks
permit_sasl_authenticated
...(whitelist)
check_client_access regexp:$config_directory/permit_client_nots25r
check_policy_service inet:60000
permit
And that's your lot.
Screen and the delete key – .screenrc
After a bit of poking around the interwebs i came across this little gem for getting screen to behave a bit better with the delete key.
Put this in your ~/.screenrc
termcapinfo xterm-color kD=\E[3~
the best thing is that you don't even have to restart the screen to get it, just reattach.
Automate a Remote Login Using SSH-Agent
When it comes to remote logins, SSH is a wonderful tool. Not only is it
secure, it supports public/private key logins. Depending on public and
private keys mean even if someone gets your password, without your
private key it won't do them any good (and vice versa).
see full article here













