Roll your own servers with Netcat

One machine is set up with netcat to listen, and then other machines connect to it. Once connected, you can pipe text through it, open up a command shell on the listening machine, or anything you could do with cat on a local machine.

read more | digg story

Learning to use mod_rewrite

Apaches mod_rewrite is the packages greatest and most horrifying module. Mod_rewrite gives you the ability to manipulate URLs based on almost any condition imaginable. Server variables, environment variables, HTTP headers, and time stamps can be used to match rule sets based on regular expressions.

read more | digg story

Turn any PC into a NAS - dedicated storage server in less than five minutes

Are you looking for low cost and lightweight network storage for your office? NASLite offers a solution. It lets you create a NAS box out of your old hardware. You can even use a 486 machine, 16 MB RAM, floppy drive, one to four IDE hard drives and a network card for it. If you want a data dumpyard on a network then go for NASLite.

read more | digg story

Accessing remote UNIX machine GUI on Windows using Cygwin

This article talks about access a remote UNIX machine GUI from your Windows box.

read more | digg story

Setting up a Syslog Server

Excellent article detailing how to set up a syslog server to monitor multiple machines from one.

read more | digg story

Howto Enable CPU Frequency Scaling in Linux

Cpu frequency scaling is by default not enabled for normal users in Ubuntu. This guide shows you how to enable it through the Gnome CPU Freq monitor on the taskbar!

read more | digg story

Tux Factory

Want to show off your geek side with some sweet avatars. Then check no farther tux avatars are here.

read more | digg story

Create PDFs With a PDF printer in Linux!

This guide shows you how to create PDF documents through a samba-postscript-printer that converts the output to a pdf.

read more | digg story

Linux: europejskie zagrożenie dla naszych komputerów

Zwolennikom jak i przeciwnikom systemów linuksowych polecam artykuł jaki opublikowano na blogu shelleytherepublican.com. Zacytuję (moim zdaniem) najsmakowitsze kąski z tego artykułu :) :

“If one of your friends is using Linux or may be tempted to try it show them this article. Explain that Linux is a genuine threat and that by using it they may be opening their computer to Chinese hackers.

If you see a company using Linux, it may be that they have not paid for this software. Report them to the Business Software Alliance who have the legal authority to inspect any company’s computers for illegal programs like Linux.”

Dobre, naprawdę dobre :D :D :D. Całość artykułu znajduje się tutaj

poczta z konsoli czyli mutt + fetchmail + msmtp

Przedstawiam konfigurację programów do czytania i wysyłania poczty z konsoli.
do pobierania poczty posłuży nam fetchmail (pocztę można pobierać również bezpośrednio z mutta), ale ja wybrałem ten sposób pobierania poczty.

    oto mó plik .fetchmailrc (konfiguracja dla gmail):defaults
    proto auto
    port 995
    password "twoje hasło"
    warnings 3600
    poll pop.gmail.com
    user msiedlarz
    keep
    ssl
    mda "/usr/bin/procmail -f %F -d marcin" //lokalne konto do którego ma być dostarczona poczta
    pocztę pobieramy jednorazowo poleceniem fetchmail -a

    lub uruchamiamy demona fetchmail -d 120 (pobieranie poczty co 2 minuty).

    wysyłaniem poczty zajmuje się demon msmtp (jego zaletą jest bardzo łatwa i przejrzysta konfiguracja).

    oto mój plik .msmtprc (konfiguracja dla gmail):account default
    host smtp.gmail.com
    port 587
    user msiedlarz
    password twoje hasło
    auth on
    tls on
    tls_starttls on
    tls_certcheck off
    ostatnią rzeczą jest dopisanie do pliku .muttrc linii:

    set sendmail="/usr/bin/msmtp"

    i ewentualnie wpis dotyczący edytora i fortunek:

    set editor="/usr/bin/vim"

    set signature="fortune -s humorix-misc humorix-stories |"

    to by było na tyle..
    ps: console power ;)