LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Day 6.7 - Configuring MySql for your rails app

Posted 10-27-2011 at 04:55 PM by omgiamlinux
Updated 10-27-2011 at 06:31 PM by omgiamlinux

This post is a part of a mini-series!
Day 6
1) Installing link
2) Test a Rails App! link
3) Configuring Webserver link
4) Configuring MySql (You Are Here)


Ok, sqlite is only for non-high volume traffic. So let's switch to using MySql. The first step is to install MySql, which you can see how is done here.

Then comes the configuration:
1) Create a MySql user
2) Create the 3 MySql databases for your...
LQ Newbie
Views 293 Comments 0 omgiamlinux is offline
Old

Day 6.5 - Configuring Nginx to Serve Rails Apps

Posted 10-27-2011 at 04:54 PM by omgiamlinux
Updated 10-27-2011 at 06:31 PM by omgiamlinux

This post is a part of a mini-series!
Day 6
1) Installing link
2) Test a Rails App! link
3) Configuring Webserver (You Are Here)
4) Configuring MySql link


ref: http://wiki.rubyonrails.org/deployment/nginx-thin

Ok, let's assume that you've setup nginx on your computer, and installed rails, and even have PHP configured maybe. Now you want to work with rails via nginx. Well, that means you need to install 'thin' to...
LQ Newbie
Views 286 Comments 0 omgiamlinux is offline
Old

Day 6.3 - Rails application!

Posted 10-27-2011 at 04:54 PM by omgiamlinux
Updated 10-27-2011 at 06:32 PM by omgiamlinux

This post is a part of a mini-series!
Day 6
1) Installing link
2) Test a Rails App! (You Are Here)
3) Configuring Webserver link
4) Configuring MySql link


Finally we made it! We setup our debian machine, and can test a rails application out. This entry entails my first rails creation. Looks like we'll have a few more entries in this blog that explain how to setup a rails app using an alternative database engine, web server, and...
LQ Newbie
Views 271 Comments 0 omgiamlinux is offline
Old

Day 6 - Installing Rails, gem, rvm, etc.

Posted 10-27-2011 at 04:53 PM by omgiamlinux
Updated 10-27-2011 at 06:32 PM by omgiamlinux

This post is a part of a mini-series!
Day 6
1) Installing (You Are Here)
2) Test a Rails App! link
3) Configuring Webserver link
4) Configuring MySql link


:: Installing Ruby
ref: http://ryanbigg.com/2010/12/ubuntu-r...rails-and-you/

Install prerequisites so we can use curl and download rvm (Ruby Version Manager).
Code:
$  apt-get update
$  apt-get install build-essential git-core curl
...
LQ Newbie
Views 445 Comments 0 omgiamlinux is offline
Old

Day 5 - Working closely with MySql (playing with databases)

Posted 10-27-2011 at 04:52 PM by omgiamlinux
Updated 10-27-2011 at 06:32 PM by omgiamlinux

OK, MySql is installed, we did that in passing as we installed our webserver and php.
It was a total breeze, but if you've forgotten how we did that, go there.


What we need now is to:
1) Setup mysql to be connected to by a specific remote machine
2) Create a test user
3) Create a test database
4) Connect to it remotely through SSH
5) Connect to it programatically with a language (i'll use c# and php too maybe)

...
LQ Newbie
Views 217 Comments 0 omgiamlinux is offline

  



All times are GMT -5. The time now is 03:52 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration