LinuxQuestions.org
Visit Jeremy's Blog.
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 10-01-2009, 11:45 AM   #1
ankushpandit
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 0
Smile need guidelines for determining required services.


Hi LinuxQuestions,

This is my second post. I found the earlier one really useful and I have to Thank LinuxQuestion.org for that.

I am here with a new question. I am using CentOS 5.2. The idea is to run a java written server on it. The hardware is headless server. I have installed it in a way that it has got no GUI. So all operations have to be taken care by the tty's. I need to chop off the un-required services and files to make the OS as small as possible. So, I needed guidelines as to how to search for them and if found how can I remove it with its dependencies without harming those essentials services for the java server to run.

Where should I start finding and how to safely remove unwanted services?

Kindly share your idea.

Ankush Pandit.
 
Old 10-01-2009, 01:17 PM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
hope this helps:

http://anchorite.org/blog/2006/11/13...44-mini-howto/
 
Old 10-01-2009, 07:25 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
You can use

ntsysv

this is a curses based interface ie a crude graphical interface that does not require X11.
Lists all the services and you can turn them on off.

1. make a list of all services currently 'on' and research them
2. remove services one at a time and see if anything breaks (I'd leave ntp on)

Alternately, use chkconfig, a purely text based interface.

Last edited by chrism01; 10-01-2009 at 07:26 PM.
 
  


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
Where slackware12.2 required files just for Network Services? NightSky Slackware 1 09-02-2009 04:27 PM
[B]Netware Directory Services Calls Library required for Linux/Solaris[/B] ravisankar_vulimiri Linux - Newbie 0 07-25-2008 03:23 PM
Running services without root user required to bind to ports helptonewbie Linux - Networking 4 02-20-2008 01:11 PM
Posting guidelines... Answering guidelines? itsjustme LQ Suggestions & Feedback 14 07-22-2005 02:08 PM
SLOC guidelines liguorir Programming 0 06-01-2004 09:01 PM

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

All times are GMT -5. The time now is 08:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration