Install some requirements:
sudo apt-get install build-essential libssl-dev rsync
Create a user:
sudo useradd -Mr _rpki-client
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: fort-validator | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: fort-validator | |
| template: |
| require 'httparty' | |
| def print_traffic_nl(road_name, road_type, total_length) | |
| puts "nl_traffic_jam_kilometers{road_type=\"#{road_type}\",road_name=\"#{road_name}\"} #{total_length}" | |
| end | |
| response = HTTParty.get('http://api.routeradar.nl/api/v1/reports?query_type=overview') | |
| response.parsed_response.each do |tra| | |
| next if tra['type'] != 'jam' |
| require 'optparse' | |
| require 'httparty' | |
| require 'pp' | |
| options = { domain: nil } | |
| optparse = OptionParser.new do |opts| | |
| opts.banner = "Usage: example.rb [options]" | |
| opts.on("-dDOMAIN", "--domain=DOMAIN", "Domain to download") do |n| |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/julienschmidt/httprouter" | |
| "github.com/miekg/dns" | |
| "net/http" | |
| "encoding/json" | |
| "log" | |
| ) |
| [Unit] | |
| Description=Job that runs the python SimpleHTTPServer daemon | |
| Documentation=man:SimpleHTTPServer(1) | |
| [Service] | |
| Type=simple | |
| WorkingDirectory=/tmp/letsencrypt | |
| ExecStart=/usr/bin/python -m SimpleHTTPServer 80 & | |
| ExecStop=/bin/kill `/bin/ps aux | /bin/grep SimpleHTTPServer | /bin/grep -v grep | /usr/bin/awk '{ print $2 }'` |
| gpart destroy -F ada0 | |
| gpart destroy -F ada1 | |
| gpart create -s gpt ada0 | |
| gpart create -s gpt ada1 | |
| gpart add -s 64k -t freebsd-boot -l boot0 ada0 | |
| gpart add -s 64k -t freebsd-boot -l boot1 ada1 | |
| gpart add -s 8G -t freebsd-swap -l swap0 ada0 |
| #!/bin/bash -x | |
| URL=$1 | |
| USER=$2 | |
| PASSWORD=$3 | |
| LATEST_FIRMWARE="0.00" | |
| # ILO3 firmware: http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_ef5d840040af4d189c4b4991a7#tab-history | |
| # ILO4 firmware: http://h20566.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_a6d201edd56c4ff4b7d0488d01#tab-history |
| The following SSH command responded with a non-zero exit status. | |
| Vagrant assumes that this means the command failed! | |
| sh install.sh -v 12.4.1 2>&1 | |
| Stdout from the command: | |
| Downloading Chef 12.4.1 for ubuntu... | |
| downloading https://www.getchef.com/chef/metadata?v=12.4.1&prerelease=false&nightlies=false&p=ubuntu&pv=14.04&m=x86_64 |
I hereby claim:
To claim this, I am signing this object: