Linux server is better than Swiss army knife. Using pipes you can join commands together to process and transform data.
Task:
Automatically backup entire folder to encrypted file and upload in secure manner to backup server using minimum of disk space.
Code:
#
# install as cronjob, must escape any % as \% otherwise it becomes newline
#
tar cvf - /home/tom | gpg --no-tty --passphrase-file pass.txt -c - | ssh user@backup.com "cat > tom.tar.gpg"
Explanation:
--no-tty is required for cronjob as there is no tty attached during execution
pass.txt will contain your symmetrical password
#
# create tarball containing entire folder and send output to stdout
#
tar cvf - /home/tom#
# read from stdin and encrypt data stream using pass phrase in file pass.txt
#
| gpg --no-tty --passphrase-file pass.txt -c -#
# read from stdin data stream and send via secure shell to backup server as tom.tar.gpg
#
| ssh user@backup.com "cat > tom.tar.gpg"
for more info try
man tar
man gpg
man ssh
If you are lucky owner of PS3 system and got tired of game playing then you can try Linux using PS3 hardware. Yellow Dog Linux is specifically made for PS3 and is easy to install and use. Being Linux you can start to write and compile your own software that runs on PS3 console
There is less interest in Linux now and trend is downwards. Some articles claimed that Vista is opportunity for desktop Linux. Hard data from Google trends shows that there is more interest in Vista than Linux !
I have implemented RSS feed for our Linux shop service. Stay up to date with latest releases. No lost emails due to full account or spam filter. Enjoy !
I have migrated VPS hosting this blog from Fedora to CentOS
CentOS is build from Red Hat Enterprise Sources so it's almost identical
Difference is that you don't get support from Red Hat but community and Internet is the best support you can get and is driving force behind Linux
It comes with its own repositories that contain security and bug fix updates
Yum can be used to update your system automatically
Fedora is curring edge but CentOS is more stable and conservative
Where do you want to go today ?
You should try your own CentOS today !
:: Next Page >>
Forum for discussion of Linux
| Next >
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |