LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > omgiamlinux
User Name
Password

Notices


The Road to Raildom In the Road to Raildom, writer and rubyist extrodinary takes you on a journey where you learn how to use linux and setup a professional rails server on a spare PC or virtual machine. The PERFECT place for a beginner to start doing something cool with l
Old

7 extremely profitable linux commands

Posted 10-27-2011 at 05:02 PM by omgiamlinux
Updated 10-27-2011 at 06:29 PM by omgiamlinux

Ha, this information has been sitting on my desktop for a while. Needless to say, it's grown beyond more than just 7 commands, but I like the title too much to change it. Book mark and feel free to leave comments with commands you'd like referenced here also.


Working Using Linux
Code:
$  wget http://www.place.com/sourcecodez.tar.gz   #~~~ download something
$  unzip bla.zip          #~~~ unzip a zip
$  tar -zxvf bla.tar.gz   #~~~ unzip tar balls
...
LQ Newbie
Views 413 Comments 0 omgiamlinux is offline
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 638 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 620 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 606 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 789 Comments 0 omgiamlinux is offline

  



All times are GMT -5. The time now is 05:21 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
Open Source Consulting | Domain Registration