Blogs

Steps for Updating the Grub

Boot from live CD/USB. Open terminal emulator and start:

get name of your linux partition:

sudo fdisk -l | egrep '83[ \t]*Linux'
for example it outputs: /dev/sda1

mount it and chroot into it:

sudo mount /dev/sda /mnt
chroot /mnt
restore grub loader:

update-grub
grub updater will detect list of installed OSes automatically. After that you just need to reboot.


Incase of cannot find a device error:
mount --bind /dev /mnt/dev
chroot /mnt

Website Performance Testing

1). Check the Network Latency by traceroute command
2). Check the robot.txt using the site  http://www.sxw.org.uk/computing/robots/check.html
3). Apache Bech for testing the performace of Apache Server :
    Command:
    -------------
ab -kc 10 -t30 URL/
The above command tells Apache Bench to Make 10,000 connections, use the HTTP "keep alive" feature of Apache, and wait for a maximum of 30 seconds for a response from the server. The output contains various figures.
4). Check the Memory Usage : fire the "top" command to check the memory usage

Check the Performance of Your Web server

1).Check the Network Latency by traceroute command
2). Check the robot.txt using the site  http://www.sxw.org.uk/computing/robots/check.html
3). Apache Bech for testing the performace of Apache Server :
    Command:
    -------------
ab -kc 10 -t30 URL/
The above command tells Apache Bench to Make 10,000 connections, use the HTTP "keep alive" feature of Apache, and wait for a maximum of 30 seconds for a response from the server. The output contains various figures.
4). Check the Memory Usage : fire the "top" command to check the memory usage

Install Google Chrome in Backtrack 5

Steps to Install the Google Chrome Browser in Backtrack 5:

  • apt-get install chromium-browser
  • cd /usr/lib/chromium-browser
  • hexedit chromium-browser
  • Then press tab to switch to the mode string.
  • Then press ctrl+s and type geteuid.
  • Replace geteuid to be getppid then press ctrl+x to exit!
  • Press 'Y' to save the changes
  • Enjoy your google chrome!!!

Pages