Skip to content

nflores99/measurements-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

measurements-service

How to install GO

wget https://dl.google.com/go/go1.19.2.linux-amd64.tar.gz
sudo tar -xvf go1.19.2.linux-amd64.tar.gz
sudo mv go /usr/local   → if you get "directory not empty", run the go directory with following commands "cd /usr/local" "rm -R go/" "cd" 
export GOROOT=/usr/local/go
export GOPATH=$HOME/Projects/Proj1
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
go version

Install IRTT

go install github.com/heistp/irtt/cmd/irtt@latest

Run IRTT

server: irtt server
client: irtt client -i 10ms -d 1m -l 172 --fill=rand --sfill=rand 10.0.1.1

Install Docker

Create image

cd measurements-service
docker build -t irtt-server .
docker build -t combined-meas -f combined/Dockerfile .

Proper login to Docker

docker login -u nuriafe99

Tag image

docker tag irtt-server nuriafe99/irtt-server

Push image to Docker Hub

docker image push nuriafe99/irtt-server

Run image

docker run -v .:/tmp/results

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published