Install virtualenv and virtualenvwrapper
$ sudo pip install virtualenv virtualenvwrapper
Add the following lines to your $HOME/.bashrc
# Script to install and configure a Pulp Server onto a RHEL 6/7 x86_64 system. | |
# The official documentation can be found here: | |
# https://pulp.readthedocs.org/en/latest/user-guide/installation.html | |
export USER_NAME="" | |
export USER_PASSWORD="" | |
export POOLID="" | |
# Handles system services according to the operating system version | |
function handle_service { |
Make sure to install httpie
Create a new repository named animals
:
http --verify=no -a admin:admin POST https://localhost/pulp/api/v2/repositories/ id=animals
HTTP/1.1 201 Created
Connection: Keep-Alive
{ | |
"2015": { | |
"october": { | |
"read": [ | |
{ | |
"author": "John Steinbeck", | |
"title": "The Moon Is Down" | |
} | |
], | |
"reading": [ |
command
and s
keys together.rm /var/db/.applesetupdone
and press the return
keyreboot
and press the return
keyimport random | |
import re | |
from nailgun import client | |
from nailgun import entity_mixins | |
from nailgun.config import ServerConfig | |
from nailgun.entities import ( | |
ActivationKey, | |
ContentView, | |
ContentViewVersion, |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
# Install SAM on to an Amazon EC2 instance. Make sure to set the variables | |
# in the head of this script. | |
set -o errexit -o nounset | |
# Default user for EC2 images is "ec2-user", so switch to "root" | |
sudo su - | |
# By default the EC2 instance's hostname matches its internal hostname. The |
#!/usr/bin/env sh | |
# Install Satellite 6 on to an Amazon EC2 instance. Make sure to set the variables | |
# in the head of this script. | |
set -o errexit -o nounset | |
# Default user for EC2 images is "ec2-user", so switch to "root" | |
sudo su - | |
# By default the EC2 instance's hostname matches its internal hostname. The |