Hosting services on Alpine: Difference between revisions

From Alpine Linux
m (→‎Web: Added Nginx web server)
(Fixed broken links etc)
Line 5: Line 5:
== Preparing Alpine ==
== Preparing Alpine ==
First you need to get alpine up and running.<BR>
First you need to get alpine up and running.<BR>
Follow the [[Installing_Alpine]] instructions on how to get your Alpine booted.
Follow the [[Installation]] instructions on how to get your Alpine booted.


If nothing else is mentioned in the below instructions, you should use the latest stable release:{{downloads|alpine}}
If nothing else is mentioned in the below instructions, you should use the latest stable release:{{downloads|alpine}}
Line 13: Line 13:
But if you intend to run multiple services on same box (e.g. mail and webhosting) it might be wise to run the various services in separate vserver-guests.
But if you intend to run multiple services on same box (e.g. mail and webhosting) it might be wise to run the various services in separate vserver-guests.


* [[Setting_up_a_basic_vserver]] | ''Basic information on how to set up vserver hosts/guests''
* [[Setting up a basic vserver]] | ''Basic information on how to set up vserver hosts/guests''


== Mail ==
== Mail ==
Line 22: Line 22:
=== Receive mail ===
=== Receive mail ===


* [[Setting_up_postfix_with_virtual_domains]] | ''Postfix can be configured in multiple ways - Here we do it with virtual domains''
* [[Setting up postfix with virtual domains]] | ''Postfix can be configured in multiple ways - Here we do it with virtual domains''


=== Processing mail - Virus protection ===
=== Processing mail - Virus protection ===


* [[Setting_up_clamav_for_postfix]] | ''Referrers to [[Setting_up_postfix_with_virtual_domains]] instructions''
* [[Protecting_your_email_server_with_Alpine#Setting_up_the_Virus_scanner|Setting up ClamAV for Postfix]] | ''Referrers to [[Setting_up_postfix_with_virtual_domains]] instructions''


=== Processing mail - Spam protection ===
=== Processing mail - Spam protection ===


* [[Setting_up_gross_for_postfix]] | ''Referrers to [[Setting_up_postfix_with_virtual_domains]] instructions''
* [[Protecting_your_email_server_with_Alpine#Setting_up_the_Greylisting_Server|Setting up Gross for Postfix]] | ''Referrers to [[Setting_up_postfix_with_virtual_domains]] instructions''
* [[Setting_up_clamsmtp]] | ''Use ClamSMTP to provide advanced content and virus filtering for spam''
* [[Protecting_your_email_server_with_Alpine#Setting_up_the_SMTP_filter|Setting up ClamSMTP]] | ''Use ClamSMTP to provide advanced content and virus filtering for spam''
* http://www.sanesecurity.co.uk/ | ''Another good way of catching SPAM is Sanesecurity and MSRBL definitions''
* [[Protecting_your_email_server_with_Alpine#Setting_up_SaneSecurity_.26_MSRBL_extra_definitions|Setting up SaneSecurity & MSRBL extra definitions]] | ''Another good way of catching SPAM is Sanesecurity and MSRBL definitions''


=== Delivering mail to the user ===
=== Delivering mail to the user ===


* [[Setting_up_dovecot_with_imap_and_ssl]] | ''Secure way to fetch you mail from the mailer daemon''
* [[Setting up dovecot with imap and ssl]] | ''Secure way to fetch you mail from the mailer daemon''
* [[Setting_up_dovecot_with_imap_and_tls]] | ''Secure way to fetch you mail from the mailer daemon''
* [[Setting up dovecot with imap and tls]] | ''Secure way to fetch you mail from the mailer daemon''


=== Other Mail-related documents ===
=== Other Mail-related documents ===


* [[Hosting_Web/Email_services_on_Alpine]] | ''Describes multiple services on same document''
* [[Hosting Web/Email services on Alpine]] | ''Describes multiple services on same document''
* [[Protecting_your_email_server_with_Alpine]] | ''Describes multiple services on same document''
* [[Protecting your email server with Alpine]] | ''Describes multiple services on same document''


== Web ==
== Web ==


* [[Setting_up_trac_wiki]] | ''A ticket/wiki system''
* [[Setting up trac wiki]] | ''A ticket/wiki system''
* [[Lighttpd]] | ''Lighttpd web server''
* [[Lighttpd]] | ''Lighttpd web server''
* [[Cherokee]] | ''Cherokee web server''
* [[Cherokee]] | ''Cherokee web server''
Line 55: Line 55:
== SSH ==
== SSH ==


* [[Setting_up_a_ssh-server]] | ''OpenSSH and Dropbear SSH servers''
* [[Setting up a ssh-server]] | ''OpenSSH and Dropbear SSH servers''


== DNS ==
== DNS ==


* [[Setting_up_unbound_DNS_server]] | ''A validating, recursive, and caching DNS resolver that supports DNSSEC''
* [[Setting up unbound DNS server]] | ''A validating, recursive, and caching DNS resolver that supports DNSSEC''
* [[Setting_up_nsd_DNS_server]] | ''An authoritative-only DNS server''
* [[Setting up nsd DNS server]] | ''An authoritative-only DNS server''


== Proxy ==
== Proxy ==

Revision as of 17:57, 4 December 2017

Introduction

Alpine is well suited for hosting email-, web- or other network-related services.
Your biggest task is to figure out what you want your system to do.

Preparing Alpine

First you need to get alpine up and running.
Follow the Installation instructions on how to get your Alpine booted.

If nothing else is mentioned in the below instructions, you should use the latest stable release:

Download Stable Version
Alpine 3.20.3

VServer or not

VServer itself has nothing to do with the various services.
But if you intend to run multiple services on same box (e.g. mail and webhosting) it might be wise to run the various services in separate vserver-guests.

Mail

We split the 'Mail' section into various tasks.
One task is to gather and process mail. Some other task would be to prevent spam and virus etc.
Finally we need to make sure the user can fetch/read his mail.

Receive mail

Processing mail - Virus protection

Processing mail - Spam protection

Delivering mail to the user

Other Mail-related documents

Web

SSH

DNS

Proxy

Also see

You'll probably also want to look at Tutorials and Howtos