[[http://stackoverflow.com/questions/1150373/compile-the-python-interpreter-statically]]
I found this (mainly concerning static compilation of Python modules):
http://bytes.com/groups/python/23235-build-static-python-executable-linux
| CAT1# | |
| 09:59:20: %SYS-5-CONFIG_I: Configured from console by console | |
| CAT1# conf t | |
| Enter configuration commands, one per line. End with CNTL/Z. | |
| CAT1(config)# | |
| CAT1(config)# vlan 5 | |
| CAT1(config-vlan)# name marketing | |
| CAT1(config-vlan)# exit | |
| CAT1(config)# vlan 10 | |
| CAT1(config-vlan)# name humanresources |
| /proc/fb | |
| /proc/fs/aufs/plink_maint | |
| /proc/fs/ext4/sda1/options | |
| /proc/fs/ext4/sda1/mb_groups | |
| /proc/fs/ext4/sda1/es_shrinker_info | |
| /proc/fs/jbd2/sda1-8/info | |
| /proc/bus/pci/00/00.0 | |
| /proc/bus/pci/00/02.0 | |
| /proc/bus/pci/00/14.0 |
[[http://stackoverflow.com/questions/1150373/compile-the-python-interpreter-statically]]
I found this (mainly concerning static compilation of Python modules):
http://bytes.com/groups/python/23235-build-static-python-executable-linux
| #!/bin/bash | |
| # | |
| # This script installs and configures couchdb on a fresh Amazon Linux AMI instance. | |
| # | |
| # Must be run with root privileges | |
| # Tested with Amazon Linux AMI release 2011.02.1.1 (ami-8c1fece5) | |
| # | |
| export BUILD_DIR="$PWD" |
| #!/usr/bin/env bash | |
| name="elasticsearch" | |
| : ${es_user:=elasticsearch} | |
| : ${es_group:=elasticsearch} | |
| # set config dir (-Epath.conf) | |
| : ${es_pathconf:=/opt/elasticsearch/config} | |
| : ${es_pidfile:=/var/run/elasticsearch/elasticsearch.pid} | |
| : ${es_tmpdir:=/tmp/elasticsearch} |
| #!/sbin/openrc-run | |
| # | |
| # Original Author: Mark Felder <feld@FreeBSD.org> | |
| # Author: Mike N. <c0psrul3@gmail.com> | |
| # $FreeBSD$ | |
| # | |
| # PROVIDE: unifi | |
| # REQUIRE: LOGIN | |
| # KEYWORD: shutdown |
| #!/sbin/openrc-run | |
| # Copyright 1999-2012 Gentoo Foundation | |
| # Distributed under the terms of the GNU General Public License v2 | |
| extra_commands="configtest" | |
| extra_started_commands="upgrade reload" | |
| description="Robust, small and high performance http and reverse proxy server" | |
| description_configtest="Run nginx' internal config check." | |
| description_upgrade="Upgrade the nginx binary without losing connections." |
| /************************************************************************/ | |
| /* setrpath */ | |
| /* */ | |
| /* By Davin Milun (milun@cs.buffalo.edu) */ | |
| /* Last modified: Sun Feb 26 12:21:06 EST 1995 */ | |
| /* */ | |
| /* Program to set the RPATH in an ELF executable. */ | |
| /* However, it cannot set the RPATH longer than the RPATH set at */ | |
| /* compile time. */ | |
| /* */ |
| # | |
| #DO droplet metadata intro + for DO-API | |
| # [https://www.digitalocean.com/community/tutorials/an-introduction-to-droplet-metadata#how-to-retrieve-droplet-metadata#digitalocean-api] | |
| # | |
| #intro to cloud-config scripting (source of following examples) | |
| # [https://www.digitalocean.com/community/tutorials/an-introduction-to-cloud-config-scripting] | |
| # | |
| #howto | |
| # [https://www.digitalocean.com/community/tutorials/how-to-use-cloud-config-for-your-initial-server-setup] | |
| # |
| #! /bin/sh | |
| for x | |
| do | |
| echo "Converting $x" | |
| tr -d '\015' < "$x" > "tmp.$x" | |
| mv "tmp.$x" "$x" | |
| done |