Dariush Debian Diary

Diariusz Dariusza

, 20, 2006

Permanent URL 

server4 root 17:34 /etc/thewall #date Wed Dec 20 17:34:49 CET 2006 server4 root 17:34 /etc/thewall #date Wed Dec 20 17:34:49 CET 2006 server4 root 17:34 /etc/thewall #date Wed Dec 20 17:34:50 CET 2006 server4 root 17:34 /etc/thewall #date Wed Dec 20 17:34:50 CET 2006 server4 root 17:34 /etc/thewall # server4 root 17:34 /etc/thewall #date Wed Dec 20 17:34:49 CET 2006 server4 root 17:34 /etc/thewall #date Wed Dec 20 17:34:49 CET 2006 server4 root 17:34 /etc/thewall #date Wed Dec 20 17:34:49 CET 2006 server4 root 17:34 /etc/thewall #

Last modified on

, 04, 2006

Permanent URL Howto re-read the partition table without reboot

apt-get install parted partprobe

Last modified on

, 19, 2006

Permanent URL ipset ip_set

Last modified on

, 15, 2006

Permanent URL Traffic shaping - tc filter.. divisor

divisor is a number of entries in given table,
for (h = 0; h <= ht->divisor; h++) {
where h is 'unsigned', this suggests 65535 max, but it seems that in reality it's limited to 255 Apparently, it must be in form of 2^x (1,2,4,8,16...256), otherwise you get:

host:~# tc filter add dev eth1 parent 1: prio 0 handle 1: protocol ip u32 divisor 17
Illegal "divisor"

Last modified on

, 08, 2006

Permanent URL Perl Win32 OpenSSL FTP/TLS

1) OpenSSL 2) CamelPack 3) cd c:\openssl\perl\5.8\Net* install.bat cd c:\openssl\perl\5.8\Cry* ....

Last modified on

, 06, 2006

Permanent URL Dziwne

desktop:/fs/mm/tmp/dvd-tmp# ls -al total 5242892 drwxr-xr-x 2 root root 125 Aug 6 15:17 . drwxr-xr-x 9 eyck root 4096 Aug 6 14:59 .. -rw-r--r-- 1 root root 1073741824 Aug 6 15:04 dev.tar.7z.part1 -rw-r--r-- 1 root root 1073741824 Aug 6 15:14 dev.tar.7z2.part1 -rw-r--r-- 1 root root 1073741824 Aug 6 15:16 dev.tar.7z2.part2 -rw-r--r-- 1 root root 1073741824 Aug 6 15:17 dev.tar.7z2.part3 -rw-r--r-- 1 root root 1073741824 Aug 6 15:19 dev.tar.7z2.part4 desktop:/fs/mm/tmp/dvd-tmp# du -sh . 5.1G . desktop:/fs/mm/tmp/dvd-tmp# du -sh * 1.1G dev.tar.7z.part1 1.0G dev.tar.7z2.part1 1.0G dev.tar.7z2.part2 1.1G dev.tar.7z2.part3 1.0G dev.tar.7z2.part4 desktop:/fs/mm/tmp/dvd-tmp# du -sh * 1.1G dev.tar.7z.part1 1.0G dev.tar.7z2.part1 1.0G dev.tar.7z2.part2 1.1G dev.tar.7z2.part3 1.0G dev.tar.7z2.part4

Last modified on

, 13, 2006

Permanent URL NX

To get two nxproxy's talking: 1) On the remote machine, run: nxproxy -C 2) If the above says it's on 4008, then run the following on the local machine: nxproxy -S seki.nac.uci.edu:8 ..be sure to unblock tcp 4008 or whatever in your firewall, if any. http://dcs.nac.uci.edu/~strombrg/NX-notes.html

Last modified on

, 08, 2006

Permanent URL MoinMoin wiki, lighttpd webserver

fakeroot apt-get source -b moin
apt-get install libcfg-dev
fakeroot apt-get source -b lighttpd
fakeroot apt-get source -b lsb-base
/etc/moin/mywiki.py -> datadir
	data_dir = '/var/spool/moin/mywiki/data/'
	data_underlay_dir = '/var/spool/moin/mywiki/underlay/'
	cp -a  /usr/share/moin/data/* /var/spool/moin/mywiki/data/
	cp -a  /usr/share/moin/underlay/* /var/spool/moin/mywiki/underlay/
	chown -R www-data.www-data /var/spool/moin/mywiki/*/*
	chmod -R ug+rwx /var/spool/moin/mywiki/
	chmod -R o-w /var/spool/moin/mywiki/
/etc/lighttpd/mods-enabled/50-moin.conf
server.modules  += ( "mod_cgi" )
server.modules  += ( "mod_simple_vhost" )

$HTTP["host"] == "moin.mywiki.com.pl" {
	server.name = "moin.mywiki.com.pl"
	server.document-root = "/var/www/moin"
	cgi.assign  = ( ".cgi" => "/usr/bin/python" )
	alias.url = (
	"/wiki" => "/usr/share/moin/htdocs/",
	"" => "/var/www/moin/moin.cgi",
	)
}
where moin.cg: ln -s /usr/share/moin/server/moin.cgi /var/www/moin/

Last modified on

, 07, 2006

Permanent URL LAMP - Linux Apache Mod_perl/python/php PostgreSQL

Linux Apache Mod_perl/python/php PostgreSQL - LAMP.

Last modified on

Permanent URL 

gpg --export 010908312D230C5F -a | apt-key add - gpg --recv-key 010908312D230C5F

Last modified on

powered by blosxom  Creative Commons License

Copyright ©1995-2004 Dariush Pietrzak. All content on this website, unless otherwise noted, is licensed under a Creative Commons License.
Using desktop theme, version 0.5. Check the Blosxom site for the latest copy.

Calendar

September 2007
Sun Mon Tue Wed Thu Fri Sat
           
           

Archives

Categories

Subscribe

Subscribe to a syndicated feed of this weblog, brought to you by the power of RSS.

XML