Debian packages must adhere to a strict directory structure.
Package: libgmp Version: 6.1.2 Architecture: all Essential: no Section: lib Priority: optional
#!/bin/bash | |
# Steps to repackage binary debian package (.deb) | |
_pkgname=package | |
_debpkg=package.deb | |
_newdeb=newpackage.deb | |
_builddir=`pwd`/build | |
#1: Extract deb package | |
dpkg -x $_debpkg $_builddir |
#!/usr/bin/env bash | |
#set -u #ignores the variable that does not exist | |
#set -o nounset #same as set -u | |
#set -x #output the executed command line before its execution result | |
#set -o xtrace #same as set -x | |
#set -e #execution terminates whenever an error occurs | |
#set -o errexit #same as set -e | |
#set -o pipefail |
host organization location | |
---- ------------ -------- | |
3comvax 3Com Corporation Santa Clara, CA | |
a3bee2 Compusoft Wallingford, CT | |
aaachoo AAA National Head Quarters - NTS/OTI Virginia | |
aaahq01 American Automobile Association, Hea Heathrow, Florida | |
aablue AA Blueprint Co., Inc. Ohio | |
aai Amerinex Artificial Intelligence Amherst, MA | |
aaisd Advantest America Inc., Software Div Santa Clara, CA | |
aardvark Steve's Unix System, Portland Portland, Oregon |
# Get the pid of the process to be inspected, and get the list of the libraries used by looking at the corresponding map file. | |
#i.e. for pid 10213 | |
cat /proc/10213/maps | grep .so | cut -d/ -f2- | sort -u |
$ git remote rm origin | |
$ git remote add origin git@github.com:aplikacjainfo/proj1.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |
Title: PostGIS 2.0 Cheatsheet CSS : css/cheaters.css
Permalink to PostGIS 2.0 Cheatsheet
PostgreSQL PostGIS Geometry/Geography/Box Types |
---|
S5 is an abbreviation for Snap Serv Server Stack Script. Basically it is meant for setting up a fresh Debian Wheezy x86/x64 system. You can read everything it does in config.sh, which is an example config. Remember to adjust to example configuration to some sane values.
Connect to your fresh server
Adjust network configuration if necessary
Download s5.sh and config.sh into /root:
#!/bin/bash | |
# <UDF name="HOSTNAME" Label="server hostname" default="linode"/> | |
# <udf name="PACKAGES" label="Packages to install" manyOf="Varnish, Nginx, Postgres, Redis, Beanstalk, Memcache" default=""> | |
########################################################### | |
# System Helpers | |
########################################################### | |
function system_update { | |
apt-get update |