Showing posts with label setup. Show all posts
Showing posts with label setup. Show all posts



這篇會跟大家介紹如何自己建設一個類似類似 Google Drive, Dropbox 的伺服器。(自己硬碟比較便宜不安全就是了 XD)
這個是因為前陣子整理 File Server,翻東西真的好麻煩就在找Solution。找到 Seafile、ownCloud、SparkleShare 這些,但感覺上 Seafile 比較全面就試試了。
Cause of work, i has long time didn't update this blog.

In last week, i need to install an project management system redmine. redmine develop in ruby on rails, so i try to install ruby on rails in ubuntu server.

Please follow below step use root account.

1. Install curl.
apt-get install curl

2. Install RVM with ruby.
\curl -L https://get.rvm.io | bash -s stable --ruby

RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.

3. Load rvm source
source [path your install rvm]/rvm

4. Install dependancies
rvm requirements

after this command, will showing the dependeices package you need to install

5. Install Ruby 1.9.3
rvm install 1.9.3

6. Set defualt ruby version
rvm use 1.9.3 --default

7. Install RubyGems
rvm rubygems current

RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a "gem").

8. Install Rails
rvm 1.9.3 do gem install rails

When finish all step, now we can start develop our ror projects.