How to take a full webpage screenshot from a linux server

16. February 2013 SysAdmin 0

**Mission**

To setup a software to take full webpage screenshot from the server running on runlevel 3 (Command Line)

**Prerequisites Installation**

apt-get install subversion svn libqt4-webkit libqt4-dev g++ gcc xvfb

or

yum install subversion svn libqt4-webkit libqt4-dev g++ gcc gcc-c++ xvfb qt4-devel

On CentOS 5, if you get any error, Do the following,

Add this to /etc/yum.repos.d/CentOS-Base.repo #ATrpms [atrpms] name= CentOS-$releasever – ATrpms baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing gpgcheck=1 gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms enabled=1 rpm –import http://packages.atrpms.net/RPM-GPG-KEY.atrpms yum install subversion gcc-c++ qt44* qt44-devel*

**Installation**

cd /opt svn checkout https://cutycapt.svn.sourceforge.net/svnroot/cutycapt/CutyCapt cutycapt cd /opt/cutycapt qmake make

**SymLink to Binary Path**

ln -s /opt/cutycapt/CutyCapt /usr/local/bin/cutycapt

 

**Take Screen shot from the command line**

cd ~ xvfb-run –server-args=”-screen 0, 1024x768x24″ cutycapt  –url=http://www.JobNix.in –out=jobnix.in.jpeg

The screen shot will be available in your home directory as file name jobnix.in.jpeg


Any Questions…. Please comment ![:)](https://www.jobnix.in/wp-includes/images/smilies/icon_smile.gif)


Leave a Reply

Your email address will not be published.

How to take a full webpage screenshot from a linux server

16. February 2013 SysAdmin 0

**Mission**

To setup a software to take full webpage screenshot from the server running on runlevel 3 (Command Line)

**Prerequisites Installation**

apt-get install subversion svn libqt4-webkit libqt4-dev g++ gcc xvfb

or

yum install subversion svn libqt4-webkit libqt4-dev g++ gcc gcc-c++ xvfb qt4-devel

On CentOS 5, if you get any error, Do the following,

Add this to /etc/yum.repos.d/CentOS-Base.repo #ATrpms [atrpms] name= CentOS-$releasever – ATrpms baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing gpgcheck=1 gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms enabled=1 rpm –import http://packages.atrpms.net/RPM-GPG-KEY.atrpms yum install subversion gcc-c++ qt44* qt44-devel*

**Installation**

cd /opt svn checkout https://cutycapt.svn.sourceforge.net/svnroot/cutycapt/CutyCapt cutycapt cd /opt/cutycapt qmake make

**SymLink to Binary Path**

ln -s /opt/cutycapt/CutyCapt /usr/local/bin/cutycapt

 

**Take Screen shot from the command line**

cd ~ xvfb-run –server-args=”-screen 0, 1024x768x24″ cutycapt  –url=http://www.JobNix.in –out=jobnix.in.jpeg

The screen shot will be available in your home directory as file name jobnix.in.jpeg


Any Questions…. Please comment ![:)](https://www.jobnix.in/wp-includes/images/smilies/icon_smile.gif)


Leave a Reply

Your email address will not be published.