A Blog about technology, linux, peer2peer, cool new downloads and software development.

Tuesday, January 27, 2009

Ubuntu mysql - phpMyAdmin


Default L/P: root/mysql

( Alternative : sudo apt-get install mysql-admin )

Install LAMP on Ubuntu

sudo tasksel install lamp-server

sudo apt-get install build-essential
sudo apt-get install phpmyadmin
sudo apt-get install php5-cli php-pear


Wednesday, January 21, 2009

exporting firefox cookies for wget

Install the Export Cookies 1.0 firefox plugin (https://addons.mozilla.org/en-US/firefox/addon/8154)

and download with wget :
wget --load-cookies=./cookies.txt -i url.list

Friday, January 9, 2009

how to mirror a website using wget

update :
lftp -e "mirror -c" http://example.com/foobar/
# mirror into current directory :
wget -m -nH -E -k -N http://site.com

# mirror into site.com directory :
wget -m     -E -k -N http://site.com

Thursday, January 1, 2009

Install Flock On Ubuntu

Install Flock On Ubuntu

ssh & scp timeout & keepalive params

Prevent ssh & scp from getting stuck with the collowing command line parameters :

ssh -Y -C -e[ -o ConnectTimeout=2 -o TCPKeepAlive=yes -o ServerAliveInterval=2 -o ServerAliveCountMax=2 root@host