Re: [CentOS] CentOS 6 and screenshot of website

2012-01-05 Thread Walter Haidinger
Am 05.01.2012 12:52, schrieb John Hodrien: > So he wants to be able to capture an image of what a website looks like from > the command line, and not really take a screenshot at all. Indeed, as there is no screen... This is diffcult, as websites need to be rendered and one just has to google for

Re: [CentOS] CentOS 6 and screenshot of website

2012-01-05 Thread Walter Haidinger
Am 05.01.2012 09:19, schrieb Jani Ollikainen: > Yes, the need was for automated command line tool which I can use > without requiring any user interaction. Use option -id or -name of xwd(1) to specify the window, e.g: xwd -id 0xc000c5 | xwdtopnm | pnmtojpeg > win.jpg To find the id or name, parse

Re: [CentOS] CentOS 6 and screenshot of website

2012-01-05 Thread Walter Haidinger
Am 04.01.2012 10:46, schrieb Jani Ollikainen: > How one is supposed to do screenshots of a website with CentOS 6? For X11, there is xwd(1): X window dump. Prompts you to click on a window and dumps its contents. To "screenshot" a single window and save it as a jpeg, e.g.: xwd | xwdtopnm | pnmtojp

Re: [CentOS] Centos VPS Kernel 2.6.35.4 & 'string-less' IP tables

2011-08-31 Thread Walter Haidinger
stock OpenVZ kernel, see http://download.openvz.org/kernel/branches/ for the available OpenVZ kernel branches. 2.6.32 is the most recent. > A very helpful and knowledgeable poster, Walter Haidinger, in his email > dated Wed, 31 Aug 2011 13:10:16 +0200 (12:10 BST), gave what appears to > be an ideal solution

Re: [CentOS] Centos VPS Kernel 2.6.35.4 & 'string-less' IP tables

2011-08-31 Thread Walter Haidinger
Am 31.08.2011 15:35, schrieb Karanbir Singh: >> PS: To install iptables from source is pretty straightforward: >> get the tarball from netfilter.org, unpack and run: >> ./configure --prefix=/opt/iptables&& make&& make install > > And at that point you lose. All management capability or

Re: [CentOS] Centos VPS Kernel 2.6.35.4 & 'string-less' IP tables

2011-08-31 Thread Walter Haidinger
Am 31.08.2011 04:24, schrieb Always Learning: > > On a VPS I wanted to add to IP tables:- > iptables -A -p tcp -m string --algo bm --string 'login' -j DROP > > I got: > iptables: Unknown error 18446744073709551615 > > uname -a = 2.6.35.4 #2 (don't know how this got installed) > lsmod

[CentOS] qemu-kvm-0.15 + CentOS 5.6 + vanilla 2.6.35.14 (working, patch included)

2011-08-23 Thread Walter Haidinger
Hi! Just in case somebody else needs this. Below is a patch which allows building qemu-kvm-0.15 unter CentOS 5.6 with vanilla kernel 2.6.35.14 and (optionally) vde2 [1]. FYI: qemu-kvm-0.15 compiles fine on CentOS 6 with distro-kernel, no patches needed. For CentOS 5.6, unpack 0.15 qemu-kvm