CentOS 5 :: Remove Packages To Make Minimal System?

Apr 2, 2009

Continuing on my quest to build a system with sole purpose of being a LAMP server, I am trying to have the bare minimum number of packages installed. I'm not trying to disable as many deamons as possible, but actually remove any package that is not required. It might sound a bit extreme but each package that is installed that is not needed is using valuable space on the expensive (and small) 36GB 15krpm SAS disk.

Also it is a damage control approach, in that assuming a cracker finds an exploit in Apache or PHP that allows them to run executables on the filesystem then taking away as many tools as possible will help in damage limitation. For example I don't want an SSH client installed on the system as it has no purpose for me but could be used by a cracker to access other systems on the network, if they compromise that system.

I have installed the absolute minimum from the 5.3 install by deselecting everything during install but that still leaves a great deal of unnecessary packages installed. Seeing as how the system is a 64bit installation and will have no 32bit apps running on it I have first uninstalled all the i386 versions of various libraries. I presume their only function is to provide compatibility for 32bit apps.

I have been looking for information about removing other packages but I don't seem to be able to find information on real dependancies. For example I believe I have no need for dmraid as it is for managing software RAID arrays that I have no intention using. but if I attempt to remove it the dependancies include kernel and mkinitrd. What I can't figure out though is if these are hard dependancies in that those packages will fail to work or soft ones that simply mean without dmraid it will not be possible to configure the software raid module that is loaded into the kernel.

What packages would people recommend to remove, anyone seen a good guide to reducing down CentOS/RHEL to the absolute minimum ? python-elementtree-1.2.6 : Is this really required by YUM ? m2crypto-0.16 x86_64 : Is this really used by YUM, I didn't think YUM connected via SSL ?

View 3 Replies


Slackware :: What Packages Can Remove For Minimal - Fluxbox&Firefox

Jul 28, 2011

Here is what I have gotten my install down to with these packages:[url]

Just looking for suggestions on what packages I can still remove that are unnecessary for having firefox, fluxbox, pcmanfm, lxterminal, etc

And, I keep getting the error that the locale is not set, reverting to C? but I did set locale or thought I did, how to fix that?

View 1 Replies View Related

CentOS 5 :: Packages To Need For A Minimal Install?

Jan 15, 2010

I basically just want to be able to run XFree86 on one of my clients and have networking support. Does anyone know what packages I need to add in my ks.cfg to meet this requirement?

View 4 Replies View Related

CentOS 5 :: Can I Remove 32 Bit Packages

Apr 14, 2010

If I do a fresh 'netinst' of CentOS 5.4 x64 on a server, what is the correct way to verify that no 32-bit packages were installed or mixed in with x64? Also can someone tell me if it is safe to remove those 32-bit RPM packages?
I searched the Wiki for 'Post Install Tips' and could not find anything there or on Google.

View 6 Replies View Related

Debian :: How To Remove Packages From Unresponsive System

Apr 23, 2015

Since I'm running Sid. Let's assume package foo has been upgraded via apt-get dist-upgrade, and it causes a serious bug so that Sid is never able to fully start up, and is not even able to get me to the console to remove the package.

(Reword: let's assume that I upgraded the system despite apt-listbug warning me that foo had serious issues.)

Is it possible for me to remove the package and get back in? Everything I've seen online assumes that I could at least access console--but this hypothetical bug doesn't allow that.

If it were in Arch, I would just boot from the live dist, arch-chroot into the / directory, and try to remove foo via pacman. But Debian doesn't offer a live disk past Stable, so I suspect that this wouldn't work with a Wheezy disk?

Am I asking for an impossible situation, or can a troublesome package be removed from an unresponsive Sid?

View 7 Replies View Related

CentOS 5 :: Yum Hang On 5.4 After Manually Remove / Add Packages With Force?

Nov 6, 2009

for a x problem I reinstall the complete x packages. I remove some packages with force.Before this yum works perfect. Exact at this time we have problem with our internet connections and yum hangs somewhere when yum load the repositories and or start the update process.Now yum hangs at start from the command. I can start yum some times and no locking error is rise.strace brings:

stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=79855616, ...}) = 0
open("/var/lib/rpm/Packages", O_RDONLY) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0


View 3 Replies View Related

CentOS 5 :: Is It Safe To Run Command To Remove All I386 Packages

Apr 21, 2011

I have a centos server x86_64 arch installed - i am getting some issues where i want to update rpms but because there is a equivliant i386 package installed i get dependency errors.Is it safe to run this command to remove all i386 packages - will my system still boot after this yum remove *.i?86

