Search 

Slingbox 
Tuesday, September 4, 2007, 22:03 - Technology
Here's a screen grab of me watching TV on my colleague Eric's fathers Slingbox which is connected to cable in America:



This is pretty cool and allows Eric to keep up with the baseball back home in the U.S.


  |   Share
add comment ( 141 views )   |  0 trackbacks   |  permalink

LoadRunner report on this webserver 
Friday, August 17, 2007, 11:01 - Technology
During a training exercise some months ago - I did a 25 user test against this webserver.

The results can be viewed here:
www.sar.cx/loadrunner/www-sar-cx-report.html

This graph gave me the best indication of the users experience on the site:


It shows that around ~90% of the users (test scripts) had a response time of <4 seconds.

LoadRunner measures time to last byte - so I can assume that the user had a useable/readable web page well before 4 seconds.
  |   Share
add comment ( 112 views )   |  0 trackbacks   |  permalink

CVS PServer over SSH wont work 
Thursday, August 16, 2007, 12:36 - Technology
Okay so I've got my new CVS server up and running and I've got the pserver method working when logged on to the server machine locally:

[sreadman@milhouse temp]$ cvs -d :pserver:sreadman@localhost:/usr/local/cvsroot login
Logging in to :pserver:sreadman@localhost:2401/usr/local/cvsroot
CVS password:
[sreadman@milhouse temp]$ cvs -d :pserver:sreadman@localhost:/usr/local/cvsroot checkout test_project
cvs checkout: Updating test_project
U test_project/test.tcl
[sreadman@milhouse temp]$ ls -l
total 1
drwxrwxr-x 3 sreadman sreadman 1024 Aug 16 11:48 test_project/
[sreadman@milhouse temp]$


I cannot get it to work on a remote machine over an SSH forwarded port.
I've got putty set up to forward port 2401. To test this on a remote machine I connected to the CVS server via SSH and tried to use WinCVS and Eclipse to checkout the file. Neither worked:

WinCVS:
cvs -d :pserver:sreadman@127.0.0.1:2401:/usr/local/cvsroot login
Logging in to :pserver:sreadman@127.0.0.1:2401:/usr/local/cvsroot
cvs [login aborted]: /usr/local/cvsroot: no such repository
***** CVS exited normally with code 1 *****


Eclipse
Could not connect to :pserver:sreadman@localhost:2401/usr/local/cvsroot: I/O exception occurred: Connection refused: /usr/local/cvsroot: no such repository
Connection refused: /usr/local/cvsroot: no such repository


One of the classic tests for the cvs pserver it to 'telnet localhost 2401 type something and hit enter. I got the correct response below:

Server Test:
[sreadman@milhouse temp]$ telnet localhost 2401
Trying 127.0.0.1...
Connected to milhouse (127.0.0.1).
Escape character is '^]'.
foo
cvs [pserver aborted]: bad auth protocol start: foo

Connection closed by foreign host.


Remote Test:
C:>telnet localhost 2401

cvs [server aborted]: bad auth protocol start: foo
error


Connection to host lost.
C:>


So the cvs pserver connection works (via telnet) both locally on the server and on a remote machine, but I cannot log in via Eclipse or WinCVS.

This is really annoying - it could be either a security (SELinux/iptables) or file permissions problem.




  |   Share
add comment ( 266 views )   |  0 trackbacks   |  permalink

Setting up a Linux CVS server 
Wednesday, August 15, 2007, 11:03 - Technology
I have a couple of projects which I'm working on at the moment. For my own sanity it's time to start organising the source code into CVS - plus I have a couple of people who are interested in contributing.

Here are the steps I took to get CVS installed on my Mandriva box:

Logged in as root....
1. Install CVS: urpmi cvs
2. Ensure it starts at boot: chkconfig cvs on
3. Start the service: service cvs start
4. Modify the default profile to add the $CVSROOT and $CVSEDITOR environment variables:
vim /etc/profile
export CVSROOT=/usr/local/cvsroot
export CVSEDITOR=/bin/vim

5. Specify the CVSROOT directory, vim /etc/cvs/cvs.conf
change this: CVS_REPOS="" to this: CVS_REPOS="/usr/local/cvsroot"
6. Add the "cvs" group: groupadd cvs
7. Add users to the new cvs group like this: usermod -G cvs -a sreadman
8. Create and configure the $CVSROOT directory:
mkdir $CVSROOT
chgrp cvs $CVSROOT
chmod 770 $CVSROOT
chmod g+s $CVSROOT

9. Initialise the repository: cvs init and logout: exit

Finally test the the repository is accessible via the pserver method:
cvs -d :pserver:xx-user-xx@localhost:$CVSROOT login
Logging in to :pserver:xx-user-xx@localhost:2401/usr/local/cvsroot
CVS password:


If you can run the cvs login command without error the pserver is up and running.

I found this site very helpful:
www.drydeadfish.co.uk/junk/cvs/index.php


  |   Share
add comment ( 1489 views )   |  0 trackbacks   |  permalink

Test Automation takes time (Dilbert) 
Monday, July 30, 2007, 15:20 - Technology
How many times have I been in this situation....

  |   Share
add comment ( 297 views )   |  0 trackbacks   |  permalink


<<First <Back | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Next> Last>>