This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"!/bin/bash | |
# | |
# List virtual disks | |
ls -l /dev/vd* | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Set a proper host name in /etc/hosts, /etc/hostname | |
2) reboot | |
3) cd ./iRedMail-0.8.6 | |
4) edit the file : ./conf/postgresql | set version | export PGSQL_VERSION='9.3' | |
5) Generate the config file as below . . . . . | |
6) chmod ug+x ./iRedMail.sh | |
7) run : ./iRedMail.sh | |
8) run : a2enconf iredadmin | |
9) reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
if [ 1 -eq 1 ] | |
then | |
mkdir -p source | |
pushd source | |
if [ -d openobject-server ] | |
then | |
pushd openobject-server | |
echo "Done server." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Define the identifiers OpenERP will use to connect to postgres | |
export PSQLUSR="psql_user_z" | |
export PSQLUSR_HOME="/srv/site_z/postgres" | |
export PSQLUSRPWD=" FIXME " # Password !!! FIXME | |
# | |
# Define the identifiers OpenERP will use within the OS | |
export OERPUSR="oerp_user_z" | |
export OERPUSR_HOME="/srv/site_z/openerp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[[[[ ~/projects/velocity-examples/leaderboard-cucumber ]]]]] | |
=> Started proxy. | |
I20150315-07:54:20.369(-4)? [velocity] adding velocity core | |
I20150315-07:54:20.370(-4)? [velocity] Not adding mirror-registrar because NODE_ENV is development and IS_MIRROR is false | |
I20150315-07:54:20.371(-4)? [node-soft-mirror] adding server code | |
I20150315-07:54:20.376(-4)? [velocity] Velocity not started. Queueing func | |
I20150315-07:54:20.665(-4)? [velocity] Server startup | |
I20150315-07:54:20.666(-4)? [velocity] app dir /home/yourself/projects/velocity-examples/leaderboard-cucumber | |
I20150315-07:54:20.667(-4)? [velocity] config = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
rm -fr client/routers/jobs.js | |
rm -fr client/views/jobs/*.html | |
rm -fr client/views/jobs/*.js | |
rm -fr client/views/jobs | |
rm -fr lib/collections/Jobs.js | |
rm -fr lib/controllers/JobsController.js | |
rm -fr server/JobsServer.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I use these shell scripts on my server to control Meteor project deployment by means of SSH/RPC calls. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install prerequisites | |
sudo tee /etc/apt/apt.conf.d/02proxy > /dev/null <<APTPRXY | |
Acquire::http::Proxy { "http://192.168.122.1:3142"; }; | |
Acquire::http::Proxy { deb.nodesource.com DIRECT; }; | |
APTPRXY | |
# -- Get PPAs for Oracle Java 7 and Sublime Text editor -- | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env node | |
var DEBUG = false; | |
if ( process.env.DEBUG ) { | |
DEBUG = true; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Install prerequisites | |
echo "Did you remember to prefix with sudo?" | |
read _ | |
# -- Get PPAs for Oracle Java 7 and Sublime Text editor -- | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3 |
OlderNewer