Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
[ytl@nettest5:/opt/ndt/current/conf]$ ./create-html.sh 
Welcome to the NDT server configuration program.  This
program will create a custom tcpbw100.html file for your site.

Enter your site name [Internet2]  : SLAC
Enter your site's location [Ann Arbor - MI]  : Menlo Park - CA
Server connection info, enter 1 for 100 Mbps, 2 for 1 Gbps [2]  : 2

Information for email trouble reporting
Enter email userid [rcarlson]  : ytl
Enter email domain name [internet2.edu]  : slac.stanford.edu
Enter default subject line [Trouble report from nettest5]  : [NDT] Trouble Report
The base web page 'tcpbw100.html' has now been created.  You
must move this file into the ndt_DATA directory [/usr/local/ndt]
created during the 'make' process.
Do you want to install this file now? [yes]  :  
Enter location [/usr/local/ndt]  : /opt/ndt/current/

Image Added

Script Install

System init scripts can be installed automatically. Under the distribution package (ie tar'd file), there are numerous files in the conf directory which are not copied over during the system install.

...

Code Block
title/opt/ndt/current/conf/ndt

...

...


base=/opt/ndt/current/

...


path=$base/sbin

...



web100=/opt/web100/current/

...



[ -f $path/web100srv ] || exit 0

...


[ -f $path/fakewww ] || exit 0

...



export PATH=$PATH:$base/bin

...


export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$base/lib:$web100/lib

...



# Specify some default options.

...


WEB100SRV_OPTIONS="-a"

...


FAKEWWW_OPTIONS="-l /opt/ndt/current/log/fakewww.log"

...


RETVAL=0

...


...

...


...

Also

...

noticed

...

that

...

there

...

is

...

a

...

library

...

in

...

the

...

ndt

...

lib

...

directory;

...

so

...

added

...

to

...

/etc/ld.so.conf

...

:

No Format

...

/opt/web100/current/lib/

...


/opt/ndt/current/lib/

...

and

...

ran

...

/sbin/ldconfig

...

to

...

update

...

dynamic

...

library

...

paths.

...

The

...

init.d

...

services

...

can

...

be

...

installed

...

with

...

the

...

conf/autostart.sh

...

script:

No Format

...

[ytl@nettest5:/opt/ndt/current/conf]$ sudo ./autostart.sh

...

 
This script will configure your system to automatically

...


start the NDT processes at boot time.

...



ndt             0:off   1:off   2:on    3:on    4:on    5:on    6:off
No Format

Moved

...

the

...

html

...

file

...

to

...

the

...

conf

...

directory

...

and

...

put

...

a

...

symlink

...

to

...

it

...

in

...

the

...

ndt

...

directory:

No Format

[ytl@nettest5:/opt/ndt/current/]$ mv tcpbw100.html conf/

...


[ytl@nettest5:/opt/ndt/current/]$ ln -s conf/tcpbw100.html ndt/tcpbw100.html

...

noformat