In this document I describe the steps to setup OpenStack cloud on Fedora 19
First, install OpenStack on Fedora 19
RDO Quick Start -
#!/usr/bin/env bash | |
# | |
# Copyright 2011, AT&T Services, Inc. | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
# Next we have to fix udev. Since all of our hardware is the same, we can do it this way to make sure all deviceds are always the same | |
cat <<EOF >/etc/udev/rules.d/70-persistent-net.rules | |
# This file was generated by cede. |
require 'fog' | |
require 'net/ssh' | |
require 'net/scp' | |
def upload_file(host, user, password, source, dest, print_progress = true) | |
Net::SSH.start(host, user, :password => password) do |ssh| | |
puts "Uploading file... (#{File.basename(source)})" | |
ssh.scp.upload!(source, dest) do |ch, name, sent, total| | |
if print_progress |
yum --enablerepo=rpmforge,epel,remi -y install gcc make zlib zlib-devel openssl-devel zsh | |
cd /usr/local | |
git clone git://github.com/sstephenson/rbenv.git rbenv | |
mkdir rbenv/shims rbenv/versions | |
chgrp -R groupname rbenv | |
chmod -R g+rwxXs rbenv | |
git clone git://github.com/sstephenson/ruby-build.git ruby-build | |
cd ruby-build | |
./install.sh |
#!/bin/bash | |
set -e # exit on error | |
### README | |
# * installs your desired ruby versions using rbenv | |
# ** including openssl (needed by bundler) | |
# ** including sqlite (probably needed for rails apps) | |
# | |
# Before you start: | |
# * put ssh-keys in place |
#!/bin/bash | |
# CentOS rbenv system wide installation script | |
# Forked from https://gist.github.com/1237417 | |
# Installs rbenv system wide on CentOS 5/6, also allows single user installs. | |
# Install pre-requirements | |
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel \ | |
make bzip2 autoconf automake libtool bison iconv-devel git-core |
I just got this working so I figured I'd share what I found, since there's hardly any information about this anywhere online except an RFC, the GPG mailing list and one tutorial from the GnuPG blog.
You can use automatic key discovery with WKD (Web key directory) to make it easy for users to import your key, in GPG since version 2.1.12. Since this feature is fairly new, it isn't yet available in the current LTS release of Ubuntu (16.04; xenial), however it is available in Debian stable (stretch).
I couldn't add a DNS CERT or DANE / OPENPGPKEY record through my email service (which also hosts my nameservers). I tried making the PKA record - a foo._pka.example.com
TXT record but GPG doesn't seem to recognize it and fails; I'm still investigating why.
So the last option for self-hosted auto-discovery was WKD.
First thing I had to do was add an email address to my key. My primary UID is just my name so the key represents my identity rather