Tutorials and Howtos: Difference between revisions

From Alpine Linux
(Remove Misc)
(add Simple Walkthrough links)
 
(120 intermediate revisions by 31 users not shown)
Line 1: Line 1:
{{Todo|This material needs to be re-organized .. as '''Howtos are smaller articles''' and '''tutorials are more detailed document''' both need to be reordered as independent sections }}
[[Image:package_edutainment.svg|right|link=]]
[[Image:package_edutainment.svg|right|link=]]
{{TOC left}}
{{TOC left}}
'''Welcome to Tutorials and Howtos, a place of basic and advanced configuration tasks for your Alpine Linux.'''
'''Welcome to Tutorials and Howtos, a place of basic and advanced configuration tasks for your Alpine Linux.'''


'''The tutorials are hands-on''' and the reader is expected to try and achieve the goals described in each step, possibly with the help of a good example. The output in one step is the starting point for the following step.
'''Howtos are smaller articles''' explaining how to perform a particular task with Alpine Linux, that expects a minimal knowledge from reader to perform actions. Howto's have been organized in the below page based on the topics. 
 
'''The [[#Tutorials|tutorials]] are hands-on''' and the reader is expected to try and achieve the goals described in each step, possibly with the help of a good example. The output in one step is the starting point for the following step.


'''Howtos are smaller articles''' explaining how to perform a particular task with Alpine Linux, that expects a minimal knowledge from reader to perform actions.
{{Note|
* Contributors are requested to refer to [[Help:Editing]] first and make use of resources like [[How to write a HOWTO]].
* Contributions must be complete articles.
* Don't override already made contributions, unless there is a mistake.
* If you want to request a topic, please add your request in this page's [[Talk:Tutorials_and_Howtos|Discussion]].}}


'''IMPORTANT:''' contributions on those pages must be complete articles as well as requesting topics to be covered, don't override already made contributions. If you want to request a topic, please add your request in this page's [[Talk:Tutorials_and_Howtos|Discussion]].
== Desktop ==


* {{:Daily driver guide}}
=== Networking ===
* [[Bluetooth]] - Instructions for installing and configuring Bluetooth
* [[Bonding]] - Bond (or aggregate) multiple ethernet interfaces
* [[Bridge]] - Configuring a network bridge
** [[Bridge wlan0 to eth0]]
* [[Configure Networking]]
* [[How to configure static routes]]
* Modem
** [[Using HSDPA modem]]
** [[Using serial modem]]
* [[mDNS]] - Howto implement multicast DNS resolution in Alpine.
* [[Multi ISP]] ''(Dual-ISP setup with load-balancing and automatic failover)''
* [[PXE boot]]
* Wi-Fi
** [[Wi-Fi|Connecting to a wireless access point]]
** [[How to setup a wireless access point]] ''(Setting up Secure Wireless AP w/ WPA encryption with bridge to wired network)''
* Use [https://github.com/ifupdown-ng/ifupdown-ng/blob/main/doc/interfaces-vxlan.scd vxlan], if using  [[Ifupdown-ng]] instead of [[VLAN]]
=== Backup and data migration ===
* [[Migrating data]]
* [[Rsnapshot]] - setting up periodic backups


{{Clear}}
=== Other topics ===


= Howtos =
* [[Gaming on Alpine]]
* [[Remote Desktop Server]]
* [[Default applications|How to change default application]]
* [[CPU frequency scaling]]
* [[Mimalloc]]
* [[Enable Serial Console on Boot]]
* [[How to build the Alpine Linux kernel]]
* [[Nextcloud]] ''(Self hostable cloud suite - Dropbox Alternative)''
* [[Setting up lm_sensors]]
* [[Fingerprint Authentication with swaylock]]
* [[Desktop environments and Window managers|List of supported Desktop environments and Window managers]]


{{Warning|Work in Progress: reorganizing as asked in oldid 16474}}
== Diskless ==


== Applications ==
* [[Alpine local backup|Alpine local backup (lbu)]] ''(Permanently store your modifications in case your box needs reboot)''
** [[Back Up a Flash Memory Installation]]
** [[Manually editing a existing apkovl]]


* [[Ansible]] ''(Configuration management)''
== Other Architectures ==


=== Servers: deploy in production ===
=== ARM ===


* [[Alpine production deploy]]
* [[Alpine on ARM]]
** [[Production Web server: Lighttpd|Production web server: Lighttpd‎‎]]
** [[Production DataBases : mysql|Production database: MySql]]
** [[Production LAMP system: Lighttpd + PHP + MySQL‎‎]]
* Alpine production monitoring
** [[Cacti: traffic analysis and monitoring network]]
** [[Zabbix|Zabbix - the professional complete manager]]
* Kubernetes
** [[K8s]] Building a K8s Cluster on Alpine Linux


=== Telephony ===
==== Raspberry Pi ====
* [[Setting up Zaptel/Asterisk on Alpine]]
** [[Setting up Streaming an Asterisk Channel]]
* [[Freepbx on Alpine Linux]]
* [[FreePBX_V3]] ''(FreeSWITCH, Asterisk GUI web acces tool)''
* [[2600hz]] ''(FreeSWITCH, Asterisk GUI web access tool)''
* [[Kamailio]] ''(SIP Server, formerly OpenSER)''


=== Mail ===
* [[Raspberry Pi|Raspberry Pi main page]]
* [[Small-Time Email with Exim and Dovecot]] ''(A simple configuration for your home network.)
* [[Raspberry Pi Bluetooth Speaker|Raspberry Pi - Bluetooth Speaker]]
* [[Hosting services on Alpine]] ''(Hosting mail, webservices and other services)''
* [[Linux Router with VPN on a Raspberry Pi|Raspberry Pi - Router with VPN]]
** [[Hosting Web/Email services on Alpine]]
* [[Linux Router with VPN on a Raspberry Pi (IPv6)|Raspberry Pi - Router with VPN (IPv6)]]
* [[ISP Mail Server HowTo]] <!-- solution, Mail -->
* [[Classic install or sys mode on Raspberry Pi|Raspberry Pi - Sys mode install]]
** [[ISP Mail Server Upgrade 2.x]]
* [[Raspberry Pi LVM on LUKS|Raspberry Pi - Sys mode install - LVM on LUKS]]
** [[ISP Mail Server 2.x HowTo]] ''(Beta, please test)''
* [[RPI Video Receiver|Raspberry Pi - Video Receiver]] ''(network video decoder using Rasperry Pi and omxplayer)''
** [[ISP Mail Server 3.x HowTo]]
* [[Raspberry Pi 3 - Browser Client]] - kiosk or digital sign
* [[Roundcube]] ''(Webmail system)''
* [[Raspberry Pi 3 - Configuring it as wireless access point -AP Mode]]
* [[Setting up postfix with virtual domains]]
* [[Raspberry Pi 3 - Setting Up Bluetooth]]
* [[Protecting your email server with Alpine]]
* [[Raspberry Pi 4 - Persistent system acting as a NAS and Time Machine]]
* [[Setting up clamsmtp]]
* [[How to set up Alpine as a wireless router|Raspberry Pi Zero W - Wireless router]] ''(Setting up a firewalled, Wireless AP with wired network on a Pi Zero W)''
* [[Setting up dovecot with imap and ssl]]
* [[RPI Video Receiver]]
* [[relay email to gmail (msmtp, mailx, sendmail]]


=== HTTP ===
=== IBM Z (IBM z Systems) ===
* [[Lighttpd]]
** [[Lighttpd Https access]]
** [[Setting Up Lighttpd with PHP]]
** [[Setting Up Lighttpd With FastCGI]]
* [[Cherokee]]
* [[Nginx]]
** [[Nginx_with_PHP#Nginx_with_PHP|Nginx with PHP]]
** [[Nginx as reverse proxy with acme (letsencrypt)]]
* [[Apache]]
** [[Apache with php-fpm]]
** [[Setting Up Apache with PHP]]
** [[Apache authentication: NTLM Single Signon]]


* [[High Availability High Performance Web Cache]] ''(uCarp + HAProxy for High Availability Services such as Squid web proxy)'' <!-- solution, Server -->
* [[s390x|s390x - Installation]]


* [[Setting up Transparent Squid Proxy]] ''(Covers Squid proxy and URL Filtering system)''
=== PowerPC ===
** [[SqStat]] ''(Script to look at active squid users connections)''
** [[Obtaining user information via SNMP]] ''(Using squark-auth-snmp as a Squid authentication helper)'' <!-- Networking and Server, <== Using squark-auth-snmp -->
* [[Setting up Explicit Squid Proxy]]


* [[Drupal]] ''(Content Management System (CMS) written in PHP)''
* [[Ppc64le|Powerpc64le - Installation]]
* [[WordPress]] ''(Web software to create website or blog)''
* [[MediaWiki]] ''(Free web-based wiki software application)''
* [[DokuWiki]]
* [[Darkhttpd]]
* [[Tomcat]]
* [[Kopano]] ''(Microsoft Outlook compatible Groupware)''


=== Other Servers ===
== Security ==
* [[Setting up a ssh-server]] ''(Using ssh is a good way to administer your box remotely)''
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] ''(A simple two factor setup for OpenSSH)''


* [[Configure OpenLDAP]] ''(Installing and configuring the Alpine package for OpenLDAP)''
* [[#Desktop security|Desktop security]] lists steps for securing Alpine Linux desktops
* [[Setting up a nfs-server]]
* [[Setting up a laptop]] page has detailed guidelines to configure a secured laptop
* [[Setting up a samba-server]] ''(standard file sharing)''
* [[Securing Alpine Linux|Secure Alpine Linux]] using Security Technical Implementation Guides (STIGs)
* [[Setting up a samba-ad-dc]] ''(Active Directory compatible domain controller)''
* [[Phpizabi]] ''(Social Networking Platform)''
* [[Statusnet]] ''(Microblogging Platform)''
* [[Pastebin]] ''(Pastebin software application)''
* [[Setting up Transmission (bittorrent) with Clutch WebUI]]


* [[Patchwork]] ''(Patch review management system)''
== Services ==
* [[Redmine]] ''(Project management system)''
* [[Request-Tracker]] ''(Ticket system)''
* [[OsTicket]] ''(Ticket system)''
* [[Setting up trac wiki|Trac]] ''(Enhanced wiki and issue tracking system for software development projects)''


{{Note| Services are arranged in alphabetical order.}}


* [[Cgit]]
=== Content management systems ===
* [[Roundcube]] ''(Webmail system)''
* [[Glpi]] ''(Manage inventory of technical resources)''


* [[How to setup a Alpine Linux mirror]]
* [[DokuWiki]] ''(Simple and easy to use wiki, no database required)''
* [[Cups]]
* [[Drupal]] ''(Content Management System (CMS) written in PHP)''
* [[NgIRCd]] ''(Server for Internet Relay Chat/IRC)''
* [[Kopano]] ''(Microsoft Outlook compatible Groupware)''
* [[How To Setup Your Own IRC Network]] ''(Using {{Pkg|charybdis}} and {{Pkg|atheme-iris}})''
* [[OpenVCP]] ''(VServer Control Panel)''
* [[Mahara]] ''(E-portfolio and social networking system)''
* [[Mahara]] ''(E-portfolio and social networking system)''
* [[Chrony and GPSD | Using chrony, gpsd, and a garmin LVC 18 as a Stratum 1 NTP source ]]
* [[MediaWiki]] ''(Free web-based wiki software application)''
* [[Sending SMS using gnokii]]
* [[Pastebin]] ''(Pastebin software application)''
* [[IPTV How To|Internet Protocol television (IPTV)]]
* [[WordPress]] ''(Web software to create website or blog)''
* [[UniFi_Controller]]
* [[Moodle]] ''(Online Learning Management system)''
* [[DNSCrypt-Proxy]] ''Encrypt and authenticate DNS calls from your system''
* [[Odoo]]


=== Monitoring ===
=== Database ===  
* Setting up [[collectd]]
* [[Traffic monitoring]] <!-- Networking and Monitoring -->
* [[Setting up traffic monitoring using rrdtool (and snmp)]] <!-- Monitoring -->
* [[Setting up monitoring using rrdtool (and rrdcollect)]]
* [[Cacti: traffic analysis and monitoring network]] ''(Front-end for rrdtool networking monitor)''
* [[LTTng]] ''(Kernel and userspace tracing)''
* [[Zabbix|Zabbix - the professional complete manager]] ''(Monitor and track the status of network services and hardware)''
* [[Setting up A Network Monitoring and Inventory System]] ''(Nagios + OpenAudit and related components)'' <!-- draft, solution, Networking and Monitoring and Server -->
** [[Setting up NRPE daemon]] ''(Performs remote Nagios checks)'' <!-- Networking and Monitoring -->
* [[Setting up Smokeping|Smokeping]] ''(Network latency monitoring)'' <!-- Networking and Monitoring -->
** [[Setting up MRTG and Smokeping to Monitor Bandwidth Usage and Network Latency]]
* [[Setting Up Fprobe And Ntop|Ntop]] ''(NetFlow collection and analysis using a remote fprobe instance)'' <!-- Networking and Monitoring -->
* [[Cvechecker]] ''(Compare installed packages for Common Vulnerabilities Exposure)'' <!-- Monitoring and Security -->


* [[IP Accounting]] <!-- Networking and Monitoring -->
* [[MariaDB]] or [[MySQL|MySQL]]
* [[Obtaining user information via SNMP]] ''(Using squark-auth-snmp as a Squid authentication helper)'' <!-- Networking and Server, <== Using squark-auth-snmp -->
* [[SqStat]] ''(Script to look at active squid users connections)''


* [[Piwik]] ''(A real time web analytics software program)''
=== DNS ===
* [[Awstats]] ''(Free log file analyzer)''
* [[Intrusion Detection using Snort]]
** [[Intrusion Detection using Snort, Sguil, Barnyard and more]]
* [[Dglog]] ''(Log analyzer for the web content filter DansGuardian)''


* [[Webmin]] ''(A web-based interface for Linux system)''
* [[DNSCrypt-Proxy]] ''Encrypt and authenticate DNS calls from your system''
* [[PhpPgAdmin]] ''(Web-based administration tool for PostgreSQL)''
* [[Setting up nsd DNS server]]
* [[PhpMyAdmin]] ''(Web-based administration tool for MYSQL)''
* [[Small-Time DNS with BIND9]] ''(A simple configuration with ad blocking for your home network)''
* [[PhpSysInfo]] ''(A simple application that displays information about the host it's running on)''
* Unbound
* [[Linfo]]
** [[Setting up unbound DNS server]]
** [[Using Unbound as an Ad-blocker]] ''(Setup ad blocking for your network)''
* [[TinyDNS Format]]


* [[Setting up lm_sensors]]
=== File server ===


* [[ZoneMinder video camera security and surveillance]]
* [[Setting up an NFS server|nfs-server]]
* [[Setting up a Samba server|samba-server]] ''(standard file sharing)''
* [[Setting up a samba-ad-dc|samba-ad-dc]] ''(Active Directory compatible domain controller)''


== Backup and data migration ==
=== Firewall ===
* [[Alpine local backup|Alpine local backup (lbu)]] ''(Permanently store your modifications in case your box needs reboot)''
** [[Back Up a Flash Memory Installation]]
** [[Manually editing a existing apkovl]]
* [[Migrating data]]
* [[Rsnapshot]] - setting up periodic backups


== Desktop ==
* [https://git.alpinelinux.org/awall/about/ Alpine Wall User's Guide]
* [[Alpine and UEFI]]
** [[Zero-To-Awall]] -''AWall for dummies''
* [[Default applications]]
** [[How-To Alpine Wall]] - ''AWall for Shorewall users''
* Desktop cloud
** [[Alpine Wall]] - ''AWall - Firewall management framework - Design Document''
** [[EyeOS]] ''(Cloud Computing Desktop)''
* [[Iptables]]
** [[Nextcloud]] ''(Self hostable cloud suite - Dropbox Alternative)''
* [[nftables]]
** [[Oneye]] ''(Cloud Computing Desktop - Dropbox Alternative)''
* [[Uncomplicated Firewall|Uncomplicated Firewall or UFW]]
** [[OwnCloud]] ''(Installing OwnCloud)''
** [[Seafile: setting up your own private cloud]]
* [[Desktop environments and Window managers]] (overall information only)
** Desktop Environments
*** [[Gnome]]
*** [[KDE]]
*** [[LXQt]]
*** [[MATE]]
*** [[Xfce]]
** [https://en.wikipedia.org/wiki/Stacking_window_manager Stacking (floating) window managers]
*** X11
**** [[Openbox]]
*** Wayland
**** [[LabWC]]
** [https://en.wikipedia.org/wiki/Tiling_window_manager Tiling (dynamic) window managers]
*** X11
**** [[AwesomeWM]]
**** [[dwm]]
*** Wayland
**** [[River]]
**** [[Sway]]
* [[Printer Setup]]
* [[Remote Desktop Server]]
* [[Sound Setup]]
** [[PipeWire]]
* [[Suspend on LID close]]
* [[Alpine setup scripts#setup-xorg-base|Xorg Setup]]


<!--
=== HTTP and web services ===
This does not attempt to be complete. Is it useful to have these listed here? I find them more accessible if grouped with their topics; also, an up-to-date list of all Draft or Obsolete pages can be found at [[Project:Wiki maintenance]].


== Drafts ==
* [[Althttpd]]
Currently unfinished/works-in-progress.
* [[Apache]]
* [[Using Racoon for Remote Sites]]
** [[Apache with php-fpm]]
* [[Setting up Streaming an Asterisk Channel]]
** [[Setting Up Apache with PHP]]
* [[Setting up A Network Monitoring and Inventory System]] ''(Nagios + OpenAudit and related components)''
** [[Apache authentication: NTLM Single Signon]]
* [[Intrusion Detection using Snort]] ''(Installing and configuring Snort and related applications on Alpine 2.0.x)''
* [[Darkhttpd]]
* [[IP Accounting]] ''(Installing and configuring pmacct for IP Accounting, Netflow/sFlow collector)''
* [[Lighttpd]]
** [[Lighttpd Advanced security]]
** [[Setting Up Lighttpd With FastCGI]]
** [[Production Web server: Lighttpd|Production web server: Lighttpd‎‎]]
* [[Nginx]]
** [[Nginx as reverse proxy with acme (letsencrypt)]]
** [[Nginx with PHP]]
* Squid Proxy
** [[Obtaining user information via SNMP]] ''(Using squark-auth-snmp as a Squid authentication helper)'' <!-- Networking and Server, <== Using squark-auth-snmp -->
** [[Setting up Explicit Squid Proxy]]
** [[Setting up Transparent Squid Proxy]] ''(Covers Squid proxy and URL Filtering system)''
** [[SqStat]] ''(Script to look at active squid users connections)''
* [[Tomcat]]
** [[Production LAMP system: Lighttpd + PHP + MySQL‎‎|Production LAMP system: Lighttpd + PHP + MariaDB/MySQL‎‎]]


-->
=== IRC ===


== Networking ==
* [[NgIRCd]] ''(Server for Internet Relay Chat/IRC)''


* [[Configure Networking]]
=== Mail ===
* [[Connecting to a wireless access point]]
* [[Bonding]]
* [[Vlan]]
* [[Bridge]]
* [[Bridge wlan0 to eth0]]
* [[OpenVSwitch]]
* [[How to configure static routes]]
* [[Configure a Wireguard interface (wg)]]


* [[Alpine Wall]] - [[How-To Alpine Wall]] - [[Alpine Wall User's Guide]] ''(a new firewall management framework)''
* [[Hosting services on Alpine]] ''(Hosting mail, webservices and other services)''
* [[Hosting Web/Email services on Alpine]]
* Exim/Dovecot
** [[Small-Time Email with Exim and Dovecot]] ''(A simple configuration for your home network.)
** [[Setting up dovecot with imap and tls]]
* [[relay email to gmail (msmtp, mailx, sendmail]]
* [[relay email (nullmailer)]]
* [[Roundcube]] ''(Webmail system)''
* [[Setting up postfix with virtual domains]]
* Server protection
** [[Setting up clamsmtp]]


* [[PXE boot]]
=== Monitoring ===


* [[Using serial modem]]
* [[Awstats]] ''(Free log file analyzer)''
* [[Using HSDPA modem]]
* [[Cacti: traffic analysis and monitoring network]] ''(Front-end for rrdtool networking monitor)''
* [[Setting up Satellite Internet Connection]]
* [[Cvechecker]] ''(Compare installed packages for Common Vulnerabilities Exposure)'' <!-- Monitoring and Security -->
* [[Using Alpine on Windows domain with IPSEC isolation]]
* [[Linfo]]
* [[Obtaining user information via SNMP]] ''(Using squark-auth-snmp as a Squid authentication helper)'' <!-- Networking and Server, <== Using squark-auth-snmp -->
* [[PhpSysInfo]] ''(A simple application that displays information about the host it's running on)''
* [[Logcheck]] ''(log file monitoring tool)''
* [[Matomo]] ''(A real time web analytics software program)''
* [[Rasdaemon]] ''(Platform Reliability, Availability and Serviceability monitoring tool)''
* [[Setting up A Network Monitoring and Inventory System]] ''(Nagios + OpenAudit and related components)'' <!-- draft, solution, Networking and Monitoring and Server -->
** [[Setting up NRPE daemon]] ''(Performs remote Nagios checks)'' <!-- Networking and Monitoring -->
* [[Setting Up Fprobe And Ntop|Ntop]] ''(NetFlow collection and analysis using a remote fprobe instance; for alpine 3.10-3.12 only)'' <!-- Networking and Monitoring -->
* [[SqStat]] ''(Script to look at active squid users connections)''
* [[Traffic monitoring]] <!-- Networking and Monitoring -->
** [[Setting up monitoring using rrdtool (and rrdcollect)]]
** [[Setting up traffic monitoring using rrdtool (and snmp)]] <!-- Monitoring -->
* [[Zabbix|Zabbix - the professional complete manager]] ''(Monitor and track the status of network services and hardware)''
* [[ZoneMinder video camera security and surveillance]]


* [[Setting up a SSH server]] ''(Using SSH is the preferred way to administer your box remotely)'' <!-- Server and Networking -->
=== Remote Administration ===
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] ''(A simple two factor setup for OpenSSH)''
* [[How to setup a wireless access point]] ''(Setting up Secure Wireless AP w/ WPA encryption with bridge to wired network)''
* [[How to set up Alpine as a wireless router]] ''(Setting up a firewalled, Wireless AP with wired network on a Pi Zero W)''
* [[Setting up a OpenVPN server with Alpine]] ''(Allowing single users or devices to remotely connect to your network)''
<!-- [[Using Racoon for Remote Sites]] is a different VPN tunnelling method, but that article is just a stub -->
* [[Experiences with OpenVPN-client on ALIX.2D3]]  <!-- solution -->


* [[Generating SSL certs with ACF]] <!-- Generating SSL certs with ACF 1.9 -->
* ACF
* [[Setting up unbound DNS server]]
** [[Changing passwords for ACF|ACF - changing passwords]]
* [[Setting up nsd DNS server]]
** [[Generating SSL certs with ACF]] <!-- Generating SSL certs with ACF 1.9 -->
* [[TinyDNS Format]]
** [[setup-acf| ACF - setup]] ''(Configures ACF (webconfiguration/webmin) so you can manage your box through https)''
* [[Fault Tolerant Routing with Alpine Linux]] <!-- solution -->
* [[Setting up a SSH server]] ''(Using ssh is a good way to administer your box remotely)''
* [[Freeradius Active Directory Integration]]
** [[HOWTO OpenSSH 2FA with password and Google Authenticator |OpenSSH 2FA]] ''(A simple two factor setup for OpenSSH)''
* [[Multi_ISP]] ''(Dual-ISP setup with load-balancing and automatic failover)''
* [[OpenVCP]] ''(VServer Control Panel)''
* [[GNUnet]]
* [[PhpMyAdmin]] ''(Web-based administration tool for MYSQL)''
* [[PhpPgAdmin]] ''(Web-based administration tool for PostgreSQL)''
* [[Webmin]] ''(A web-based interface for Linux system)''


=== Telephony ===


== Other Architectures ==
* [[FreePBX|FreePBX on Alpine Linux]]
* [[Setting up Zaptel/Asterisk on Alpine]]
* [[Kamailio]] ''(SIP Server, formerly OpenSER)''


=== ARM ===
=== VPN ===
* [[Freeradius Active Directory Integration]]
* [[GNUnet]]
* [[IGMPproxy]]
* [[Setting up a OpenVPN server|OpenVPN server]] ''(Allowing single users or devices to remotely connect to your network)''
* [[OpenVSwitch]]
* [[Tor]]
* [[Using Alpine on Windows domain with IPSEC isolation]]
* [[Configure a Wireguard interface (wg)|Wireguard]]


* [[Alpine on ARM]]
=== Other Servers ===


==== Raspberry Pi ====
* [[apcupsd]] ''(UPS Monitoring with apcupsd)''
* [[Raspberry Pi Bluetooth Speaker|Raspberry Pi - Bluetooth Speaker]]
* [[Chrony and GPSD | Chrony, gpsd, and a garmin LVC 18 as a Stratum 1 NTP source ]]
* [[Raspberry Pi|Raspberry Pi - Installation]]
* [[Glpi]] ''(Manage inventory of technical resources)''
* [[Linux Router with VPN on a Raspberry Pi|Raspberry Pi - Router with VPN]]
* [[How to setup a Alpine Linux mirror]]
* [[Linux Router with VPN on a Raspberry Pi (IPv6)|Raspberry Pi - Router with VPN (IPv6)]]
* [[nut-ups|NUT UPS]] ''(UPS Monitoring with Network UPS Tools)''
* [[Classic install or sys mode on Raspberry Pi|Raspberry Pi - Sys mode install]]
* [[Odoo]]
* [[RPI Video Receiver|Raspberry Pi - Video Receiver]] ''(network video decoder using Rasperry Pi and omxplayer)''
* [[Configure OpenLDAP | OpenLDAP]] ''(Installing and configuring the Alpine package for OpenLDAP)''
* [[Raspberry Pi 3 - Browser Client]] - kiosk or digital sign
* [[Setting up a LLDAP server|lldap-server]] ''(Directory Server)''
* [[Raspberry Pi 3 - Configuring it as wireless access point -AP Mode]]
* [[Setting up Transmission (bittorrent) with Clutch WebUI]]
* [[Raspberry Pi 3 - Setting Up Bluetooth]]
* [[Raspberry Pi 4 - Persistent system acting as a NAS and Time Machine]]


=== IBM Z (IBM z Systems) ===
* [[s390x|s390x - Installation]]


=== PowerPC ===
== Software development ==
* [[Ppc64le|Powerpc64le - Installation]]


== Post-Install ==
* [[Cgit]]
* [[CPU frequency scaling]]
* [[OsTicket]] ''(Ticket system)''
* [[Repositories#Enabling_the_community_repository|Enable Community repository]] ''(Providing additional packages)''
* [[Patchwork]] ''(Patch review management system)''
* [[Enable Serial Console on Boot]]
* [[Redmine]] ''(Project management system) [Deprecated]''
* [[Alpine Linux Init System|Init System (OpenRC)]] ''(Configure a service to automatically boot at next reboot)''
* [[Request Tracker]] ''(Ticket system)''
** [[Multiple Instances of Services|Init System - Multiple Instances of Services]]
* [[Setting up trac wiki|Trac]] ''(Enhanced wiki and issue tracking system for software development projects)''
** [[Writing Init Scripts|Init System - Writing Init Scripts]]
* [[Ansible]] ''(Configuration management)''
* [[Installing Oracle Java|Oracle Java (installation)]]
* [[Installing Oracle Java|Oracle Java (installation)]]
* [[Alpine Linux package management|Package Management (apk)]] ''(How to add/remove packages on your Alpine)''
** [[Comparison with other distros|Package Management - Comparison with other distros]]
* [[Running glibc programs]]
* [[Setting up a new user]]
* [[Upgrading Alpine]]
== Remote Administration ==
* ACF
** [[Changing passwords for ACF|ACF - changing passwords]]
** [[setup-acf| ACF - setup]] ''(Configures ACF (webconfiguration/webmin) so you can manage your box through https)''
* [[Setting up a ssh-server|ssh-server setup]] ''(Using ssh is a good way to administer your box remotely)''
** [[HOWTO OpenSSH 2FA with password and Google Authenticator |OpenSSH 2FA]] ''(A simple two factor setup for OpenSSH)''


== Storage ==
== Storage ==


* [[Setting up disks manually|Disk setup (manual)]]
* [[Setting up disks manually|Manual partitioning]]
* [[Disk Replication with DRBD|DRBD: Disk Replication]]
* [[Disk Replication with DRBD|DRBD: Disk Replication]]
* [[Filesystems]]
* [[Filesystems]]
Line 306: Line 267:
** [[iSCSI Raid and Clustered File Systems]]
** [[iSCSI Raid and Clustered File Systems]]
** [[Linux iSCSI Target (TCM)|iSCSI Target (TCM)/LinuxIO (LIO)]]
** [[Linux iSCSI Target (TCM)|iSCSI Target (TCM)/LinuxIO (LIO)]]
** [[Linux iSCSI Target (tgt)|User space iSCSI Target (tgt)]]
* [[Setting up Logical Volumes with LVM|LVM Setup]]
* [[Setting up Logical Volumes with LVM|LVM Setup]]
** [[Setting up LVM on GPT-labeled disks|LVM on GPT-labeled disks]]
** [[Setting up LVM on GPT-labeled disks|LVM on GPT-labeled disks]]
Line 313: Line 275:
** [[Raid Administration]]
** [[Raid Administration]]
** [[Setting up a software RAID array]]
** [[Setting up a software RAID array]]
* ZFS
* [[ZFS]]
** [[Root on ZFS with native encryption]]
** [[Root on ZFS with native encryption]]
** [[Setting up ZFS on LUKS]]
** [[Setting up ZFS on LUKS]]
* [[CEPH|CEPH]]


== Virtualization ==
== Virtualization ==


* [[Xen Dom0]] ''(Setting up Alpine as a dom0 for Xen hypervisor)''
* [[Docker]]
* [[Xen Dom0 on USB or SD]]
* [[Installing Alpine in a virtual machine]]
* [[Create Alpine Linux PV DomU]]
** [[Install Alpine on VMware ESXi]]
* [[Xen PCI Passthrough]]
* [[Xen LiveCD]]
* [[QEMU]]
* [[KVM]] ''(Setting up Alpine as a KVM hypervisor)''
* [[KVM]] ''(Setting up Alpine as a KVM hypervisor)''
* [[LXC]] ''(Setting up a Linux container in Alpine Linux)''
* [[LXC]] ''(Setting up a Linux container in Alpine Linux)''
* [[Docker]]
* [[QEMU]]
* [[Install Alpine on VirtualBox]]
* Xen
* [[Install Alpine on VMWare]]
** [[Xen Dom0]] ''(Setting up Alpine as a dom0 for Xen hypervisor)''
** [[Xen Dom0 on USB or SD]]
** [[Create Alpine Linux PV DomU|Xen DomU (paravirtualized)]]
** [[Xen LiveCD]]
** [[Xen PCI Passthrough]]
** [[K8s]] Building a K8s Kubernetes Cluster on Alpine Linux
* [[Runc]]
 
== [[Simple_Walkthrough]] ==


= Tutorials =
* [[LXC_Alpinelinux_Simple]]
* [[Qemu-simple]]


{{Warning|Work in Progress: reorganizing as asked in oldid 16474}}
== Tutorials ==


* [[TTY_Autologin|TTY Autologin]]
* [[Kexec|Faster rebooting with kexec]]
* [[Dynamic Multipoint VPN (DMVPN)]] combined with [[Small Office Services]]
* [[DIY Fully working Alpine Linux for Allwinner and Other ARM SOCs]]
* [[DIY Fully working Alpine Linux for Allwinner and Other ARM SOCs]]
* [[Replacing non-Alpine Linux with Alpine remotely]]
* [[High performance SCST iSCSI Target on Linux software Raid]]
* [[Fault Tolerant Routing with Alpine Linux]]
* [[Fault Tolerant Routing with Alpine Linux]]
* [[Experiences with OpenVPN-client on ALIX.2D3]]
* [[ISP Mail Server HowTo]] ''(Postfix+PostfixAdmin+DoveCot+Roundcube+ClamAV+Spamd - A full-serivce ISP mail server)''
** [[ISP Mail Server Upgrade 2.x]]
** [[ISP Mail Server 2.x HowTo]] ''(Beta, please test)''
* [[High Availability High Performance Web Cache]] ''(uCarp + HAProxy for High Availability Services such as Squid web proxy)''
* [[High Availability High Performance Web Cache]] ''(uCarp + HAProxy for High Availability Services such as Squid web proxy)''
* [[Linux iSCSI Target (TCM)]]
* [[ISP Mail Server 3.x HowTo]] ''(Postfix+PostfixAdmin+DoveCot+Roundcube+ClamAV+Spamd - A full-service ISP mail server)''
* [[Grommunio Mail Server]] ''(Mariadb+Postfix+Rspamd+Grommunio - Full-service mail server as MS exchange replacement)''
* [[Replacing non-Alpine Linux with Alpine remotely]]
* [[Setting up A Network Monitoring and Inventory System]] ''(Nagios + OpenAudit and related components)'' <!-- draft -->
* [[Setting up A Network Monitoring and Inventory System]] ''(Nagios + OpenAudit and related components)'' <!-- draft -->
* [[Streaming Security Camera Video with VLC]]
* [[Streaming Security Camera Video with VLC]]
* [[Dynamic Multipoint VPN (DMVPN)]] combined with [[Small_Office_Services]]
* [[Install Alpine on a btrfs filesystem with refind as boot manager]]
 
* [[Compile software from source|How to Compile a software from source in Alpine Linux]]
== Newbie corner ==
* [https://ww2.coastal.edu/mmurphy2/oer/alpine/ Alpine Linux tutorials - Dr Murphy, Computing Science Associate Professor]
* [[Alpine newbie]] (overall information)
* [[Michael's base installation procedure|Michael's base installation procedure]]
* [[Alpine newbie developer]] (Developers: compilers, IDEs and tools)
* [[Michael's sway desktop (minimal)|Michael's sway desktop (minimal)]]
** [[Alpine newbie developer: full stack web]]
* [[Michael's cwm  desktop (minimal)|Michael's cwm  desktop (minimal)]]
** [[Alpine newbie developer: gitea|Alpine newbie developer: Git management web frontend gitea]]
* [[How to get regular stuff working]] ''some notes on need-to-know topics''

Latest revision as of 14:46, 1 September 2025

Welcome to Tutorials and Howtos, a place of basic and advanced configuration tasks for your Alpine Linux.

Howtos are smaller articles explaining how to perform a particular task with Alpine Linux, that expects a minimal knowledge from reader to perform actions. Howto's have been organized in the below page based on the topics.

The tutorials are hands-on and the reader is expected to try and achieve the goals described in each step, possibly with the help of a good example. The output in one step is the starting point for the following step.

Note:
  • Contributors are requested to refer to Help:Editing first and make use of resources like How to write a HOWTO.
  • Contributions must be complete articles.
  • Don't override already made contributions, unless there is a mistake.
  • If you want to request a topic, please add your request in this page's Discussion.

Desktop

Alpine Linux is a general purpose Linux distribution designed for power users. It is built to be small and resource efficient. If you feel the defaults are too lightweight for desktop use, it is easy to get most of the regular stuff working and use Alpine Linux as a daily driver by following this guide.

Help us improve this wiki page

If you find the instructions correct, please add/update the Verified template. If something isn't correct, or is incomplete, add the Accuracy template to the relevant section. You will have to figure out the correct solution, or ask for it in the community.

And then carefully edit the wiki page.

Just as those before who did it for you.

Prerequisites

Once the above prerequisites are met, install any desktop of choice from the list of supported Desktop environments and Window managers either manually or using setup-desktop script.

Tip: Except for the first three Prerequisites, all the others are automatically handled, if setup-desktop script is used.

Basics

Desktop security

Advanced

  • Learn basics of openrc, the alpine Linux init system or refer Open rc wiki.
  • If you want the rolling release version of Alpine Linux, enable the Edge repository.
  • Explore the testing repository, as it provides a lot more applications.

Networking

Backup and data migration

Other topics

Diskless

Other Architectures

ARM

Raspberry Pi

IBM Z (IBM z Systems)

PowerPC

Security

Services

Note: Services are arranged in alphabetical order.

Content management systems

  • DokuWiki (Simple and easy to use wiki, no database required)
  • Drupal (Content Management System (CMS) written in PHP)
  • Kopano (Microsoft Outlook compatible Groupware)
  • Mahara (E-portfolio and social networking system)
  • MediaWiki (Free web-based wiki software application)
  • Pastebin (Pastebin software application)
  • WordPress (Web software to create website or blog)
  • Moodle (Online Learning Management system)

Database

DNS

File server

Firewall

HTTP and web services

IRC

  • NgIRCd (Server for Internet Relay Chat/IRC)

Mail

Monitoring

Remote Administration

Telephony

VPN

Other Servers


Software development

Storage

Virtualization

Simple_Walkthrough

Tutorials