Tuesday, 19 May 2015

How to attach EBS volume available for use on Linux

Step 1

[ec2-user ~]$ lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
xvdf  202:80   0  100G  0 disk
xvda1 202:1    0    8G  0 disk /

Step 2

mkdir /data

Step 3

mount /dev/xvda1  /data

Wednesday, 6 May 2015

Hwo to install Text Browser

Install Lynx on Debian/Ubuntu based Linux systems.

# apt-get install lynx 
# apt-get install links

Install Lynx on Red Hat based Linux systems.

# yum -y install lynx 
# yum -y install links

Speed testing your website with Siege Automatic

Installation via Homebrew

First, install homebrew using the instructions from https://github.com/mxcl/homebrew/wiki/installation. Once installed you can simply install Siege in one command:

$ brew install siege

Using Siege

Now that Siege is installed we can begin speed testing your website. First thing to do is to create the siege config file in your home directory.

~ $ siege.config 
 
New configuration template added to /home/andrew/.siegerc
Run siege -C to view the current settings in that file



~ $ siege -c10 -d10 -r1 -v http://www.harish.com/ 
** SIEGE 2.72 
** Preparing 10 concurrent users for battle.  
The server is now under siege... 
HTTP/1.1 200 0.12 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.12 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.13 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.12 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
done. 

Transactions: 10 hits Availability: 100.00 % Elapsed time: 8.12 secs Data transferred: 0.04 MB Response time: 0.11 secs Transaction rate: 1.23 trans/sec Throughput: 0.00 MB/sec Concurrency: 0.14 Successful transactions: 10 Failed transactions: 0 Longest transaction: 0.13 Shortest transaction: 0.11

Let’s break this down a little. First we entered the siege command with a number of parameters:
  • -c10 is the number of concurrent users we want to simulate.
  • -r1 is the number of repetitions, in this case, 1.
  • -d10 is the delay between each user request (each siege simulated users sleeps for a random interval in seconds between 0 and 10).
-v is to show the output of each request.

Speed testing your website with Siege Manual

sudo apt-get install siege
 
$ curl http://www.joedog.org/pub/siege/siege-latest.tar.gz -o siege-latest.tar.gz $ tar xvfz siege-latest.tar.gz $ cd siege-2.72 $ ./configure $ make $ make install
This will install Seige to /usr/local/bin/siege.


~ $ siege -c10 -d10 -r1 -v http://www.harish.com/ 
** SIEGE 2.72 
** Preparing 10 concurrent users for battle.  
The server is now under siege... 
HTTP/1.1 200 0.12 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.12 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.13 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.12 secs: 4123 bytes ==> / 
HTTP/1.1 200 0.11 secs: 4123 bytes ==> / 
done. 

Transactions: 10 hits Availability: 100.00 % Elapsed time: 8.12 secs Data transferred: 0.04 MB Response time: 0.11 secs Transaction rate: 1.23 trans/sec Throughput: 0.00 MB/sec Concurrency: 0.14 Successful transactions: 10 Failed transactions: 0 Longest transaction: 0.13 Shortest transaction: 0.11

Let’s break this down a little. First we entered the siege command with a number of parameters:
  • -c10 is the number of concurrent users we want to simulate.
  • -r1 is the number of repetitions, in this case, 1.
  • -d10 is the delay between each user request (each siege simulated users sleeps for a random interval in seconds between 0 and 10).
  • -v is to show the output of each request.
 

Thursday, 30 April 2015

Bugzilla Error

comment line 451 to 471 and paste with this
tr_quicksearch.cgi

my $product = Bugzilla::Extension::Testopia::Product->new($product_id);
       
        my @comps;
        foreach my $c (@{$product->components}) {
            if (!$cgi->param('query') || $c->name =~ m/$q/i) {
                 push @comps, {
                     'id' => $c->id,
                     'name' => $c->name,
'qa_contact' => $c->default_qa_contact ? $c->default_qa_contact->login : '',
'product' => $c->product->name,
                };
            }
        }



221
tr_process_case.cgi use bracket
foreach my $field (qw(action effect) ) {

Thursday, 9 April 2015

How Install wamp Server and IIS

WAMPSERVER

Download the wampserver to click the under link

Install the wampserver and File if any issue to start the wamp services.

IIS
Open the control Pannel -> Add Remove -> add Fetures.

Check the IIS

How to Create Own Drop Box

How to Create OWNCLOUD

Step-1 Install Wampserver

Step-2 download the Own cloud File from the under Link



Step-3 Now Unzip and copy the Own Cloud Folder under www of wamp

Step-4 Now give username and password of you wish

DONE :-)