Windows show hidden devices in Device Manager

1. Click Start, point to All Programs, point to Accessories, and then click Command Prompt.
2. At a command prompt, type the following command , and then press ENTER:

set devmgr_show_nonpresent_devices=1

3. Type the following command a command prompt, and then press ENTER:

start devmgmt.msc

4. Troubleshoot the devices and drivers in Device Manager.

NOTE: Click Show hidden devices on the View menu in Device Managers before you can see devices that are not connected to the computer.
5. When you finish troubleshooting, close Device Manager.
6. Type exit at the command prompt.

Note that when you close the command prompt window, Window clears the devmgr_show_nonpresent_devices=1 variable that you set in step 2 and prevents ghosted devices from being displayed when you click Show hidden devices.

debian suphp and limit procs

Hi

apt-get install libapache2-mod-suphp suphp-common apache2 apache2-mpm-worker php5-cgi
a2enmod suphp

(this is normaly done with the installation)

mkdir /var/www/web/
useradd web
chown -R web:web /var/www/web

now your php files were executed as uid web and gid web

and now we add these lines to your apache config
normally in

/etc/apache2/sites-enabled/web
RLimitCPU 20 50
RLimitMEM 128000000 256000000
RLimitNPROC  3 6

this is to limit php procs and apache procs by cpu and ram and [n]procs

don’t forget to

/etc/init.d/apache2 restart

Have Fun

The mind is its own place, and in itself
Can make a Heav’n of Hell, a Hell of Heav’n.
– John Milton

convert ext3 to ext4

I’ve successfully done this on my root fs:
I’ve no boot partition (my system is debian squeeze own compiled kernel 2.6.29.1)

tune2fs -O extents,uninit_bg,dir_index /dev/DEV

e2fsck -fDy /dev/DEV

vim /etc/mtab
vim /etc/fstab

You only need the newest Knoppix v6; boot it and do the above commands

Only use under debian grub-pc
Grub-0.97 is not able to boot from ext4