Plesk for Linux – Disabling mod_security rules for specific directory

Posted on 08. Aug, 2009 by config.

0

If you are working with Plesk Control Panel ( Linux version ) and mod security – you probably encountered some problems with specific scripts. Sometimes mod security block certain functions of the script because it thinks it is malicious code.
For example this warning taken from Apache log:
Warning. Match of “rx ^apache.*perl” against “REQUEST_HEADERS:User-Agent” required. [file [...]

Continue Reading

Batch adding multiple ip addresses to Windows server with netsh

Posted on 08. Aug, 2009 by config.

1

Ever wanted to add 200 ip addresses to Windows Server with one command instead of manually configure it on the interface? Netsh will help you to save time.
You can use this quick batch command in cmd:
FOR /L %I IN (2,1,254) DO netsh interface ip add address “Local Area Connection” 10.0.0.%I 255.255.255.0
This example will add ip [...]

Continue Reading

Grub2, problem booting after kernel update

Posted on 05. Aug, 2009 by config.

0

If you are using grub2 ( arch linux or ubuntu 9.10 karmic koala ) you might notice some problems after kernel updates.
Symptoms – System won’t boot and you will get error similar to this:
Error – you need to load the linux kernel first.
Quick solution would be to boot from Arch / Ubuntu CD and go [...]

Continue Reading

Ubuntu 9.10 Karmic Koala Alpha – Ctrl+c in ssh terminal

Posted on 04. Aug, 2009 by config.

0

Seems like Ubuntu dev folks decided to change some functionality of the Ctrl-c shortcut so now it is copy function instead of break.
Anyway there is a bug open here: https://bugs.launchpad.net/ubuntu/+bug/402973
My install is ( lsb_release -a ):
Description:    Ubuntu karmic (development branch)
Release:        9.10
uname -a ( date and time stripped )
Linux psy-srv 2.6.31-3-generic-pae #19-Ubuntu SMP i686 GNU/Linux
Its Alpha [...]

Continue Reading

How to open CLI to VMware ESXi. How to Clone Virtual Machines.

Posted on 02. Aug, 2009 by config.

3

ESXi Commands
You can access the CLI by switching to terminal 1 using Alt-F1.
Now type “unsupported”, This is not echoed so you won’t see anything. If you get it right, you will get a prompt asking for the root pasword.
( This might not work in ESXi 4.0 as VMWare is trying to limit ESXi for their [...]

Continue Reading