CentOS Server - Should I uninstall extra/unneeded software
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've installed CentOS 5.0 as a Server configuration - well I still have to configure it but that is the setup that I selected during the install.
Should I uninstall the extra software that seems to have installed (ie. GIMP, OpenOffice, etc)
It probably depends on what you intend to do with it, but I personally don't think you need OO.o or The GIMP for a server. You can go barebones and later choose to add stuff as it becomes necessary along the way.
It probably depends on what you intend to do with it, but I personally don't think you need OO.o or The GIMP for a server. You can go barebones and later choose to add stuff as it becomes necessary along the way.
Thats what I was thinking... Can you please let me know how I go about uninstalling all that stuff off the system? Or should I re-install CentOS and somehow un-selected it from installing if the first place?
Thats what I was thinking... Can you please let me know how I go about uninstalling all that stuff off the system? Or should I re-install CentOS and somehow un-selected it from installing if the first place?
Like reddazz says, you can use the yum command to remove unnecessary software. The command should look like this:
Code:
# yum remove <package_name>
It can be tedious to figure out exactly which packages you need to remove. Easier examples are "openoffice.org" for OpenOffice.org and "gimp" for The GIMP, but there are other, less intuitive names.
You may want to use the GUI frontend ("Add/Remove Software") instead. It may make it easier for you to select packages to remove.
reddazz, I don't think there's a server CD out for CentOS 5 yet (at least I couldn't find it)
You are right, but I am sure there will be one soon. Personally I use the DVD to install, but initially deselect all packages that had been marked for install by anaconda and then pick and choose only the server packages I need.
I've installed CentOS 5.0 as a Server configuration - well I still have to configure it but that is the setup that I selected during the install.
Should I uninstall the extra software that seems to have installed (ie. GIMP, OpenOffice, etc)
I don't think I need this stuff installed on the server box do I?
also keep in mind that even though this is linux and there are not many viruses or other malware to affect it, there are still plenty of security holes that need monitoring and patching. the more "extra" software you have installed on a server (this includes a GUI) the more code that needs monitoring, patching, and security. this increases your time to manage the system plus decreases the overall performance of the server.
install with a bare bones system, then use YUM to install ONLY what you need running on your server and nothing more. if at some time in the future you are in need of an added service or software package, yum will add it for you.
So, just to be clear, is the concensus that I should uninstall and then re-install a bare bones system? I need the GUI only until I learn more with the shell. But for now I need the GUI. Is GNome or KDE more secure? And also, if I should do the re-install... Can someone please tell me what software packages to include for the following purposes.
1. File & printer server
2. Web server - both on the LAN and Internet - I would like it to be SSL
The web server will mainly be serving a proprietary client database program
(CRM), so I need to make sureit is secure.
3. I would like to have VPN support for the CRM - preferrably, that is the only way
I want to have access from the internet.
3. Asterisk - Phone system program - will also have a RJ45 PCI card to control the phone lines.
I know I have listed this items previously, but if someone can tell me EXACTLY what the minimum is that I have to install (within the CentOS install), I would appreciate it. I think Samba for the file & print server but not sure about the rest.
Try removing the extras. If you plan to reinstall anyway, what can it hurt? Besides, it’s a good learning exercise.
In the Redhat-style distros, it can be hard to cleanly/minimally remove components with yum because of dependencies. Seems like when you want it to remove some trivial package that it wants to remove Gnome, xorg and other seemingly unrelated packages. Often, you can cleanly cut out a package using rpm with many fewer dependencies.
As for what to reinstall, you can deselect options at install time or install a bare minimum system and add what you need using “yum install” or “yum groupinstall”. Many prefer the later approach. Of course, when you are starting out, having too much installed can make life simpler.
1. File & printer server
2. Web server - both on the LAN and Internet - I would like it to be SSL
The web server will mainly be serving a proprietary client database program
(CRM), so I need to make sureit is secure.
3. I would like to have VPN support for the CRM - preferrably, that is the only way
I want to have access from the internet.
3. Asterisk - Phone system program - will also have a RJ45 PCI card to control the phone lines.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.