Archive for the ‘Nem kategorizált’ Category

grub boot raid1

Wednesday, January 13th, 2010

grub --device-map=/boot/grub/device.map
root (hd0,0)
setup (hd0)
root (hd1,0)
setup (hd1)
quit

clear cached credentials, clear cached password, windows xp share

Friday, December 4th, 2009

rundll32.exe keymgr.dll, KRShowKeyMgr

netcat tar pipe

Monday, November 23rd, 2009

sender:

tar cf - directory/ | nc -q0 target.host. 7000

receiver:

nc -l -p 7000 | tar vx

lvm howto

Tuesday, November 3rd, 2009

1. create physical volumes
pvcreate /dev/xxx

2. create volume groups from physical volumes
vgcreate vg0 /dev/xxx

3. create logical volumes from volume groups
lvcreate -L3800G vg0

unfornutantely you couldn’t make logical volume what is use all free space automatically. you need exactly specify the size of logical volume. if you want know the available free space you can see with vgdisplay.

 Free = PE Size * Free PE

clear jfs dirty state, clean jfs dirty flag

Monday, February 9th, 2009

jfs_debugfs /dev/sda
su p
12 0
x
q

mailman change host-name url

Thursday, August 28th, 2008

/usr/lib/mailman/bin/dumpdb -p ./config.pck | grep web_page_url

echo web_page_url = \’https://url/\’ | config_list -i /dev/stdin name-of-mailing-list

self-signed certificate with openssl, apache

Saturday, July 5th, 2008

openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout server.pem -out server.pem

SSLEngine On
SSLCertificateFile server.pem
OpenSSL – Creating a self-signed cert with one command

debug drupal node variables

Thursday, November 8th, 2007

<pre><?php print_r(get_defined_vars()) ?></pre>
<pre><?php print_r($_GLOBALS) ?></pre>

javascript oktató

Sunday, November 4th, 2007

http://www.w3schools.com/jsref/default.asp

get drupal modules from cvs

Saturday, September 22nd, 2007

example:
cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-5 -d panels_page contributions/modules/panels