LoginSignup
19
20

More than 5 years have passed since last update.

VirtualBox+CentOS7(+Windows)でruby on railsの開発環境を作るのまとめ

Last updated at Posted at 2016-02-05

経緯

  1. Windowsでrubyの開発がちゃんとできるようにしたいなーと思った。
  2. 最新の環境で構築してみたかった
  3. 完全な個人的メモ

注意事項?

  • 環境はVirtualBoxを使うので、Macでも基本問題ないはず。
    • 設定がどうかとかは知らんですばい
  • 基本全て記述時点の最新版でやります
  • 構築する上で『なぜ必要か』とか『それがなんなのか』をほぼ完スルーしているので、気になったら適宜調べてください

用意する(した)もの

  • ネットに繋がってて、適度にスペックのあるPC
  • VirtualBox(記述時点最新版:5.0.14)
  • CentOS7のISO(release:1511)
  • TeraTermとかPuttyとかsshクライアント

諸々まとめ

  1. VirtualBox+CentOS7(+Windows)でruby on railsの開発環境を作る 其の壱
    • VirtualBoxで作成した仮想環境へのCentOS7インストールする迄

  2. VirtualBox+CentOS7(+Windows)でruby on railsの開発環境を作る 其の弐
    • 前回作成した仮想環境について、ホストPCから仮想環境にSSHログインする迄

  3. VirtualBox+CentOS7(+Windows)でruby on railsの開発環境を作る 其の参
    • 仮想環境に、gitとrbenv(ruby)をインストールする迄

  4. VirtualBox+CentOS7(+Windows)でruby on railsの開発環境を作る 其の四
    • rails newして、rails serverを起動して、ホスト側ブラウザでアクセスする迄

  1. サーバーや仮想環境等とgithubを鍵認証で連携させる
    • githubに繋ぐ

  2. VirtualBox+CentOS7(+Windows)でruby on railsの開発環境を作る おまけ弐(下書き中)
    • RubyMineで開発環境を整える

19
20
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
19
20