LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 01-09-2008, 04:36 PM   #1
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
working with ubuntu server


hello hello. Nearly all of my linux experience has been with Redhat/Fedora/CentOS. Recently I setup a new soho server with Ubuntu Server LTS. I find myself already missing some of the useful redhat features like
chkconfig, or the ability to type service "service-name" restart. /etc/init.d/"service-name" restart just seems like such a pain once you've become accustomed to the redhat way of doing things.

I was wondering if Ubuntu (err Debian) based server distros have any cool tricks or functions that make them unique or a little easier to use/administer. For example, without chkconfig --list, how can I figure out what services are enabled on start up? How do I go about enabling and disabling start up services?

Keep in mind that I don't have a gui installed so I'm looking for some useful command line tools here.

Thanks!
 
Old 01-09-2008, 05:19 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
For services, I like sysv-rc-conf. The default interface is pretty simple, but there is more power hidden.

The biggest advantage for me of debian based has always been the package management. Granted, I don't do anything fancy and can stick with pure Debian Stable branch for my needs... But I've had seemless dist-upgrades on the server from Debian 3.0 to 3.1 to 4.0 with almost no hassle (my desktop had a few things I had to rework).

dpkg-reconfigure is a powerful command also for reconfiguring installed packages. Mostly I use it on my desktop for fixing X.

And how can I forget module-assistant!

Here's a debian cheat sheet. Most of these features should also be in Ubuntu.

Last edited by pljvaldez; 01-09-2008 at 05:23 PM.
 
Old 01-09-2008, 05:29 PM   #3
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Original Poster
Rep: Reputation: 30
Very nice! I noticed that sysv-rc-conf wasn't installed by default but I quickly added it with apt-get. That's going to be a huge help because as I've already mentioned, I don't really like messing directly with the init scripts. :P

Thanks for your help - I'm def going to check out the cheat sheet you provided.

Cheers!
 
Old 01-09-2008, 05:36 PM   #4
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Just one more note, in Debian at least, aptitude is the preferred package management tool nowadays since it has superior dependency conflict handling. You can use it from the command line same as apt-get. Just do aptitude install instead. There's a couple of minor differences in the options. Aptitude also has an ncurses type text interface, but I've never really gotten the hang of it...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ubuntu Feisty - Sound was working, but mysteriously stops working after reboot. woodsy934 Linux - Software 7 07-04-2011 07:39 PM
LXer: Installing Xen On An Ubuntu 7.10 (Gutsy Gibbon) Server From The Ubuntu Reposito LXer Syndicated Linux News 0 11-06-2007 09:50 PM
Ubuntu, Squid Transparent Proxy server is not working pocs Linux - Networking 6 10-31-2007 11:42 AM
Keys not working in Ubuntu server Dilleyboy Linux - Hardware 1 04-27-2007 09:32 AM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
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