On Wed, Jun 29, 2011 at 09:31:30AM +0800, Tito Mari Francis Esca??o wrote: | Good day! | Is it possible to recompile the whole system while excluding the built-in | Apache 1.3 web server? I was hoping to save a few more megabytes off the | base installation of the system. In case it's not advisable, can you please | discuss the bad side effects of doing so?
To save a few megabytes more, I recommend not installing the source tree and doing a compile (which will build a lot of objects and consumes large amounts of diskspace). This offers more space savings than not building and installing apache ever will. If afterwards you still want more space, I recommend you read the manpage for 'rm' and use it as you deem suitable for your system. The source of Apache 1.3 in the tree is about 8.5M. The full installation is about 3.7M (on amd64), you've saved 4.8M by not installing the source of Apache. In fact, the full tree weighs in at ~872M (excluding xenocara), so you save almost 870 megabyte with my suggested solution -- those 3.7 megabytes are peanuts. Upside of this path is that it'll save you some time too. Leave the compiling in the capable hands of the developers until you're familiar enough with the system to not have to ask questions like you just did. If all the other replies in this thread have not yet deterred you from your path yet, I've included a simple copy and paste way of achieving what you seem to want to do. Cheers, Paul 'WEiRD' de Weerd rm /usr/lib/apache/modules/mod_mmap_static.so \ /usr/lib/apache/modules/mod_auth_digest.so \ /usr/lib/apache/modules/mod_define.so \ /usr/lib/apache/modules/libproxy.so \ /usr/lib/apache/modules/mod_vhost_alias.so \ /usr/lib/apache/modules/mod_log_agent.so \ /usr/lib/apache/modules/mod_info.so \ /usr/lib/apache/modules/mod_log_referer.so \ /usr/lib/apache/modules/mod_mime_magic.so \ /usr/lib/apache/modules/mod_speling.so \ /usr/lib/apache/modules/mod_rewrite.so \ /usr/lib/apache/modules/mod_auth_dbm.so \ /usr/lib/apache/modules/mod_auth_anon.so \ /usr/lib/apache/modules/mod_auth_db.so \ /usr/lib/apache/modules/mod_digest.so \ /usr/lib/apache/modules/mod_cern_meta.so \ /usr/lib/apache/modules/mod_usertrack.so \ /usr/lib/apache/modules/mod_unique_id.so \ /usr/lib/apache/modules/mod_expires.so \ /usr/lib/apache/modules/mod_headers.so \ /usr/sbin/httpd \ /usr/sbin/logresolve \ /usr/sbin/rotatelogs \ /usr/sbin/suexec \ /usr/sbin/apxs \ /usr/sbin/apachectl \ /usr/share/doc/html/httpd/vhosts/details.html \ /usr/share/doc/html/httpd/vhosts/examples.html \ /usr/share/doc/html/httpd/vhosts/fd-limits.html \ /usr/share/doc/html/httpd/vhosts/host.html \ /usr/share/doc/html/httpd/vhosts/index.html \ /usr/share/doc/html/httpd/vhosts/ip-based.html \ /usr/share/doc/html/httpd/vhosts/mass.html \ /usr/share/doc/html/httpd/vhosts/name-based.html \ /usr/share/doc/html/httpd/vhosts/vhosts-in-depth.html \ /usr/share/doc/html/httpd/vhosts/virtual-host.html \ /usr/share/doc/html/httpd/programs/ab.html \ /usr/share/doc/html/httpd/programs/apachectl.html \ /usr/share/doc/html/httpd/programs/apxs.html \ /usr/share/doc/html/httpd/programs/dbmmanage.html \ /usr/share/doc/html/httpd/programs/htdigest.html \ /usr/share/doc/html/httpd/programs/htpasswd.html \ /usr/share/doc/html/httpd/programs/httpd.html \ /usr/share/doc/html/httpd/programs/index.html \ /usr/share/doc/html/httpd/programs/logresolve.html \ /usr/share/doc/html/httpd/programs/other.html \ /usr/share/doc/html/httpd/programs/rotatelogs.html \ /usr/share/doc/html/httpd/programs/suexec.html \ /usr/share/doc/html/httpd/mod/core.html \ /usr/share/doc/html/httpd/mod/directive-dict.html \ /usr/share/doc/html/httpd/mod/directives.html \ /usr/share/doc/html/httpd/mod/index-bytype.html \ /usr/share/doc/html/httpd/mod/index.html \ /usr/share/doc/html/httpd/mod/mod_access.html \ /usr/share/doc/html/httpd/mod/mod_actions.html \ /usr/share/doc/html/httpd/mod/mod_alias.html \ /usr/share/doc/html/httpd/mod/mod_asis.html \ /usr/share/doc/html/httpd/mod/mod_auth.html \ /usr/share/doc/html/httpd/mod/mod_auth_anon.html \ /usr/share/doc/html/httpd/mod/mod_auth_db.html \ /usr/share/doc/html/httpd/mod/mod_auth_dbm.html \ /usr/share/doc/html/httpd/mod/mod_auth_digest.html \ /usr/share/doc/html/httpd/mod/mod_autoindex.html \ /usr/share/doc/html/httpd/mod/mod_cern_meta.html \ /usr/share/doc/html/httpd/mod/mod_cgi.html \ /usr/share/doc/html/httpd/mod/mod_define.html \ /usr/share/doc/html/httpd/mod/mod_digest.html \ /usr/share/doc/html/httpd/mod/mod_dir.html \ /usr/share/doc/html/httpd/mod/mod_env.html \ /usr/share/doc/html/httpd/mod/mod_expires.html \ /usr/share/doc/html/httpd/mod/mod_headers.html \ /usr/share/doc/html/httpd/mod/mod_imap.html \ /usr/share/doc/html/httpd/mod/mod_include.html \ /usr/share/doc/html/httpd/mod/mod_info.html \ /usr/share/doc/html/httpd/mod/mod_log_agent.html \ /usr/share/doc/html/httpd/mod/mod_log_common.html \ /usr/share/doc/html/httpd/mod/mod_log_config.html \ /usr/share/doc/html/httpd/mod/mod_log_referer.html \ /usr/share/doc/html/httpd/mod/mod_mime.html \ /usr/share/doc/html/httpd/mod/mod_mime_magic.html \ /usr/share/doc/html/httpd/mod/mod_mmap_static.html \ /usr/share/doc/html/httpd/mod/mod_negotiation.html \ /usr/share/doc/html/httpd/mod/mod_proxy.html \ /usr/share/doc/html/httpd/mod/mod_rewrite.html \ /usr/share/doc/html/httpd/mod/mod_setenvif.html \ /usr/share/doc/html/httpd/mod/mod_so.html \ /usr/share/doc/html/httpd/mod/mod_speling.html \ /usr/share/doc/html/httpd/mod/mod_status.html \ /usr/share/doc/html/httpd/mod/mod_unique_id.html \ /usr/share/doc/html/httpd/mod/mod_userdir.html \ /usr/share/doc/html/httpd/mod/mod_usertrack.html \ /usr/share/doc/html/httpd/mod/mod_vhost_alias.html \ /usr/share/doc/html/httpd/mod/module-dict.html \ /usr/share/doc/html/httpd/misc/API.html \ /usr/share/doc/html/httpd/misc/FAQ.html \ /usr/share/doc/html/httpd/misc/custom_errordocs.html \ /usr/share/doc/html/httpd/misc/descriptors.html \ /usr/share/doc/html/httpd/misc/fin_wait_2.html \ /usr/share/doc/html/httpd/misc/howto.html \ /usr/share/doc/html/httpd/misc/index.html \ /usr/share/doc/html/httpd/misc/known_client_problems.html \ /usr/share/doc/html/httpd/misc/perf-bsd44.html \ /usr/share/doc/html/httpd/misc/perf-tuning.html \ /usr/share/doc/html/httpd/misc/perf.html \ /usr/share/doc/html/httpd/misc/rewriteguide.html \ /usr/share/doc/html/httpd/misc/security_tips.html \ /usr/share/doc/html/httpd/misc/tutorials.html \ /usr/share/doc/html/httpd/images/apache_header.gif \ /usr/share/doc/html/httpd/images/apache_pb.gif \ /usr/share/doc/html/httpd/images/custom_errordocs.gif \ /usr/share/doc/html/httpd/images/feather.jpg \ /usr/share/doc/html/httpd/images/home.gif \ /usr/share/doc/html/httpd/images/index.gif \ /usr/share/doc/html/httpd/images/mod_rewrite_fig1.fig \ /usr/share/doc/html/httpd/images/mod_rewrite_fig1.gif \ /usr/share/doc/html/httpd/images/mod_rewrite_fig2.fig \ /usr/share/doc/html/httpd/images/mod_rewrite_fig2.gif \ /usr/share/doc/html/httpd/images/mod_ssl_sb.gif \ /usr/share/doc/html/httpd/images/openssl_ics.gif \ /usr/share/doc/html/httpd/images/pixel.gif \ /usr/share/doc/html/httpd/images/sub.gif \ /usr/share/doc/html/httpd/howto/auth.html \ /usr/share/doc/html/httpd/howto/htaccess.html \ /usr/share/doc/html/httpd/howto/cgi.html \ /usr/share/doc/html/httpd/howto/ssi.html \ /usr/share/doc/html/httpd/FAQ.html \ /usr/share/doc/html/httpd/LICENSE \ /usr/share/doc/html/httpd/bind.html \ /usr/share/doc/html/httpd/configuring.html \ /usr/share/doc/html/httpd/content-negotiation.html \ /usr/share/doc/html/httpd/custom-error.html \ /usr/share/doc/html/httpd/dns-caveats.html \ /usr/share/doc/html/httpd/dso.html \ /usr/share/doc/html/httpd/env.html \ /usr/share/doc/html/httpd/handler.html \ /usr/share/doc/html/httpd/index.html \ /usr/share/doc/html/httpd/invoking.html \ /usr/share/doc/html/httpd/ipv6.html \ /usr/share/doc/html/httpd/keepalive.html \ /usr/share/doc/html/httpd/location.html \ /usr/share/doc/html/httpd/logs.html \ /usr/share/doc/html/httpd/multilogs.html \ /usr/share/doc/html/httpd/process-model.html \ /usr/share/doc/html/httpd/sections.html \ /usr/share/doc/html/httpd/server-wide.html \ /usr/share/doc/html/httpd/sitemap.html \ /usr/share/doc/html/httpd/stopping.html \ /usr/share/doc/html/httpd/suexec.html \ /usr/share/doc/html/httpd/urlmapping.html \ /usr/share/man/cat1/htpasswd.0 \ /usr/share/man/cat1/htdigest.0 \ /usr/share/man/cat1/dbmmanage.0 \ /usr/share/man/cat8/suexec.0 \ /usr/share/man/cat8/apxs.0 \ /usr/share/man/cat8/rotatelogs.0 \ /usr/share/man/cat8/httpd.0 \ /usr/share/man/cat8/logresolve.0 \ /usr/bin/htdigest \ /usr/bin/htpasswd \ /usr/bin/dbmmanage -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/