Web site construction - 622Part VRunning ServersYou must be able to access
622Part VRunning ServersYou must be able to access the server from clients, although you may only need todo so from clients within your network. In either case, you should read over theinformation about DNS and A records in the previous section. Common PackagesTwo software packages will be used by both system configurations. You ll installthese programs first so that they are (mostly) ready when the system is ready touse them. .SpamAssassin(http://spamassassin.apache.org/) is a spam filtering program written in Perl. It uses a large set of rules to help determine how spammy a message looks and assigns a score based on the total of the rulevalues. For performance reasons, SpamAssassin uses a background daemoncalled spamd to perform message analysis. Access to this daemon is per- formed through the spamc client. A spamassassincommand that performsthe analysis without using spamd is also installed but is not used by eitherofthe example configurations in this chapter. .ClamAV(http://www.clamav.net) is an open source virus scanner thatdetects more than 20,000 viruses, worms, and Trojans. It uses a virus patterndatabase to identify viruses and includes a program named freshclam thathandles updating the database automatically. Like SpamAssassin, ClamAVincludes a daemon (clamd), a client (clamdscan), and a second command-linetool that does not use the daemon (clamscan). The daemon is used in thesendmail setup but is not used by the Postfix setup for logistical reasons. You ll use APT to install these two programs, which are contained in the clamav andspamassassin packages: # apt-get install clamav spamassassinDebconf will ask you several questions about the configuration for ClamAV: .For the virus update method, select either Daemon or Cron. The former isbest for most situations. .Select the appropriate source for the virus database. The second part of theserver name is the country code, so U.S. residents will want to select db.us. clamav.net. .You may be prompted for HTTP proxy information. If you have a direct con- nection to the Internet, you probably don t need to enter anything here. Ifyou re uncertain, you can ask your network administrator or the technicalsupport at your ISP whether you need a proxy server to access Web pages. Now that the system is prepared, you can proceed to the section containing theconfiguration that you have selected.
From our experience, we can recommend PHP5 Web Hosting services, if you need affordable webhost to host and run your web application.