View 1 Replies View Related

Fedora :: Remove The Sudo Command Software Packages Without Damaging My System?

Apr 2, 2010

Remove the sudo command software packages without damaging my system?

View 9 Replies View Related

Fedora Installation :: Select Packages For Minimal Install?

Apr 5, 2010

I'm new to Fedora (not linux) and I was wondering how I would go about doing a minimal install of fedora 12. I downloaded the live disc but it doesn't give me installation options (I'm new to minimal installs so I don't know that much). I also searched all over looking for a fedora minimal install iso, something similar to the ubuntu minimal install iso that is only 12mb.

View 14 Replies View Related

Fedora :: Install Packages From The 14 Dvd Instead Of Downloading From Internet Using Add / Remove Packages

Mar 31, 2011

im using fedora 14 and i have a slow internet connection. i want 2 install some packages from the fedora 14 dvd instead of downloading from internet using add/remove packages. i tried to edit /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo but it dint work.

View 2 Replies View Related

General :: Installation Of Packages / Using X Windows Menu Add / Remove Packages

Sep 21, 2010

How to add packages using X-Window's add/remove packages option in RHEL-5.3 as it shows only the currently installed package and and does not show any thing when we click the button "available packages" ?

View 2 Replies View Related

CentOS 5 :: Remove Applications Without Harming System?

Dec 17, 2009

I'm using x86_64 CentOS 5.4. There are some 32bit applications on my system. Does these applications work on 64bit platform. If not, how can I remove these applications without harming my system.

View 1 Replies View Related

CentOS 5 :: Install Absolutely Minimal Gnome On Centos 5.5?

Apr 28, 2011

How to install absolutely minimal Gnome without gnome-games, any cdrecord, dvd rw-tools, dialup modem tools, gnome-screensaver, festival etc. on Centos 5.5? If I try to remove these software separately then Gnome is gone.

View 2 Replies View Related

CentOS 5 :: Remove Watch For File System Object At Path

Nov 5, 2010

Per the man page, to remove a watch, do the following: -W path.Remove a watch for the file system object at path.

View 3 Replies View Related

CentOS 5 Server :: Way To Have CentOS Installation Very Minimal?

Sep 25, 2010

There is a way to have a CentOS installation very very minimal?Not like Damn Small Linux, but similar (as footprint)My need is create some Virtual Machine that only have BIND and SSH on it.

View 2 Replies View Related

Debian Installation :: Minimal With Gnome On USB Memory Stick And Make It Bootable?

Jan 8, 2011

I'm looking for a good tutorial to install minimal Debian with Gnome on USB Memory stick and make it bootable.

View 9 Replies View Related

Ubuntu Servers :: Create A New Server Package And Leave Minimal Minimal?

Feb 17, 2010

After a long time I tried ubuntu(9.10) again on my fileserver, I have some remarks; why does a minimal server installation include X/openoffice? I don't need document conversion on a fileserver and I bet a lot of people don't. Wouldn't it be better to create a new server package and leave minimal minimal? low memory installs (64mb) don't work unless you configure swap by hand in between things, 64mb ram is a lot in my eyes. I mean, not to be rude but if I wanted all this I could've better installed Solaris.

That said it's stable and running fine. Since it's my home fileserver I tried to convert my previously created raid10 mirror on an adaptec 1200 card to a softraid 5 solution. This is wat I did:


View 6 Replies View Related

CentOS 5 :: Getting Down To A Minimal Install?

Apr 12, 2010

I use CentOS as a host for VMWare virtual machines. I like the CentOS install to be as minimal as possible. However, if I try to remove stuff I don't want at the install stage, the install invariably crashes. So I just accept the defaults, and it works fine.

So I would like to know the best way to get rid all the stuff I don't want (which is pretty well everything except Gnome, vi, samba and an email reader).

View 8 Replies View Related

CentOS 5 :: Install A 5.x Centos Minimal Box?

Oct 22, 2009

There is a way to install a 5.x centos minimal Box? Only sshd required.

View 2 Replies View Related

General :: Install System With Minimal 250 MB Space?

Jan 6, 2010

I want to install CentOS with only 250 MB Space.How can I do that?
What package can I select?I have been challenged by Manager to wants me to restrict < 250 MB for just OS installation.

View 8 Replies View Related

Ubuntu :: Remove Login At Start / What To Remove To Make It Go Away?

Jun 21, 2010

