Giter VIP home page Giter VIP logo

scripts's Introduction

Provision scripts

provision scripts will help you install many developer oriented services without hassle in a Ubuntu machine

Install provision script:

wget -qO- https://raw.githubusercontent.com/georgeyord/scripts/master/provision.sh > /tmp/provision.sh && chmod a+x /tmp/provision.sh && sudo mv /tmp/provision.sh /usr/local/bin/provision && sudo provision test

Use provision to install a list of services:

sudo provision --interactive \
     distro-upgrade \
     basic-tools \
     git \
     nodejs \
     python-pip \
     chrome \
     dropbox \
     docker \
     sublime \
     atom \
     ssh-client \
     ssh-server \
     gitprompt \
     i3 \
     byobu \
     ccze \
     bats \
     wetty \
     guake \
     meld \
     java \
     vlc \
     skype \
     apt-cleanup \
     disk-space

this will install:

  • basic-tools like vim htop python wget etc.
  • git
  • node/npm
  • python-pip
  • google chrome stable
  • dropbox
  • docker
  • sublime
  • atom
  • ssh-client
  • ssh-server
  • gitpromt
  • i3
  • byobu
  • ccze
  • bats
  • wetty
  • guake
  • meld
  • java
  • vlc
  • skype
  • do an apt cleanup (remove unneeded install packages)
  • show the disk space used

scripts's People

Contributors

georgeyord avatar

Stargazers

John Tsevdos avatar  avatar

Watchers

 avatar James Cloos avatar

Forkers

evieleon

scripts's Issues

Docker-bin fails

*** Install locally executables needed in host but run in Docker
'docker' was installed
Add 'docker-bin-alias.sh' to /home/user/.bash_aliases
/usr/local/bin/provision: line 180: /home/user/.alias/docker-bin-alias.sh: No such file or directory
Reboot to make it available to all terminals
'docker-bin-test' failed to install
Goodbye

Install tldr fails

npm WARN deprecated [email protected]: use uuid module instead
/usr/bin/tldr -> /usr/lib/node_modules/tldr/bin/tldr

> [email protected] postinstall /usr/lib/node_modules/tldr
> node ./bin/tldr --update

Updating...
/usr/lib/node_modules/tldr/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:47
          throw err0
          ^

Error: EACCES: permission denied, mkdir '/home/user/.tldr/cache'
    at Error (native)
    at Object.fs.mkdirSync (fs.js:794:18)
    at Object.mkdirsSync (/usr/lib/node_modules/tldr/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:29:9)
    at /usr/lib/node_modules/tldr/lib/cache.js:36:8
    at Extract.<anonymous> (/usr/lib/node_modules/tldr/lib/remote.js:27:5)
    at emitNone (events.js:72:20)
    at Extract.emit (events.js:166:7)
    at DirWriter.<anonymous> (/usr/lib/node_modules/tldr/node_modules/unzip2/lib/extract.js:42:10)
    at emitNone (events.js:72:20)
    at DirWriter.emit (events.js:166:7)
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "tldr"
npm ERR! node v4.7.0
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `node ./bin/tldr --update`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script 'node ./bin/tldr --update'.
npm ERR! This is most likely a problem with the tldr package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/tldr --update
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs tldr
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls tldr
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/user/npm-debug.log
'tldr' failed to install
Goodbye

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.