sudo apt-get install xfonts-terminus
sudo apt-get install console-terminus
sudo fc-cache
fc-cache
konsole &
Sunday, June 29, 2008
Installing terminus programming font in konsole (kde)
Monday, June 23, 2008
using putty as a SOCKSv5 proxy to tunnel firefox
without the need to run squid or anything on the linux side !
in putty configure a tunnel as "Dynamic" to port 8080 without destination :
Add :
in firefox :
configure proxy settings - SOCKS host 127.0.0.1, port 8080, SOCKS v5
Sunday, June 22, 2008
Ubuntu iscsi target tutorial
Download the iscsi target from http://iscsitarget.sourceforge.net/
wget http://surfnet.dl.sourceforge.net/sourceforge/iscsitarget/iscsitarget-0.4.16.tar.gz
compile :
tar -zxvf iscsitarget-0.4.16.tar.gz
cd iscsitarget-0.4.16/
make
I had to install :
apt-get -y install libssl-dev
make install
check that it starts :
cd /etc/init.d/
./iscsi-target start
./iscsi-target status
prepare a storage file (or use whole sd device)
cd /var; dd if=/dev/zero of=dev_iscsi_01.bin bs=1m count=100
this made a 100mb file
edit the iscsi target config file :
vim /etc/ietd.conf
change add the following lines :
Target iqn.2001-04.com.example:storage.disk1.sys1.xyz
Lun 0 Path=/var/dev_iscsi_01.bin,Type=fileio
restart the iscsi service :
/etc/init.d/iscsi-target start
connect from windows iscsi initiator and open the storage manager
Saturday, June 21, 2008
Sunday, June 15, 2008
Linux ramdisk
tmpfs :
http://en.wikipedia.org/wiki/TMPFS
ramdisk :
# modprobe -v rd
# modinfo rd
Saturday, June 14, 2008
Programming fonts
Envy Code R :
http://damieng.com/blog/category/design/fonts
Progy :
http://www.proggyfonts.com/index.php?menu=download
Consolas :
http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en
Linux fixed :
http://www.hassings.dk/lars/fonts.html
And more :
http://www.codinghorror.com/blog/archives/000157.html
Friday, June 13, 2008
ftp to sftp tunnel application
http://www.bitvise.com/tunnelier
tunnel ftp://localhost to a sftp host
Friday, June 6, 2008
cool putty mods
PuTTY Connection Manager : putty wrapper with tabs.
kitty : putty mod that ads improved bookmark management, auto-login and putty cygwin support (fix the puttycyg by copying the \usr\bin\cygwin1.dll into the kitty directory)
Wednesday, June 4, 2008
Ubuntu linux : Restart USB to reset stuck usb drives
$ sudo -s
# modprobe -vr ehci_hcd
# modprobe -v ehci_hcd
Sunday, June 1, 2008
fix in ubuntu : error while loading shared libraries: libcrypto.so.0.9.7: cannot open shared object file: No such file or directory
$ sudo -s
# cd /usr/lib
# ln -s libcrypto.so.0.9.8 libcrypto.so.0.9.7
# ln -s libssl.so.0.9.8 libssl.so.0.9.7