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 | |
# This script was written for Ubuntu 14.04, Ubuntu 16.04 and MacOS 10.13.5 | |
# Other operating systems may need a few changes | |
WORK_DIR=~/svn2git_`date "+%Y%m%d-%H%M%S"` | |
AUTHORS_FILE=$WORK_DIR/authors.txt | |
GITDIR_DIRTY=$WORK_DIR/dirty | |
GITDIR_FINAL=$WORK_DIR/final |
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 | |
# Process aimed to make a fast and clean installation of the last version of Docker CE | |
# This script was written and tested on Ubuntu 14.04 | |
sudo apt-get update | |
sudo apt-get install \ | |
ca-certificates \ | |
curl \ | |
gnupg \ |
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 | |
#Some variables | |
ELASTICSEARCH_VERSION="6.5.3" | |
KIBANA_VERSION="6.5.3" | |
ELASTICSEARCH_PWD="secret" | |
#Define a "wait for service" function | |
WaitForService () { | |
while (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
docker create \ | |
--restart always \ | |
--publish=7473:7473 \ | |
--publish=7474:7474 \ | |
--publish=7687:7687 \ | |
--volume=/srv/neo4j/data:/data \ | |
--volume=/srv/neo4j/logs:/logs \ | |
--volume=/srv/neo4j/conf:/var/lib/neo4j/conf \ | |
--env=NEO4J_AUTH=none \ | |
--env=NEO4J_dbms_memory_pagecache_size=8G \ |
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
docker run \ | |
--detach \ | |
--restart always \ | |
--publish 8888:8888 \ | |
--volume=/srv/jupyter:/home/jovyan/work \ | |
--env=GEN_CERT=yes \ | |
--env=JUPYTER_ENABLE_LAB=yes \ | |
--name jupyter \ | |
jupyter/datascience-notebook start-notebook.sh |
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 MongoDB Enterprise on Ubuntu | |
# https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-ubuntu/#install-mongodb-enterprise-on-ubuntu | |
# Specify MongoDB version (leave blank for latest version) | |
export MONGODB_VERSION="" | |
# Get OS Version | |
. /etc/os-release | |
echo "----> $PRETTY_NAME ($ID - $VERSION)" |
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
# System setup | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
# Software setup | |
sudo apt-get -y install cups | |
sudo apt-get -y install python-cups | |
sudo apt-get -y install avahi-daemon | |
sudo apt-get -y install system-config-printer | |
# Software configuration | |
sudo usermod -aG lpadmin $USER |
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 | |
# Ref: https://hub.docker.com/r/apache/superset | |
docker run -d -p 8080:8088 --name superset apache/superset | |
docker exec -it superset superset fab create-admin \ | |
--username admin \ | |
--firstname Superset \ | |
--lastname Admin \ | |
--email [email protected] \ |
OlderNewer