Posted on February 28th, 2010 by linux
If your apache is chowing a indexes when browsing /var/www directory tree it might be considered as a security weakness. Unless you need your users to browse entire directory tree you may need to change a default apache setting in /etc/apache2/sites-available/yousite :
FROM:
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
allow from all
TO:
Options -Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
allow from all
Filed under: Administration, apache | Comments Off
Posted on August 30th, 2009 by linux
I know that there is a syntax in a rtorrent config file to schedule throttle for uploads and download for rtorrent. However, no matter how hard I tried I did not work for my N2100 NAS device. The only value in regards to throttle uploads and downloads I can control is a global download_rate and upload_rate variable. So I came with a simple hack to use a crontab to stop , change config and start rtorrent. I have created two config files: one for offpeak and another for peak time. Once done edited a cron tast with
crontab -e
and add these lines:
00 7 * * * /raid/module/cfg/module.rc/RTORRENT.rc stop
01 7 * * * cp /root/rtorrent.rc_peak /raid/module/RTORRENT/system/etc/rtorrent.rc
02 7 * * * /raid/module/cfg/module.rc/RTORRENT.rc start
57 0 * * * /raid/module/cfg/module.rc/RTORRENT.rc stop
58 0 * * * cp /root/rtorrent.rc_offpeak /raid/module/RTORRENT/system/etc/rtorrent.rc
59 0 * * * /raid/module/cfg/module.rc/RTORRENT.rc start
Filed under: Administration, Fun and Linux, N2100 | Comments Off
Posted on August 26th, 2009 by linux
Some FTP links to download computer related ebooks. One may use:
wget -r URL
to download them all at once.
http://gog.gateit.net/books/
http://sodaphish.com/files/ebks/try2innovate.com/downloads/E-books/
http://orion.vratza.org/Books/Perl/?C=N%3BO=D
http://download.matus.in/doc/eBooks/
http://eduunix.ccut.edu.cn/index2/pdf/
http://www.dgi.gr/books/
http://www.superlinux.net/ebooks/
http://ftp.akaedu.org/mirror/202.96.64.144/books/
http://www.shizzilation.com/books/EBOOKS/Collection%20Of%20Various%20Computer%20Related%20Books/
http://ftp.akaedu.org/mirror/194.44.214.3/e-books/
http://files.hostingmania.rs/How-to/
http://slav0nic.org.ua/static/books/python/
http://www.echofoxx.com/doc/Oreillyhacks/
http://www.sinred.com/downloads/
http://books.osteching.com/
http://www.teroristi.org/books/
http://blacknite.eu/ebooks/
http://hide.osiris.com.br/ebooks/
Filed under: Ebooks | Comments Off