LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2003, 12:13 PM   #1
Bohiti
LQ Newbie
 
Registered: Nov 2003
Location: Wisconsin
Posts: 3

Rep: Reputation: 0
Question Newbie questions and observations


First off, I'd like to say that this site, and you guys, are great. I've spent my share of time at experts-exchange answering questions on subjects I'm good with, and its great to have such a dedicated place where I can play the "asker" role.

What I really wish I had was a roommate Linux guru who I could ask all the stupid little questions that pop into my head. But I'll post some here-

1.) In Linux, everything is a file. There are really no other parts of the OS, like Windows' Registry. Is this statement correct?

2.) I've done some windows programming, mostly VB but a little C++. Can you explain why people compile their own binaries for programs? Why would that make it faster?

3.) Why do people recompile the kernel? For me, building a little web/ftp server on a p200 with Slackware 9.1, will I ever need to? Why?

4.) I never know where to put things. I realize /home/bohiti is like C:\Documents and Settings\Bohiti. Where should I install things to? like Java, or OpenOffice, or the newest Apache? If you're going to say "it doesn't matter", then where do YOU install things?

5.) What exactly do RPM's do for Red Hat? They just put files in the right places, and keep a log so that the files can be uninstalled?

6.) I'm a Windows command-line junkie, and I'd like to be able to run my Slack web/ftp server strictly from CLI. How can you stop and start individual daemons? Say I want to turn ftpd off for awhile.

I'm sure I'll come up with some more later. Thanks in advance for any replies.

Bohiti
 
Old 11-04-2003, 12:23 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: Newbie questions and observations

1.) In Linux, everything is a file. There are really no other parts of the OS, like Windows' Registry. Is this statement correct?

Yes, in basic terms that is correct.

2.) I've done some windows programming, mostly VB but a little C++. Can you explain why people compile their own binaries for programs? Why would that make it faster?

Not sure on this one, can you ellaborate a bit more. To my knowledge precompiled binaries tend to be slower, well in Linux they are.

3.) Why do people recompile the kernel? For me, building a little web/ftp server on a p200 with Slackware 9.1, will I ever need to? Why?

Sure it would work, most will recompile a kernel to suit their own needs, disable and enable certain functions of the kernel, make it more custom to their own system. But most never touch it, only using the default kernel with no problems.

4.) I never know where to put things. I realize /home/bohiti is like C:\Documents and Settings\Bohiti. Where should I install things to? like Java, or OpenOffice, or the newest Apache? If you're going to say "it doesn't matter", then where do YOU install things?

Most programs will install to /usr/bin or /usr/local/bin where they lie in most users path to execute from. The home directory is used more to keep regular files, documents and media, etc.

5.) What exactly do RPM's do for Red Hat? They just put files in the right places, and keep a log so that the files can be uninstalled?

Its just a way to install programs. Its a package manager.

6.) I'm a Windows command-line junkie, and I'd like to be able to run my Slack web/ftp server strictly from CLI. How can you stop and start individual daemons? Say I want to turn ftpd off for awhile.

Usually you can start and stop from the /etc/rc.d directory. Or you can start and stop from the actual command itself that may be elsewhere.

Say you want to stop using samba on the server, you would do something like /etc/rc.d/rc.samba stop to turn it off, etc.
 
Old 11-04-2003, 12:29 PM   #3
Bohiti
LQ Newbie
 
Registered: Nov 2003
Location: Wisconsin
Posts: 3

Original Poster
Rep: Reputation: 0
TrickyKid,

Thank you. As for #1:

That's kind of why I was asking. If I download, say, the newest Apache, will I see real benefit from compiling it myself? Or is it not really worth the trouble (especially for a newbie), and I should just ./install or whatever, as usual. (?)

Thanks again.
 
Old 11-04-2003, 04:31 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Originally posted by Bohiti
If I download, say, the newest Apache, will I see real benefit from compiling it myself? Or is it not really worth the trouble (especially for a newbie), and I should just ./install or whatever, as usual. (?)
In most cases you won't see the difference. But sometimes, when you need a highly-tweaked version, or only certain features/modules, using source and compiling the program is the best idea. Many popular programs (like Apache) come with all distros. You just dowanload the right package (or use your installation cd) and install it (using different commands, depending on the distro).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/issue observations Woodsman Slackware 4 11-05-2005 10:52 AM
observations of 9.3 irish rebel SUSE / openSUSE 6 06-20-2005 01:28 PM
Gnome 2.8 Observations and Problems utanja Debian 2 11-23-2004 05:56 PM
re: help w/ cdrw recog + few observations from a newbie ergo_sum Linux - Hardware 15 11-05-2003 05:03 AM
Observations on installing Mandrake 9.1 tigerflag Linux - Distributions 0 04-05-2003 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 AM.

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
Open Source Consulting | Domain Registration