I am the only user on my laptop so there are somethings that I don't need.I would like to remove the login at start. What do I remove to make it go away? Second one is Keyring. Is it necessary? Can I remove it without causing problems?

View 8 Replies View Related

Ubuntu :: Apt/dpkg: Segregate User Application Packages From System Packages?

Dec 2, 2010

Is there a way using dpkg or apt-get to segregate user application packages from system packages? What I envision is an /apps directory structure that can be the install target for selected packages so not to "clutter" the storage areas for the system administration files/packages - maybe even with permissions set so that (a GROUP of) users could install packages on an Ubuntu server w/o SysAdmin guidance. This could also allow 1)system upgrades with or w/o including these packages, and 2)the sharing of /apps (via NFS) among common Ubuntu systems. Is this doable using the dpkg or apt maintenance tools?

View 2 Replies View Related

Software :: RHGB On CentOS Minimal (Console)?

May 6, 2011

I have installed a CentOS server with no GUI. I am trying to get RHGB work on startup. I did:
yum install rhgb

It installed rhgb and vte. I added 'rhgb' to the line in my /boot/grub/menu.lst :
title CentOS (2.6.18-238.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-238.el5 ro root=LABEL=/ quiet rhgb
initrd /boot/initrd-2.6.18-238.el5.img

View 4 Replies View Related

CentOS 5 :: Minimal Package List For Asterisk?

Jan 7, 2010

We would like to install Asterisk with a minimal centos build. We are writing kick-starts to install packages, does anyone know or have to hand a packages list which installs minimum system requirements for asterisk? Preferably this will not exceed the contents of disk 1

View 4 Replies View Related

CentOS 5 :: Minimal Installation To Run SOGO And Some Extras?

Jan 20, 2010

I thinking about running SOGO on a separate server. The server should be in a Raid1 configuration and running backups to another server. Firewall??My background is the Windows world and I'm having difficulties understanding exactly what to do, to get everything up and runningTried bits and pieces from the Perfect Server Guide ( Reading the documentation and forums. But I didn't get the big picture.

-A Centos server up and running with all the software that SOGO needs installed, configured and running


View 1 Replies View Related

CentOS 5 :: Minimal 5.5 X86_64 Install To Run OpenVZ

Jan 27, 2011

Looking at the various OS image download options, I see that I need to download/burn 8 ISO images for CentOS5.5 x86_64. Trying to see if it is at-all possible to avoid downloading/burning all 8 CD's, and make-do with the 1st one alone. My target platform is a commodity desktop running AMD AthlonII X2 250, with dual-channel 4GB DDR3 @1333MHz, and 500GB 7200rpm SATA (no RAID, SW or HW).

I read in another forum post that for minimal install without X, the 1st CD should suffice. Is this correct ? While I do not expect this forum to answer OpenVZ questions, but if someone happens to have experience in installing OpenVZ on such a system, how much extra I might have to download online, to get the system functional.

The guestOS in the OpenVZ partitions would be a mix of CentOS5.5 64-bit and 32-bit, and few running Ubuntu 10.04.1 32-bit. I am told that this is possible. Effectively it means I'd need the (pseudo?) 32-bit library support.

View 2 Replies View Related

Debian Installation :: Minimal System With Small Window Manager

May 15, 2010

I have installed the debian lenny base system in my old pc. I want only a minimal system with a small window manager like icewm and firefox to surf the web. What I need to write now in text mode to install this minimal system?

View 9 Replies View Related

CentOS 5 Server :: Ready To Use Kickstart Template For Minimal Installation (KVM)?

Feb 13, 2010

Does anyone have a ready to deploy kickstart file for creating KVM images? I don't have access to a CentOS machine or a spare computer and would need to create images for a machine on the other side of the Atlantic.I would need something that would create an absolute minimal CentOS installation. I tried to search for something online, but couldn't find anything.

View 1 Replies View Related

CentOS 5 :: Remove A User From The System Using The Domain Userdel Guest Error "mailbox File Already Exists"

Jan 6, 2010

when a remove a user from the system using the domain userdel guest the user gets removed but the /home/guest doesn't get removed so i remove it by command rm -rf /home/guest then i recreate the user by giving in the command useradd guest now it gives the error mailbox file already exists what does it mean when it says so though this command creates the user.

View 3 Replies View Related

Fedora :: Why Does Yum Remove So Many Packages

Feb 16, 2009

Why does yum remove so many packages, that are essential for my work, when I'm trying only to remove mysql ?

View 14 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved