Skip to content

Instantly share code, notes, and snippets.

View marcinkuzminski's full-sized avatar

Marcin Kuźmiński marcinkuzminski

View GitHub Profile
@johanndt
johanndt / upgrade-postgres-9.3-to-9.5.md
Last active July 15, 2022 12:35 — forked from dideler/upgrade-postgres-9.3-to-9.4.md
Upgrading PostgreSQL from 9.3 to 9.5 on Ubuntu

TL;DR

Install Postgres 9.5, and then:

sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main
@ilyaevseev
ilyaevseev / rhodecode2mirror.sh
Created June 29, 2015 10:02
Backup all Git and Mercirial repos from Rhodecode/Kallithea to remote server
#!/bin/sh
M="admins"
L="/tmp/hg2mirror.log"
E="/tmp/hg2mirror.err"
TOPDIR="/var/www/rhodecode/"
try_mercurial() {
test -d "$1/.hg" || return 1

Setting up RhodeCode on Ubuntu Server 12.04

Preparation

  1. Install Ubuntu Server.
  2. Update Ubuntu with the commands: