Roll your own servers with Netcat
Posted by marcin | Filed under digg, linux
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.
Learning to use mod_rewrite
Posted by marcin | Filed under digg, linux
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.
Turn any PC into a NAS - dedicated storage server in less than five minutes
Posted by marcin | Filed under digg, linux
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.
Accessing remote UNIX machine GUI on Windows using Cygwin
Posted by marcin | Filed under digg, linux, windows
This article talks about access a remote UNIX machine GUI from your Windows box.
Setting up a Syslog Server
Posted by marcin | Filed under digg, linux
Excellent article detailing how to set up a syslog server to monitor multiple machines from one.
Howto Enable CPU Frequency Scaling in Linux
Posted by marcin | Filed under digg, 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!
Tux Factory
Posted by marcin | Filed under digg, linux
Want to show off your geek side with some sweet avatars. Then check no farther tux avatars are here.
Create PDFs With a PDF printer in Linux!
Posted by marcin | Filed under digg, linux
This guide shows you how to create PDF documents through a samba-postscript-printer that converts the output to a pdf.
Linux: europejskie zagrożenie dla naszych komputerów
Posted by marcin | Filed under linux
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. Całość artykułu znajduje się tutaj
poczta z konsoli czyli mutt + fetchmail + msmtp
Posted by marcin | Filed under linux
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 offostatnią 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