LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Scripting with .sh files (the linux equivilent to .bat files)

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

Here's a good introductory work on .sh scripts, far more elaborate and detailed than what my script demonstrates.
ref: http://steve-parker.org/sh/first.shtml


Here's a potent resource for learning more about bash scripting.
ref: http://ss64.com



Here's my basic shell script which simply checks if two files exist, and then copies them to have a new name. It's useful for when you're juggling multiple github accounts. It's obsoleted...
LQ Newbie
Posted in Linux lvl 2
Views 258 Comments 0 omgiamlinux is offline
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 228 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 264 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 253 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 241 Comments 0 omgiamlinux is offline

  



All times are GMT -5. The time now is 11:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration