start new:
tmux
start new with session name:
tmux new -s myname
====== | |
Videos | |
====== | |
DevOps | |
What is DevOps? by Rackspace - Really great introduction to DevOps | |
https://www.youtube.com/watch?v=_I94-tJlovg | |
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept) |
#!/usr/bin/env bash | |
# How to start: | |
# 1. Sign up for DigitalOcean with this link https://www.digitalocean.com/?refcode=7bf219507e61 | |
# -- it will be filled with $10 to start out (if you use the above link) | |
# 2. Go to https://cloud.digitalocean.com/settings/applications and find you API key | |
# 3. In your shell, run 'export DIGITALOCEAN_TOKEN="INSERT TOKEN HERE"', without the outer quotes. | |
# 4. `brew install jq` | |
# 5. `./digitalocean-proxy` | |
# 6. When you are done, press CTRL+C ONCE, and everything will be cleaned up. |
# Redirection of port 80 to port 443 | |
<virtualhost *:80> | |
ServerName redmine.domain.com | |
KeepAlive Off | |
RewriteEngine On | |
#RewriteCond %{HTTP_HOST} ^[^\./]+\.[^\./]+$ | |
RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] | |
GitLab is a self hosted Git management software based on Ruby on Rails.
It is free software and that is always a plus!
This tutorial is heavily based on the excellent post at rosehosting.com and collects information I found in documentation and on the internet generally.
Note: We'll work in a root console using Bash
If you don't have an editor of choice install vim (it's great!)
aptitude install -y git curl python-dev python-pip redis-server ruby1.9.1-full rubygems1.9.1 | |
aptitude install -y mysql-server libmysqlclient-dev | |
adduser --system --shell /bin/sh --gecos 'git version control' --group --disabled-password --home /home/git git | |
adduser --disabled-login --gecos 'gitlab system' gitlab | |
usermod -a -G git gitlab | |
su - gitlab | |
ssh-keygen -q -N '' -t rsa -f /home/gitlab/.ssh/id_rsa | |
aptitude install gitolite | |
cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub | |
su - git |