Coder Social home page Coder Social logo

onelineserver's Introduction

###Get a full Ruby on Rails and PHP stack up in one line :)

Run this on a fresh install. Tested on Ubuntu server 10.04 lts && 10.10

###To run: sudo apt-get -y install curl && curl https://github.com/danharper/onelineserver/raw/master/railsready.sh >> railsready.sh && chmod a+x railsready.sh && ./railsready.sh

  • The script will ask if you want to build Ruby from source or install RVM
  • If you want to watch the magic happen run "tail -f ~/railsready/install.log"

##What this gives you:

  • An updated system
  • Apache 2
  • PHP 5.3.5
  • MySQL server 5.5
  • Ruby 1.9.2p136 (installed to /usr/local/bin/ruby) or RVM running 1.9.2p136
  • OpenSSH server
  • Imagemagick
  • libs needed to run Rails (sqlite, mysql, etc)
  • Bundler, Passenger, and Rails gems
  • Git

Please note: If you are running on a super slow connection your sudo session may timeout and you'll have to enter your password again. If you're running this on an EC2 or RS instance it shouldn't be problem.

I use this to setup VMs all the time but I'm sure this script can be improved. It's meant to serve as quick start to get all the dependencies, Ruby, and Rails on a system with no interaction. Basically it's just running all the apt-get commands for you (aside from building Ruby). I'll update the commands and ruby versions as they change.

onelineserver's People

Contributors

danharper avatar

Stargazers

Umar Hansa avatar

Watchers

James Cloos avatar

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.