I hereby claim:
- I am chorrell on github.
- I am chorrell (https://keybase.io/chorrell) on keybase.
- I have a public key whose fingerprint is 323A EC58 E07B B77C EEC0 0590 6E82 CA41 2774 7B7C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
set -o xtrace | |
export npm_config_loglevel=verbose | |
export npm_config_spin=false | |
NODE_VERSION=0.8.28 | |
NPM_VERSION=2.7.4 | |
# Install node |
dpkg: dependency problems prevent removal of systemd-sysv: | |
init depends on systemd-sysv | sysvinit-core | upstart; however: | |
Package systemd-sysv is to be removed. | |
Package sysvinit-core is not installed. | |
Package upstart is not installed. | |
dpkg: error processing package systemd-sysv (--purge): | |
dependency problems - not removing | |
dpkg: dependency problems prevent removal of systemd: | |
systemd-sysv depends on systemd (= 215-17). |
#!/bin/bash | |
DBPATH=/home/hybrid/mysql_backups | |
MYSQLDMP=/opt/local/bin/mysqldump | |
FIND=/opt/local/bin/find | |
DATE=`date "+%Y-%m-%d"` | |
$MYSQLDMP --opt --skip-add-locks --user=hybrid_dbuser --password= xxxxxx --default-character-set=utf8 hybrid_forumdb | gzip > ${DBPATH}/hybrid_forumdb-${DATE}.gz | |
chown hybrid:hybrid ${DBPATH}/hybrid_forumdb-${DATE}.gz | |
# Deletes old backups |
#!/usr/bin/env bash | |
# | |
# Add new version of nodejs to a SmartMachine | |
# | |
# Check to see if script is being run as the root user | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root. Aborting..." 1>&2 | |
exit 1 |
# Allow all out going connections | |
pass out from Your.Public.IP to any keep state | |
# SSH | |
pass in quick from any to Your.Public.IP port=22 | |
# SMTP | |
pass in quick from any to Your.Public.IP port=25 | |
# HTTP |
mkdir src | |
cd src | |
curl -O http://collectd.org/files/collectd-5.0.3.tar.gz | |
tar xvzf collectd-5.0.3.tar.gz | |
cd collectd-5.0.3 | |
pkgin -f up | |
pkgin -y install gcc-compiler |
#!/usr/bin/env bash | |
# | |
# Add new version of nodejs to a nodejs or no.de SmartMachine | |
# | |
# Check to see if script is being run as the root user | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root. Aborting..." 1>&2 | |
exit 1 |
[root@smartos64-1-6-3 ~/src/id3lib-3.8.3]# ./configure --prefix=/opt/local | |
checking for a BSD-compatible install... /opt/local/bin/ginstall -c | |
checking whether build environment is sane... yes | |
checking for gawk... gawk | |
checking whether make sets ${MAKE}... yes | |
checking for style of include used by make... GNU | |
checking for gcc... gcc | |
checking for C compiler default output... a.out | |
checking whether the C compiler works... yes | |
checking whether we are cross compiling... no |
#!/bin/bash | |
export PS4='${BASH_SOURCE}:${LINENO}: ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' | |
# enable xtrace for debugging | |
#set -o xtrace | |
echo " " | |
echo "Setting up the deploy user" | |
echo "------------------------------------------------------" | |
groupadd -g 1008 deploy |