LinuxQuestions.org
Visit Jeremy's Blog.
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

Day 3 - Compiling C++ on Debian

Posted 10-27-2011 at 04:40 PM by omgiamlinux
Updated 10-27-2011 at 06:34 PM by omgiamlinux

Well, since we're setting up a debian system, we may as well review how to compile and run hello world. We'll just think of this blog as a reference to look back at latter.

The C++ compiler is already installed on debian. It would be stupid for linux to not have one installed already.
It's called g++, and you run it like this:

Code:
g++ hellosource.c
and it will produce "a.out" in the directory from which it was run. a.out is...
LQ Newbie
Views 488 Comments 0 omgiamlinux is offline
Old

Day 2 (installing mysql, a web server named nginx, and PHP in debian, and terrible vi notes)

Posted 10-25-2011 at 08:37 PM by omgiamlinux
Updated 10-27-2011 at 06:34 PM by omgiamlinux

ref: http://kevin.vanzonneveld.net/techblog/article/ruby_with_nginx_on_ubuntu_lucid/
Updated: 6-5-2011

Hey, in this tutorial, we will be installing nginx, PHP, and mysql.

Overview:
1) Install nginx
2) Install PHP
2.1) Configure nginx to work with virtual hosts and PHP
3) Install mysql


:: 1 - nginx

Code:
$  wget http://nginx.org/download/nginx-1.0.4.tar.gz
$  tar xvfz nginx-1.0.4.tar.gz
...
LQ Newbie
Views 1203 Comments 0 omgiamlinux is offline
Old

day one (a buggy debian installation)

Posted 10-25-2011 at 08:36 PM by omgiamlinux
Updated 10-27-2011 at 06:30 PM by omgiamlinux

After crying a little bit more, I decided to return to the Debian web site and try to find another iso that actually installed something I could use. (needless to say, their website is very difficult to navigate, and their distribution layout, confusing).

http://cdimage.debian.org/debian-cd/6.0.1a/i386/iso-cd/

Finally, I made it, I downloaded the first CD from that directory (apparently all you need is the first disc, and the other discs are there to confound dozers...
LQ Newbie
Views 624 Comments 0 omgiamlinux is offline
Old

Day point five

Posted 10-25-2011 at 08:35 PM by omgiamlinux
Updated 10-27-2011 at 06:30 PM by omgiamlinux

So, I guess day one started a long time ago. I happened to check the classified paper (because my dad still reads newz paperz, what a lamer) and saw two local businesses advertizing a need for Ruby on Rails programmers. I happened to like one of them a lot(they sell food, but no further details shall be provided to protect their delicious identities). So I said to myself, "I'm going to figure out what Ruby on Rails is and then do that for money."

Upon further investigation,...
LQ Newbie
Views 521 Comments 0 omgiamlinux is offline

  



All times are GMT -5. The time now is 10:09 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