LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-02-2007, 09:30 PM   #1
tehfatal
Member
 
Registered: Mar 2007
Location: NJ
Distribution: Slackware 11, Fedora Core 6, Opensuse 10.2, CentOS 4.4
Posts: 31

Rep: Reputation: 15
debian etch questions


Hello im thinking about using etch as a file/lamp server. and got some questions:

1) Using apt-get am I able to get the latest php/apache/mysql or if i remember correctly there is an option to install a LAMP server during the install?

2) Manual tar.gz installs, on slackware 11 the ./configure, make, make install never seemed to work. Seemingly it didnt appear to work, but when using installpkg worked fine. Hows using this approach in debian

3) I noticed the discs required for etch is 14. whats the minimum of discs i need for an install.

Thanks
 
Old 04-02-2007, 09:46 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
1) Yes, there is a selection opportunity available during the installation process.
2) Debian also has a program to help you build .deb files: module-assistant. If you install the build-essential package you can also install files with ./configure && make && make install.
3) If the machine has a (wired!) network connection: 1. Use the netinstall cd and get the latest packages directly from the internet. Otherwise: grab the DVD
 
Old 04-02-2007, 10:13 PM   #3
tehfatal
Member
 
Registered: Mar 2007
Location: NJ
Distribution: Slackware 11, Fedora Core 6, Opensuse 10.2, CentOS 4.4
Posts: 31

Original Poster
Rep: Reputation: 15
ouch, no way am i burning 14 cds lol. netinstall its lol.

also another question is there a root user? or do i have to do sudo's
 
Old 04-02-2007, 10:44 PM   #4
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 32
debian has root user. none of that sudo nonsense
 
Old 04-02-2007, 11:29 PM   #5
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
Of course you can still install the 'sudo' package if you want to use it....I find it rather convenient myself. None of that starting new root sessions nonsense.
 
Old 04-02-2007, 11:59 PM   #6
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
Quote:
Originally Posted by tehfatal
also another question is there a root user? or do i have to do sudo's
Actually, with the current Etch installer (at least with the expert install), you are given the option of setting up the traditional root account or going with sudo.
 
Old 04-03-2007, 12:14 AM   #7
tehfatal
Member
 
Registered: Mar 2007
Location: NJ
Distribution: Slackware 11, Fedora Core 6, Opensuse 10.2, CentOS 4.4
Posts: 31

Original Poster
Rep: Reputation: 15
I hate that sudo garbage, ill take a root account anyway. sudo feels like your begging for trouble.
 
Old 04-03-2007, 06:55 AM   #8
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Rep: Reputation: 30
I like sudo myself.
 
Old 04-03-2007, 01:43 PM   #9
d00bid00b
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157

Rep: Reputation: 31
Quote:
Originally Posted by tehfatal
I hate that sudo garbage, ill take a root account anyway. sudo feels like your begging for trouble.
Hmmm ... at the risk of igniting a flame war, I'd say that you would be wiser using sudo. Just set it up using visudo, add the user's name under where it says root and then copy the rest of the root line into the user's line and save.
Then whenever you want to do anything that requires root permissions, even temporarily, you just type in sudo and command and type in your own passwd and you're off. Often, if there's a lot of work you need to do then sudo will remember your passwd and not ask you. It is ane extra layer of security and to use a root account as your main user a/c is not only a security risk, it is just plain foolish.
 
Old 04-03-2007, 02:28 PM   #10
tehfatal
Member
 
Registered: Mar 2007
Location: NJ
Distribution: Slackware 11, Fedora Core 6, Opensuse 10.2, CentOS 4.4
Posts: 31

Original Poster
Rep: Reputation: 15
yea i agree using root as a your main account is foolish. I typical will su into root do what i need to do and jump out. But i do agree sudo has its place, if i needed to create a new user, su'ing into root for that can be excessive. I personally disabled using root to login with ssh, so thats a layer of security in itself. But i also think sudo is optimal for someone new to linux and doesnt understand the trouble they can cause.

As for a flame war, i think the linux community is mature enough to understand that everyone has their own way they like to do things and go with the distro that fits that preference. Im not bashing people that use sudo, i just prefer using su for what i need.
 
Old 04-03-2007, 02:59 PM   #11
d00bid00b
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157

Rep: Reputation: 31
Quote:
Originally Posted by tehfatal
yea i agree using root as a your main account is foolish. I typical will su into root do what i need to do and jump out.
I used to do this on Slackware - but on Debian it is just so straightforward and is different from su'ing (?) in that sudo means that the user is restricted to that one command, whereas su is pretty open-ended. The knack would be to limit su explicitly, for example, su -c "make install" is a typical case in point.

sudo does that for one, so that it would be a case of sudo make install and the user installs using their own passwd. When one su's (??), the root passwd is exposed. If the system is compromised, any packet sniffer would pick this up and then the keys to the kingdom have been sacrificed.

Quote:
But i also think sudo is optimal for someone new to linux and doesnt understand the trouble they can cause.
Not sure if I understand this tehfatal. Are you saying that sudo is best for those who don't know what trouble su could cause or - shock, horror - use root as their user a/c?
If so, then I'd agree with you. I'd also suggest that good habits should die hard. God knows how many times I have been frantically banging away at the keys deep into the night in order to undo something that I thought was a good thing at the time using su!

Quote:
As for a flame war, i think the linux community is mature enough to understand that everyone has their own way they like to do things and go with the distro that fits that preference.
You'd think wouldn't you!

Quote:
Im not bashing people that use sudo, i just prefer using su for what i need.
Ditto - but reversed
 
Old 04-03-2007, 03:36 PM   #12
tehfatal
Member
 
Registered: Mar 2007
Location: NJ
Distribution: Slackware 11, Fedora Core 6, Opensuse 10.2, CentOS 4.4
Posts: 31

Original Poster
Rep: Reputation: 15
ha yea man, i deleted mysql.sock somehow trying to remove my mysql install, but reinstalling it didnt put a fresh one on my system, so thats my pain-in-the-ass experience using root.
 
Old 04-04-2007, 04:38 AM   #13
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Rep: Reputation: 30
Quote:
Originally Posted by tehfatal
As for a flame war, i think the linux community is mature enough to understand that everyone has their own way they like to do things and go with the distro that fits that preference. Im not bashing people that use sudo, i just prefer using su for what i need.
You're new around her arn't you
 
Old 04-04-2007, 10:31 AM   #14
Marel
Member
 
Registered: May 2005
Location: Serbia
Distribution: Debian, Ubuntu, Red Hat, Gentoo
Posts: 64

Rep: Reputation: 15
1. I think there is option of postgresql and apache during install. But it's not some problem to install it later.
2. AFAIK, Slack is very good for compiling and very rarely happen failures. But you will very rarely need this on Debian, since apt-get is very good and there are more binary packages than for Slack.
3. Get first 1-4 disks, depending on your internet connection and wm (KDE should be on CD2).
 
  


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
update Debian testing etch RC1 to etch stable cccc Debian 11 01-08-2007 10:02 PM
Dual boot Debian Etch and XP with GRUB - Debian installed First - one HDD bence8810 Debian 11 01-07-2007 10:45 AM
Debian Etch PowerPC Install Questions ComputerMan Debian 3 01-05-2007 03:39 PM
Complicated Sound Questions on Debian Etch KRiSX.cjb.net Debian 10 09-23-2006 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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