Do you rip apart new Linux installs and put them back together?
This is my procedure for setting up a RedHat/CentOS Linux box:- netstat -nlp
- Find lots of junk listening on various ports. Disable them (in /etc/xinetd.d and /etc/rc.d/init.d) all except SSH.
- Uninstall Apache. Theirs has mod_perl/php compiled in; I prefer using Apache as a lightweight front-end.
- Uninstall MySQL. Theirs is 3.x; I use 4.x for the improved FULLTEXT search.
- Uninstall sendmail; I use qmail instead.
- Uninstall named; I use djbdns instead.
And some more stuff like installing various Perl modules, mutt, etc.
Does anyone else find themselves doing alot of stuff like this? It feels a little weird to me that the standard distribution is so different from what I use.
---
Arcane stuff I've typed today:
rpm -e httpd-2.0.46-46.ent.centos.1 mod_perl-1.99_09-10.ent mod_python-3.0.3-5.ent mod_ssl-2.0.46-46.ent.centos.1 php-4.3.2-23.ent mod_authz_ldap-0.22-5 webalizer-2.01_10-15.ent mailman-2.1.5-25.rhel3 mod_ssl-2.0.46-46.ent.centos.1 redhat-config-httpd-1.1.0-4.30.2 squirrelmail-1.4.3a-9.EL3.centos.1
rpm -e mysql-3.23.58-16.RHEL3.1 perl-DBD-MySQL-2.1021-3 libdbi-dbd-mysql-0.6.5-5 mysql-server-3.23.58-16.RHEL3.1 MySQL-python-0.9.1-6 MyODBC-2.50.39-12.1 mysql-devel-3.23.58-16.RHEL3.1 MySQL-python-0.9.1-6
rpm -e mdadm-1.5.0-9 fetchmail-6.2.0-3 mutt-1.4.1-3.4; rpm -e sendmail-8.12.11-4.RHEL3.1 --nodeps
rpm -e bind-9.2.4-7_EL3 redhat-config-bind-2.0.0-14.2.centos.0 caching-nameserver-7.3-3_EL3 caching-nameserver-7.3-3_EL3
EAPI_MM=../mm-1.4.0 SSLBASE=SYSTEM ./configure --enable-rule=EAPI --prefix=/usr/local/apache --disable-rule=EXPAT --enable-module=most --enable-module=rewrite --activate-module=src/modules/accel/libaccel.a --activate-module=src/modules/extra/mod_deflate.o
perl Makefile.PL APACHE_PREFIX=/usr/local/perlhttpd APACHE_SRC=../apache_1.3.33_perl/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACI_ARGS='--prefix=/usr/local/perlhttpd --enable-module=most --enable-shared=max --disable-shared=perl'