<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mckaygerhard</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mckaygerhard"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Mckaygerhard"/>
	<updated>2026-05-01T17:27:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Alpine_Install:_from_a_disc_to_a_old_computer_single_only_boot&amp;diff=21446</id>
		<title>Talk:Alpine Install: from a disc to a old computer single only boot</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Alpine_Install:_from_a_disc_to_a_old_computer_single_only_boot&amp;diff=21446"/>
		<updated>2022-01-06T17:58:44Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: clarifications.. to zcrayfish that knows how to coordinate, thanks to him&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Proposal for deletion ==&lt;br /&gt;
I do not support the proposal for deletion. This article is 2 clicks away from the main page. If the content of this article exists elsewhere, it should be merged. [[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 00:07, 15 December 2021 (UTC)&lt;br /&gt;
: hi [[User:Zcrayfish|zcrayfish]], this article is and special case setup, the main install article is too generic and focused in x64 iso setups with high ramifications.. this article is more focused in x86 32bit cases, that i have almost 200 machines, those almost 30 uses older versions of alpine linux in intranet with no networking.&lt;br /&gt;
: also, this article make focus on special steps to made for those computers.. by example some kernels does not have support for ISA devices so this must be pointed in!&lt;br /&gt;
: at last: i separate those kind of articles in a category names &amp;quot;newbie&amp;quot; that currently are mess up with the Guest09248  user now! due the unable to coordinate with him i emailed to staff to removal all my content.. with no so friendly responses.. [[User:Mckaygerhard|Mckaygerhard]] ([[User talk:Mckaygerhard|talk]]) 12:07, 6 Jan 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_production_deployment&amp;diff=21445</id>
		<title>Alpine production deployment</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_production_deployment&amp;diff=21445"/>
		<updated>2022-01-06T17:51:25Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: restore dead link from a mirror git&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The production environment is the final destination of all development results. Almost always when someone does some kind of development, no matter how small it is (for example a simple script), the development environment is not the only place or system where it will be exclusively used (for example the script could be used on other computers in the network).&lt;br /&gt;
&lt;br /&gt;
The development environment is never the same as the production environment, commonly, production environment only has necessary software to run the installed and deployment products. In professional linux are no graphical toos and everything is minimalist.. just like Alpine linux.&lt;br /&gt;
&lt;br /&gt;
= Servers and Dockers =&lt;br /&gt;
&lt;br /&gt;
The most famous cases in old days was use a Centos environment, but over time, linux became more heavy and more slow. That changes with Alpine and Dockers, if you think Redhat and Centos are the best here an article that describes in short the real life of those systems: https://gitea.com/venenux/venenux/src/branch/master/docs/others-infodocs-details-centos-vs-fedora-en.md , Both projects are Red Hat related, one are ahead of and the other behind of, main difference from others distributions it’s their lack of packages and setups, due the shared market focused target of both.. obviously due the RedHAt relationship.&lt;br /&gt;
&lt;br /&gt;
But today all of this changed, now there&#039;s Docker: a helpful tool for packaging, shipping, and running applications within &amp;quot;containers&amp;quot; (like virtual machines) that remove the need for physical hardware, allowing for more efficient use of computing resources, in terms of energy consumption and cost effectiveness. Today even the big dogs like Google, VMware and Amazon are building services to support it.&lt;br /&gt;
&lt;br /&gt;
The server are mostly a very powerful machine in production environments, but think about it! a 500GB disk to only run a DNS for a local network? that&#039;s the reason of the Dockers and their relationship with the servers. &lt;br /&gt;
&lt;br /&gt;
The one big difference between containers and a Server is that containers *share* the host server system’s kernel and server resources with other containers in a isolated environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server focused documents ==&lt;br /&gt;
&lt;br /&gt;
TODO: webpack, npm (advanced.. cos is includen below in lamp), bigdata, Dockers focused well made tutorial&lt;br /&gt;
&lt;br /&gt;
=== Web deploy: LAMP ===&lt;br /&gt;
&lt;br /&gt;
In production web, LAMP means &#039;&#039;&#039;L&#039;&#039;&#039;inux + &#039;&#039;&#039;A&#039;&#039;&#039;pache + &#039;&#039;&#039;M&#039;&#039;&#039;ysql + &#039;&#039;&#039;P&#039;&#039;&#039;hp installed and integrated, but today the &amp;quot;A&amp;quot; of apache is more used as Nginx or Lighttpd, and the &amp;quot;M&amp;quot; of MySQL is more used as Mariadb. The LAMP focused documents are:&lt;br /&gt;
&lt;br /&gt;
* LAMP deploy of the Web Server: [[Production Web server: Lighttpd]]&lt;br /&gt;
* LAMP deploy of the Web Server with PHP, user html_dir and MariaDB: [[Production LAMP system: Lighttpd + PHP + MySQL]]&lt;br /&gt;
* LAMP special cases for PHP5 only softwares, user html_dir and MariaDB: [[Production LAMP system: Lighttpd + PHP5 + MySQL]]&lt;br /&gt;
* Deploy usage of Lets Encrypt without chain-tools – just add water: [[Production Lets Encrypt: dehydrated]]&lt;br /&gt;
&lt;br /&gt;
=== Web deploy: LUA ===&lt;br /&gt;
&lt;br /&gt;
WIP&lt;br /&gt;
&lt;br /&gt;
== DataBases ==&lt;br /&gt;
&lt;br /&gt;
* SQlite, most easy to use database system without engine: [[Debelovers : sqlite]]&lt;br /&gt;
* UnixODBC, how to connect with multiple databases: [[Production DataBases : unixodbc]]&lt;br /&gt;
* MySQL/MariaDB deployment: [[Production DataBases : mysql]]&lt;br /&gt;
&lt;br /&gt;
== Networking ==&lt;br /&gt;
&lt;br /&gt;
* Dual stack (ipv4 to ipv6) DNS with chain slave, just only for brave linux sysadmin: : [[Production DNS: dual stack Bind server]]&lt;br /&gt;
* [[Cacti: traffic analysis and monitoring network]]&lt;br /&gt;
&lt;br /&gt;
== Docker focused documents ==&lt;br /&gt;
&lt;br /&gt;
WIP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:PHP]]&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Security]]&lt;br /&gt;
[[Category:Production]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_production_deployment&amp;diff=21444</id>
		<title>Alpine production deployment</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_production_deployment&amp;diff=21444"/>
		<updated>2022-01-06T17:48:27Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: /* See Also */  remove newbie references this content was started by me. but i let it as is cos it helps to the already poorly wiki&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The production environment is the final destination of all development results. Almost always when someone does some kind of development, no matter how small it is (for example a simple script), the development environment is not the only place or system where it will be exclusively used (for example the script could be used on other computers in the network).&lt;br /&gt;
&lt;br /&gt;
The development environment is never the same as the production environment, commonly, production environment only has necessary software to run the installed and deployment products. In professional linux are no graphical toos and everything is minimalist.. just like Alpine linux.&lt;br /&gt;
&lt;br /&gt;
= Servers and Dockers =&lt;br /&gt;
&lt;br /&gt;
The most famous cases in old days was use a Centos environment, but over time, linux became more heavy and more slow. That changes with Alpine and Dockers, if you think Redhat and Centos are the best here an article that describes in short the real life of those systems: https://venenux.github.io/venenux/others-infodocs-details-centos-vs-fedora-en.html{{dead link}} , Both projects are Red Hat related, one are ahead of and the other behind of, main difference from others distributions it’s their lack of packages and setups, due the shared market focused target of both.. obviously due the RedHAt relationship.&lt;br /&gt;
&lt;br /&gt;
But today all of this changed, now there&#039;s Docker: a helpful tool for packaging, shipping, and running applications within &amp;quot;containers&amp;quot; (like virtual machines) that remove the need for physical hardware, allowing for more efficient use of computing resources, in terms of energy consumption and cost effectiveness. Today even the big dogs like Google, VMware and Amazon are building services to support it.&lt;br /&gt;
&lt;br /&gt;
The server are mostly a very powerful machine in production environments, but think about it! a 500GB disk to only run a DNS for a local network? that&#039;s the reason of the Dockers and their relationship with the servers. &lt;br /&gt;
&lt;br /&gt;
The one big difference between containers and a Server is that containers *share* the host server system’s kernel and server resources with other containers in a isolated environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server focused documents ==&lt;br /&gt;
&lt;br /&gt;
TODO: webpack, npm (advanced.. cos is includen below in lamp), bigdata, Dockers focused well made tutorial&lt;br /&gt;
&lt;br /&gt;
=== Web deploy: LAMP ===&lt;br /&gt;
&lt;br /&gt;
In production web, LAMP means &#039;&#039;&#039;L&#039;&#039;&#039;inux + &#039;&#039;&#039;A&#039;&#039;&#039;pache + &#039;&#039;&#039;M&#039;&#039;&#039;ysql + &#039;&#039;&#039;P&#039;&#039;&#039;hp installed and integrated, but today the &amp;quot;A&amp;quot; of apache is more used as Nginx or Lighttpd, and the &amp;quot;M&amp;quot; of MySQL is more used as Mariadb. The LAMP focused documents are:&lt;br /&gt;
&lt;br /&gt;
* LAMP deploy of the Web Server: [[Production Web server: Lighttpd]]&lt;br /&gt;
* LAMP deploy of the Web Server with PHP, user html_dir and MariaDB: [[Production LAMP system: Lighttpd + PHP + MySQL]]&lt;br /&gt;
* LAMP special cases for PHP5 only softwares, user html_dir and MariaDB: [[Production LAMP system: Lighttpd + PHP5 + MySQL]]&lt;br /&gt;
* Deploy usage of Lets Encrypt without chain-tools – just add water: [[Production Lets Encrypt: dehydrated]]&lt;br /&gt;
&lt;br /&gt;
=== Web deploy: LUA ===&lt;br /&gt;
&lt;br /&gt;
WIP&lt;br /&gt;
&lt;br /&gt;
== DataBases ==&lt;br /&gt;
&lt;br /&gt;
* SQlite, most easy to use database system without engine: [[Debelovers : sqlite]]&lt;br /&gt;
* UnixODBC, how to connect with multiple databases: [[Production DataBases : unixodbc]]&lt;br /&gt;
* MySQL/MariaDB deployment: [[Production DataBases : mysql]]&lt;br /&gt;
&lt;br /&gt;
== Networking ==&lt;br /&gt;
&lt;br /&gt;
* Dual stack (ipv4 to ipv6) DNS with chain slave, just only for brave linux sysadmin: : [[Production DNS: dual stack Bind server]]&lt;br /&gt;
* [[Cacti: traffic analysis and monitoring network]]&lt;br /&gt;
&lt;br /&gt;
== Docker focused documents ==&lt;br /&gt;
&lt;br /&gt;
WIP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:PHP]]&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Security]]&lt;br /&gt;
[[Category:Production]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Post_installation&amp;diff=21443</id>
		<title>Post installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Post_installation&amp;diff=21443"/>
		<updated>2022-01-06T17:44:21Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: Guest09248 i removed any NEWBIE install , i was talk with staff about that.. use your pages only&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Draft|Still might be missing some things but (i think) it is mostly complete}}&lt;br /&gt;
&lt;br /&gt;
== General Notes ==&lt;br /&gt;
&lt;br /&gt;
* When &#039;&#039;&#039;#&#039;&#039;&#039; is displayed before a command that means the command needs to be run with root privileges,&lt;br /&gt;
&lt;br /&gt;
* Anything in &amp;lt; &amp;gt; is likely just a placeholder that you need to replace (example: &amp;lt;editor&amp;gt; file.txt)&lt;br /&gt;
&lt;br /&gt;
* Some information in here might be a repeat of information in other wiki pages, if you find a section where that is the case please add a link to the original wiki page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Network setup ==&lt;br /&gt;
&lt;br /&gt;
==== Wi-Fi ====&lt;br /&gt;
&lt;br /&gt;
* [[Wi-Fi]]&lt;br /&gt;
* [[NetworkManager]]&lt;br /&gt;
&lt;br /&gt;
==== Ethernet (Wired) ====&lt;br /&gt;
&lt;br /&gt;
{{Expand|Documentation on Ethernet (Wired) internet setup needs to be created/expanded, maybe information from other wiki&#039;s/docs might be helpful?}}&lt;br /&gt;
&lt;br /&gt;
* [[Ethernet|Ethernet]]&lt;br /&gt;
* [[NetworkManager]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating a new user account ==&lt;br /&gt;
&lt;br /&gt;
After installing Alpine by default you only get a root account. You will probably want to create an account that is not root,&lt;br /&gt;
&lt;br /&gt;
{{cmd|# adduser &amp;lt;YourUsername&amp;gt;}}&lt;br /&gt;
{{Note|replace &amp;lt;YourUsername&amp;gt; with the username of your choice}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will probably want to install &#039;&#039;&#039;doas&#039;&#039;&#039; so you can allow &amp;lt;YourUsername&amp;gt; to use root privileges&lt;br /&gt;
{{cmd|# apk add doas}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want your user to be able to use root privileges add them to the Wheel group&lt;br /&gt;
{{cmd|# adduser &amp;lt;YourUsername&amp;gt; wheel}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Allow members of the &#039;&#039;&#039;Wheel&#039;&#039;&#039; group to use root privileges with doas:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# &amp;lt;editor&amp;gt; /etc/doas.d/doas.conf}}&lt;br /&gt;
&lt;br /&gt;
add this to a new line:&lt;br /&gt;
{{cmd|permit persist :wheel}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch to the new account type &#039;&#039;&#039;exit&#039;&#039;&#039; in the shell and login with the new user,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Groups ====&lt;br /&gt;
&lt;br /&gt;
Groups are needed for certain operations on your system (e.g &amp;lt;code&amp;gt;audio&amp;lt;/code&amp;gt; to manage your system audio), below is a list of groups,&lt;br /&gt;
{{Note|may be incomplete, if you see a group missing please add it along with a description}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|disk:x:6:root,adm      Only if need usage vith virtual machines and access to other partitions over new disks for&lt;br /&gt;
lp:x:7:lp              If will need to use printing services and printers management&lt;br /&gt;
floppy:x:11:root       Backguard compatible group, use only if need access to external special devices&lt;br /&gt;
audio:x:18:            Need for audio listening and management of sound volumes as normal user&lt;br /&gt;
cdrom:x:19:            For access to disck writers and mounting DVD, BR or CD rom disk as normal user&lt;br /&gt;
dialout:x:20:root      Need for dial private connections and use of modems as normal users&lt;br /&gt;
tape:x:26:root         Need have into this if plan to use special devices for backup.. rarelly in no servers&lt;br /&gt;
video:x:27:root        For usage of cameras, mor thant one GPU special features, as normal user&lt;br /&gt;
netdev:x:28:           For network connections management as normal user&lt;br /&gt;
kvm:x:34:kvm           Only if as normal user will manage graphically virtual machines.. rarelly on no servers&lt;br /&gt;
games:x:35:            Need if you want to play games also specially need if will share score between users&lt;br /&gt;
cdrw:x:80:             To write RW-DVD, RW-BR or RW-CD disk on a disk writing device&lt;br /&gt;
apache:x:81:           Need if you will perfom development as normal user and want to publish locally on web server&lt;br /&gt;
usb:x:85:              Need to access to special usb devices, deprecated group&lt;br /&gt;
users:x:100:games      If you plan to used common files for all users, mandatory as desktop usage}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add your user to a group use the following command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# adduser &amp;lt;YourUsername&amp;gt; &amp;lt;group&amp;gt;}}&lt;br /&gt;
{{Note|you need to log out for the group change(s) to take effect}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Shell ==&lt;br /&gt;
&lt;br /&gt;
{{Note|[https://en.wikipedia.org/wiki/Almquist_shell ash] is the only shell included with Alpine by default, you will need to install another shell if you want a different one}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default AlpineLinux uses the [https://en.wikipedia.org/wiki/Almquist_shell ash] shell, but many users may prefer {{Pkg|bash}}, {{Pkg|zsh}}, {{Pkg|fish}} or another shell, to change this run the following command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|$ chsh}}&lt;br /&gt;
enter your password and you should get the following output:&lt;br /&gt;
&lt;br /&gt;
{{Cat|$ chsh|Changing the login shell for user&lt;br /&gt;
Enter the new value, or press ENTER for the default&lt;br /&gt;
	Login Shell [/bin/ash]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now enter the path for the shell you want to use (e.g &amp;lt;code&amp;gt;/bin/bash&amp;lt;/code&amp;gt;) and press enter to confirm this change,&lt;br /&gt;
{{Note|You may need to log out or reboot for this change to take effect, &#039;&#039;&#039;ash&#039;&#039;&#039; is a part of busybox so you can revert back to &#039;&#039;&#039;ash&#039;&#039;&#039; at anytime with the same steps}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Repositories ==&lt;br /&gt;
&lt;br /&gt;
The Alpine software repositories have three branches:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Main&#039;&#039;&#039;: Main packages are the Alpine software that has direct support and updates from the Alpine core and main team. They also have official special documentation, are always available for all releases and will have substitutions if some are not continued from upstream. Commonly, those packages are selected due to their responsibility and stability with respect to upstream availability. When those in &#039;&#039;testing&#039;&#039; perform well or are mature, they go to the &#039;&#039;main&#039;&#039; branch.&lt;br /&gt;
* &#039;&#039;&#039;Community&#039;&#039;&#039;: Community packages are those made by users in concert with the official developers and integrated into the Alpine packages. They are user supported. Support could end if the user ends support with respect to Alpine work. For example, could not include substitution in next release due to lack of support by the upstream author. They are in &#039;&#039;edge&#039;&#039; and when accepted, go to the &#039;&#039;community&#039;&#039; branch.&lt;br /&gt;
* &#039;&#039;&#039;Edge&#039;&#039;&#039;: New packages come into testing repositories of the edge Alpine version and are those made by any contributor or man power on Alpine. The edge contains unstable current development content. This branch has no release linked or related to Alpine. They are in &#039;&#039;testing&#039;&#039; and when accepted, go to the &#039;&#039;community&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default only the &#039;&#039;&#039;main&#039;&#039;&#039; repository is enabled, most users will probably want to enable the &#039;&#039;&#039;community&#039;&#039;&#039; repository, to enable a repository remove the &#039;&#039;&#039;#&#039;&#039;&#039; in front of the url along with any blank space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Example) Disabled:&lt;br /&gt;
{{cat|/etc/apk/repositories|#http://dl-cdn.alpinelinux.org/alpine/v3.15/community}}&lt;br /&gt;
&lt;br /&gt;
(Example) Enabled:&lt;br /&gt;
{{cat|/etc/apk/repositories|http://dl-cdn.alpinelinux.org/alpine/v3.15/community}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To edit the repositories open the file in a text editor:&lt;br /&gt;
{{cmd|# &amp;lt;editor&amp;gt; /etc/apk/repositories}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example default configuration:&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.15/main&lt;br /&gt;
# http://dl-cdn.alpinelinux.org/alpine/v3.15/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
{{Note|The edge repositories contain unstable and/or possibly untested packages use at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To avoid having to manually update the verison in &#039;&#039;&#039;/etc/apk/repositories&#039;&#039;&#039; for each Alpine Linux update, change &#039;&#039;&#039;v3.15&#039;&#039;&#039; to &#039;&#039;&#039;latest-stable&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/latest-stable/main&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/latest-stable/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
{{Note|Changing the repositories to latest-stable may initiate unexpected release upgrades, do this at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For [https://en.wikipedia.org/wiki/HTTPS#Technical security reasons] it may be a good idea to change the url&#039;s from &#039;&#039;&#039;http&#039;&#039;&#039; to &#039;&#039;&#039;https&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v3.15/main&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v3.15/community&lt;br /&gt;
#https://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#https://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#https://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
{{Note|some Alpine Linux package mirrors may not support https, if that is the case you will need to revert back or change mirrors}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have edited &#039;&#039;&#039;/etc/apk/repositories&#039;&#039;&#039; sync the repositories with:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk update}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing a Display Server (for graphical sessions) ==&lt;br /&gt;
&lt;br /&gt;
==== Xorg ====&lt;br /&gt;
Most desktop enviroments (DE) or Windows Managers (WM) require Xorg (also called: X11, X), although in the future many will fully migrate to [[Wayland]] currently Xorg is still widely used, &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is two ways you can get Xorg installed,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default Alpine Linux provides a script that will install Xorg, run the following command to install Xorg:&lt;br /&gt;
{{cmd|# setup-xorg-base}}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add xorg-server xorg-server-common xorg-server-dev xorgproto xorgxrdp xorgxrdp-dev}}&lt;br /&gt;
{{Note| the apk add method is probably incomplete}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wayland ====&lt;br /&gt;
&#039;&#039;See also: [[Wayland]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Expand|Wayland documentation needs to be expanded}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
If you plan to use a graphical environment you may need/want to install fonts&lt;br /&gt;
{{Note|depending on the desktop environment/window manager fonts may or may not be installed automatically or as dependencies}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See: [[Fonts|Fonts]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing a desktop environment or window manager ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See: [[Desktop environments and Window managers]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
By default Alpine doesnt come with any Sound managment out of the box, these are your options:&lt;br /&gt;
&lt;br /&gt;
* [[PipeWire]]&lt;br /&gt;
* [[PulseAudio]]&lt;br /&gt;
* [[ALSA]]&lt;br /&gt;
&lt;br /&gt;
{{Note|If your unsure {{Pkg|pipewire}} is the recommended option}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Man pages ==&lt;br /&gt;
&lt;br /&gt;
Most Linux distributions have &#039;&#039;&#039;man&#039;&#039;&#039; pages, man pages allow you type &amp;lt;code&amp;gt;man &amp;lt;package&amp;gt;&amp;lt;/code&amp;gt; in a terminal and get some useful information about packages installed on your system quicky without a internet connection, by default Alpine does not include &#039;&#039;&#039;man&#039;&#039;&#039;, you can add that with the following:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;# apk add man-pages&amp;lt;/code&amp;gt; Installs basic manual pages.&lt;br /&gt;
* &amp;lt;code&amp;gt;# apk add mandoc&amp;lt;/code&amp;gt; Installs the man command to be able to open man pages.&lt;br /&gt;
* &amp;lt;code&amp;gt;# apk add mandoc-apropos&amp;lt;/code&amp;gt; Installs the apropos command to search in man pages.&lt;br /&gt;
* &amp;lt;code&amp;gt;# apk add docs&amp;lt;/code&amp;gt; Installs all the *-doc sub-packages of installed packages.&lt;br /&gt;
&lt;br /&gt;
{{Note|man pages may not be available for every package}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Language support ==&lt;br /&gt;
&lt;br /&gt;
{{Expand}}&lt;br /&gt;
&lt;br /&gt;
* Fix unicode defaults: &amp;lt;code&amp;gt;sed -i &#039;s/#unicode=&amp;quot;NO&amp;quot;/#unicode=&amp;quot;NO&amp;quot;\nunicode=&amp;quot;YES&amp;quot;/&#039; /etc/rc.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;apk add musl-locales&amp;lt;/code&amp;gt; Installs a limited set of locales (languages) for musl (C library) generated console messages.&lt;br /&gt;
* Listing defined locales is possible with &amp;lt;code&amp;gt;locale -a&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;cp /etc/profile.d/locale.sh /etc/profile.d/locale.sh.sh&amp;lt;/code&amp;gt; Copies the default locale settings. Then the custom override file can be edited &amp;lt;code&amp;gt;nano /etc/profile.d/locale.sh.sh&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;apk add lang&amp;lt;/code&amp;gt; Pulls in the translation packages of all installed packages.&lt;br /&gt;
* &amp;lt;code&amp;gt;apk list hunspell*&amp;lt;/code&amp;gt;  To list available hunspell dictionary packages.&lt;br /&gt;
* &amp;lt;code&amp;gt;apk list *-xy *-xy-*&amp;lt;/code&amp;gt;  To list translation packages for your specific (xy) language (for example, pt for Portuguese).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
Some other miscellaneous things that might be useful:&lt;br /&gt;
&lt;br /&gt;
==== basic tools ====&lt;br /&gt;
&lt;br /&gt;
Alpine is a minimalist Linux distribution. If you expected a behavior like other Linux distributions, the similarity to them will be minimal at best. Run: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add sed attr dialog bash bash-completion grep util-linux pciutils usbutils binutils findutils readline lsof less nano curl}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|&amp;lt;nowiki&amp;gt;$ export PAGER=less&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
==== I dont have permission to do anything in my user&#039;s home directory ====&lt;br /&gt;
&lt;br /&gt;
By default the permissions of your new user(s) home directory may be limited to the root account, run one of these commands to change that: &lt;br /&gt;
&lt;br /&gt;
{{cmd|# chmod 700 /home/&amp;lt;YourUsername&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{cmd|# chmod 777 /home/&amp;lt;YourUsername&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Installation]]&lt;br /&gt;
* [[Comparison with other distros]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_on_Amazon_EC2&amp;diff=21441</id>
		<title>Install Alpine on Amazon EC2</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_on_Amazon_EC2&amp;diff=21441"/>
		<updated>2022-01-06T17:27:52Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove AND STOP TO USE NEWBIE REFERENCE is a separate work in progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Move|	Alpine Install: from a image to a Amazon EC2 instance |This article need wikiformating consisten with setups procedure and naming formating.}}&lt;br /&gt;
&lt;br /&gt;
EC2 instances are available in a variety of [https://aws.amazon.com/ec2/instance-types/ different sizes] with different specifications but all of them currently run on one of two types of virtualization technology: [https://en.wikipedia.org/wiki/Paravirtualization paravirtualization] (PV) or [https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine hardware virtual machine] (HVM).&lt;br /&gt;
&lt;br /&gt;
PV instances boot with a special boot loader called PV-GRUB, which starts the boot cycle and then chain loads the kernel specified in the menu.lst file on your image. Paravirtual guests can run on host hardware that does not have explicit support for virtualization, but they cannot take advantage of special hardware extensions such as enhanced networking or GPU processing.&lt;br /&gt;
&lt;br /&gt;
HVM instances are presented with a fully virtualized set of hardware and boot by executing the master boot record of the root block device of your image. This virtualization type provides the ability to run an operating system directly on top of a virtual machine without any modification, as if it were run on the bare-metal hardware. The Amazon EC2 host system emulates some or all of the underlying hardware that is presented to the guest. (from: [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/virtualization_types.html Linux AMI Virtualization Types]).&lt;br /&gt;
&lt;br /&gt;
Only older instance types support PV instances, all new instance types use an HVM hypervisor. For the purposes of setting up Alpine Linux on EC2 this mainly impacts the way the bootloader is configured.&lt;br /&gt;
&lt;br /&gt;
EC2 instances are created from templates called Amazon Machine Images (AMI). AMIs are built using existing running instances and then are turned into AMIs using a snapshot process. Note that an AMI is region specific so you must either follow this guide in each region you plan to deploy Alpine Linux instances or you must copy the AMI using either the console or the AWS command line client to each region you plan to use.&lt;br /&gt;
&lt;br /&gt;
All instance types are 64-bit. 32-bit images will not work.&lt;br /&gt;
&lt;br /&gt;
This guide will create the smallest possible (1GB) EBS-backed image which acts as a virtual USB stick that will boot and run Alpine Linux.  &lt;br /&gt;
= Initial Setup =&lt;br /&gt;
All AMI creation tasks follow the same set of setup steps which require a running Linux instance and an attached EBS volume. The Linux instance will only be used to set up the root filesystem for your Alpine Linux system so any distro works, Amazon Linux is the default so, where relevant, this guide will use that distro.&lt;br /&gt;
&lt;br /&gt;
# Create an EC2 instance, t2.micro running Amazon Linux should suffice&lt;br /&gt;
# Create a 1GB EBS volume and attach it to the instance as {{Path|/dev/sdf}} (this will appear on an HVM instance as {{Path|/dev/xvdf}})&lt;br /&gt;
# Format the disk as ext4, there is no need to partition the drive: {{Cmd|mkfs.ext4 /dev/xvdf}}&lt;br /&gt;
# Mount the drive to the host: {{Cmd|mkdir /mnt/target &amp;amp;&amp;amp; mount /dev/xvdf /mnt/target}}&lt;br /&gt;
# Fetch a copy of the latest virt release: {{Cmd|curl -o /tmp/alpine-release.iso http://dl-4.alpinelinux.org/alpine/v3.7/releases/x86_64/alpine-virt-3.7.0-x86_64.iso}}&lt;br /&gt;
# Mount the release iso: {{Cmd|mkdir /mnt/source &amp;amp;&amp;amp; mount -o loop /tmp/alpine-release.iso /mnt/source}}&lt;br /&gt;
# Copy the files to the target {{Cmd|cp -av /mnt/source/boot /mnt/target}}&lt;br /&gt;
&lt;br /&gt;
The sudo package is not included in the on-disk repository for the virt image which means that it will not be accessible for installation at system boot time; to enable this you will need a copy of the repository from the extended image. Download this image and copy the &amp;lt;tt&amp;gt;apks&amp;lt;/tt&amp;gt; folder to the target.&lt;br /&gt;
&lt;br /&gt;
# Fetch a copy of the latest extended release: {{Cmd|curl -o /tmp/alpine-extended-release.iso http://dl-4.alpinelinux.org/alpine/v3.7/releases/x86_64/alpine-extended-3.7.0-x86_64.iso}}&lt;br /&gt;
# Mount the release iso: {{Cmd|mkdir /mnt/source-extended &amp;amp;&amp;amp; mount -o loop /tmp/alpine-extended-release.iso /mnt/source-extended}}&lt;br /&gt;
# Copy the files to the target {{Cmd|cp -av /mnt/source-extended/apks /mnt/target}}&lt;br /&gt;
&lt;br /&gt;
Because the packages on Amazon Linux are a little older than the ones that ship with Alpine and because you will be creating an apkovl file for initial system configuration, you will either need an existing Alpine Linux system or a copy of the minirootfs image into which you can chroot. To set up a chroot:&lt;br /&gt;
&lt;br /&gt;
# Fetch a copy of the latest minirootfs release: {{Cmd|curl -o /tmp/alpine-minirootfs.tar.gz http://dl-4.alpinelinux.org/alpine/v3.7/releases/x86_64/alpine-minirootfs-3.7.0-x86_64.tar.gz}}&lt;br /&gt;
# Unpack the root fs: {{Cmd|mkdir /tmp/alpine-chroot &amp;amp;&amp;amp; tar -C /tmp/alpine-chroot -xvf /tmp/alpine-minirootfs.tar.gz}}&lt;br /&gt;
# Copy the system resolv.conf into the chroot so you will have internet access: {{Cmd|cp /etc/resolv.conf /tmp/alpine-chroot/etc}}&lt;br /&gt;
&lt;br /&gt;
= Create an Apkovl File =&lt;br /&gt;
The top level of the EBS volume will be scanned during boot for files named &amp;lt;tt&amp;gt;*.apkovl.tar.gz&amp;lt;/tt&amp;gt; and the first one that is found will be unpacked and overlayed onto the file system. The goal of this archive is to configure the system so that you will be able to login after the system boots. At a minimum this means:&lt;br /&gt;
&lt;br /&gt;
* Configure networking to use dhcp and start when the system boots&lt;br /&gt;
* Install an SSH daemon&lt;br /&gt;
* Configure a user with your SSH keys&lt;br /&gt;
* Enable sudo so that you can gain root access&lt;br /&gt;
&lt;br /&gt;
Set up the chroot and chroot into it, then add any desired packages. The &amp;lt;tt&amp;gt;busybox-initscripts&amp;lt;/tt&amp;gt; package provides the required files for udhcpc which will allow DHCP to be enabled. The &amp;lt;tt&amp;gt;syslinux&amp;lt;/tt&amp;gt; package is required to install the boot-loader but is not required on the final system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/alpine-chroot/mnt/target&lt;br /&gt;
mount -o bind /mnt/target /tmp/alpine-chroot/mnt/target&lt;br /&gt;
mount -t proc none /tmp/alpine-chroot/proc&lt;br /&gt;
mount -t devtmpfs none /tmp/alpine-chroot/dev&lt;br /&gt;
mount -t sysfs none /tmp/alpine-chroot/sys&lt;br /&gt;
&lt;br /&gt;
chroot /tmp/alpine-chroot sh&lt;br /&gt;
&lt;br /&gt;
apk update&lt;br /&gt;
apk add alpine-conf sudo openssh busybox-initscripts syslinux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Alpine init system will start up the core required services if the file {{Path|/etc/.default_boot_services}} exists, so create that.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
touch etc/.default_boot_services&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up networking:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat &amp;gt; /etc/network/interfaces &amp;lt;&amp;lt;EOF&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet dhcp&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
ln -s /etc/init.d/networking /etc/runlevels/default/&lt;br /&gt;
ln -s /etc/init.d/sshd /etc/runlevels/default/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a user, set an SSH key, and ensure that this user can sudo:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser -D -s /bin/sh alpine&lt;br /&gt;
addgroup alpine wheel&lt;br /&gt;
&lt;br /&gt;
mkdir /home/alpine/.ssh&lt;br /&gt;
chmod 700 /home/alpine/.ssh&lt;br /&gt;
chown alpine /home/alpine/.ssh&lt;br /&gt;
cat &amp;gt; /home/alpine/.ssh/authorized_keys &amp;lt;&amp;lt;EOF&lt;br /&gt;
... your ssh public key(s) ...&lt;br /&gt;
EOF&lt;br /&gt;
chmod 600 /home/alpine/.ssh/authorized_keys&lt;br /&gt;
chown alpine:alpine /home/alpine/.ssh/authorized_keys&lt;br /&gt;
&lt;br /&gt;
passwd -u alpine&lt;br /&gt;
&lt;br /&gt;
sed -i &#039;/%wheel/s/^# //&#039; /etc/sudoers&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Exclude backup files and any files that are going to exist in the unpacked image. Then create an apkovl bundle.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
lbu exclude \&lt;br /&gt;
    etc/group- etc/passwd- etc/shadow- \&lt;br /&gt;
    etc/apk/keys etc/apk/arch etc/apk/repositories \&lt;br /&gt;
    etc/os-release \&lt;br /&gt;
    etc/issue \&lt;br /&gt;
    etc/alpine-release&lt;br /&gt;
lbu include /home/alpine/.ssh&lt;br /&gt;
lbu package amazon.apkovl.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Verify that everything you expect to be in the apovl file is there and if not you can [[Manually_editing_a_existing_apkovl|modify the apkovl]].&lt;br /&gt;
&lt;br /&gt;
Finally, copy the apkovl to {{Path|/mnt/target}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp amazon.apkovl.tar.gz /mnt/target&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= EBS Backed HVM AMI =&lt;br /&gt;
For HVM instances you will need to install a boot-loader. Any bootloader should do the trick but this guide will use syslinux because it&#039;s fast and small and you don&#039;t have to support any odd hardware or system layout.&lt;br /&gt;
&lt;br /&gt;
First you will need to ensure that the ext4 driver is loaded and may as well shorten the timeout to speed instance boot time.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sed -i \&lt;br /&gt;
    -e &#039;/usb-storage/s//usb-storage,ext4/&#039; \&lt;br /&gt;
    -e &#039;/^TIMEOUT/s/20/2/&#039; \&lt;br /&gt;
    /mnt/target/boot/syslinux/syslinux.cfg}}&lt;br /&gt;
&lt;br /&gt;
Finally, install the bootloader: {{Cmd|extlinux -i /mnt/target/boot}}&lt;br /&gt;
&lt;br /&gt;
= EBS Backed PV AMI =&lt;br /&gt;
For PV AMIs PV-GRUB will attempt to read {{Path|/boot/grub/menu.lst}} to load the kernel. First create a {{Path|/boot/grub/grub.conf}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p /mnt/target/boot/grub&lt;br /&gt;
&lt;br /&gt;
cat &amp;gt; target/boot/grub/grub.conf &amp;lt;&amp;lt;EOF &lt;br /&gt;
default=0&lt;br /&gt;
timeout=2&lt;br /&gt;
hiddenmenu&lt;br /&gt;
&lt;br /&gt;
title Alpine Linux&lt;br /&gt;
root (hd0)&lt;br /&gt;
kernel /boot/vmlinuz-virthardened alpine_dev=xvda1:ext4 modules=loop,squashfs,sd-mod,ext4 console=hvc0 pax_nouderef BOOT_IMAGE=/boot/vmlinuz-virthardened&lt;br /&gt;
initrd /boot/initramfs-virthardened&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
ln -s /mnt/target/boot/grub/grub.conf  /mnt/target/boot/grub/menu.lst&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Create the AMI =&lt;br /&gt;
The following will need to be done in the AWS console.&lt;br /&gt;
&lt;br /&gt;
# Detach the new volume (make note of the volume ID)&lt;br /&gt;
# Launch a new instance, use the defaults; you are going to cannibalize it in a moment&lt;br /&gt;
# Once the instance starts, stop but do not terminate it&lt;br /&gt;
# Under EBS, detach the existing volume, and attach the Alpine Linux volume as {{Path|/dev/xvda}} (for HVM) or {{Path|/dev/sda1}} (for PV)&lt;br /&gt;
# Restart the instance&lt;br /&gt;
# Log in and make sure it works&lt;br /&gt;
# Do any final cleanups necessary. Only make changes appropriate for an AMI, you are going to snapshot this instance and use it as the base for the AMI.&lt;br /&gt;
# Stop but do not terminate the instance&lt;br /&gt;
# Right click the stopped instance and choose &#039;Create Image (EBS AMI)&#039;&lt;br /&gt;
# Once the AMI creation finishes you can cleanup the instances and EBS volumes used&lt;br /&gt;
&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21438</id>
		<title>Alpine Install: from a disc to a virtualbox machine single only</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21438"/>
		<updated>2022-01-06T17:25:04Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Installing Alpine from an official disc image to a VirtualBox machine.&lt;br /&gt;
&lt;br /&gt;
This document guides you through installing Alpine on a VirtualBox VM - this is ideal if you only want to try out Alpine.&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Host machine&#039;&#039;&#039;: the machine you&#039;re running VirtualBox on. It will &amp;quot;host&amp;quot; the target virtual machine.&lt;br /&gt;
* &#039;&#039;&#039;Guest machine&#039;&#039;&#039;: your target machine where Alpine will be installed, executed by the VirtualBox software on the host machine.&lt;br /&gt;
* &#039;&#039;&#039;Reserved RAM&#039;&#039;&#039;: the amount of host machine RAM that will be needed for exclusive use by the guest machine. The host machine cannot use this RAM while the guest machine is running.&lt;br /&gt;
* &#039;&#039;&#039;Virtual disc&#039;&#039;&#039;: the emulated storage medium attached to the guest machine. Usually it is a file (or several files) which VirtualBox presents as a disk to the guest OS (Alpine).&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
On the host machine:&lt;br /&gt;
&lt;br /&gt;
* Qemu or VirtualBox using package manager! Do not promote Oracle&#039;s policy of overversiones without security patches&lt;br /&gt;
* At least 1GB of RAM, 2GB or more if you don&#039;t want lockups while running something in addition to the virtual machine software&lt;br /&gt;
* The &amp;lt;code&amp;gt;curl&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt; programs to download the image to boot in the virtual software&lt;br /&gt;
&lt;br /&gt;
On the guest machine:&lt;br /&gt;
&lt;br /&gt;
* Minimum 512Mb RAM, but 1Gb or more is recommended if you&#039;re going to use a graphical interface. That obviouly must be in sync with the host machine.&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home; there&#039;s more hardware medium sources to download, like the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Linux_on_z_Systems s390x]&#039;&#039;&#039; and &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Ppc64 ppc64le]&#039;&#039;&#039;, but because VirtualBox handles only &#039;&#039;&#039;x86&#039;&#039;&#039; and &#039;&#039;&#039;x64&#039;&#039;&#039;&lt;br /&gt;
hardware, we will list those here&lt;br /&gt;
&lt;br /&gt;
The name of the source medium to install will be in the following format: &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;&#039;&#039;&#039; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; can be one of the following, for VirtualBox virtual machines:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: The well known i386 to i686. (32-bit machines) &lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; as the name says, the latest, stable version&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; UEFI support began with this version&lt;br /&gt;
** &#039;&#039;&#039;3.8&#039;&#039;&#039; recommended for machines manufactured between 2012 and 2016&lt;br /&gt;
** &#039;&#039;&#039;3.6&#039;&#039;&#039; recommended for older machines&lt;br /&gt;
&lt;br /&gt;
Typically, the version most commonly used in a virtual box is the x86. The hardware is cheaper and operation does not consume a lot of memory.&lt;br /&gt;
The iso download URL format is:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; will be:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that URL and the download will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with a name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86.iso&amp;quot;&amp;lt;/code&amp;gt; (if i386/686); will be downloaded into the directory specified in your browser configuration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: just open a terminal and execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;, for example:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; the command will be:&lt;br /&gt;
&amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must be mindful of the directory you run the command from, as that is where the file will be saved.&lt;br /&gt;
&lt;br /&gt;
== Preparing the virtual machine to install ==&lt;br /&gt;
&lt;br /&gt;
Start the VirtualBox software program.&lt;br /&gt;
&lt;br /&gt;
# In the main window &#039;&#039;&#039;create a new virtual machine&#039;&#039;&#039; by &#039;&#039;&#039;clicking the blue spark New button&#039;&#039;&#039;.  That will open a new window with the following questions:&lt;br /&gt;
## It will ask for a &#039;&#039;&#039;name for the virtual like &amp;quot;alpine-desktop-try1&amp;quot;&#039;&#039;&#039;. &lt;br /&gt;
## The Type of the &#039;&#039;&#039;Operating system choose &amp;quot;linux&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
## The version &#039;&#039;&#039;choose &amp;quot;other linux&amp;quot;&#039;&#039;&#039;. It must match the chosen &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; (e.g. x86).&lt;br /&gt;
## Click the &amp;quot;Next&amp;quot; button to continue creating the virtual machine.&lt;br /&gt;
# When selecting the amount of RAM for the virtual machine, choose a minimum of &#039;&#039;&#039;512MB&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
# A new window with a &#039;&#039;&#039;Hard disk assistant will open&#039;&#039;&#039;.&lt;br /&gt;
## First choose &#039;&#039;&#039;&amp;quot;Create a virtual hard disk now&amp;quot;&#039;&#039;&#039; then click the &amp;quot;Create&amp;quot; button.&lt;br /&gt;
## Next choose the option for &#039;&#039;&#039;hard disk type: VDI&#039;&#039;&#039; and push &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## Choose &#039;&#039;&#039;dynamically allocated&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## The next window will offer the &#039;&#039;&#039;size of virtual disk. 4GB&#039;&#039;&#039;, however, you may choose a different amount of storage space.&lt;br /&gt;
## After clicking on &amp;quot;Create&amp;quot; the virtual machine will be ready to use.&lt;br /&gt;
# Now the main window shows you the &amp;quot;alpine-desktop-try1&amp;quot; virtual machine, select it.&lt;br /&gt;
## Click on the yellow &amp;quot;Configuration&amp;quot; button. Go to the storage menu and pull it down.&lt;br /&gt;
## Select the disc drive icon for CD/DVD ROM and click on the CD/DVD drive icon at the right.&lt;br /&gt;
## A Mini menu will open. Select an external file event the host CD/DVD drive.&lt;br /&gt;
## A file open dialog will open. Search for the downloaded Alpine iso and select it.&lt;br /&gt;
## Once you choose the iso file to boot, click the &amp;quot;Ok&amp;quot; button to finish creating the virtual machine.&lt;br /&gt;
# Click the green &amp;quot;Start&amp;quot; arrow to start the virtual machine and boot the iso.&lt;br /&gt;
&lt;br /&gt;
[[File:Alpine Install from a disc to a virtualbox machine single only-01-0.png|center|Alpine configuration commonly used of a virtual machine on virtual box virtual machine]]&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine starts, you must be sure to choose the Optical drive (commonly named CD/DVD ROM drive), so the disc/iso will boot. After a while, a command line shell will show you&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
TODO restore the inclusion of template inclkude pages here, were edited and now does not have any sense respect this guide.. &lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After setup ends, a &amp;quot;reboot&amp;quot; will be offered. Type &amp;quot;reboot&amp;quot; and press enter and your newly installed virtual machine will be booted. Don&#039;t forget to remove the boot medium.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You cannot see a graphical window system? No problem.&#039;&#039;&#039; With Alpine, GUIs are made the right way.  So &#039;&#039;&#039;if you need a desktop, you can install a desktop&#039;&#039;&#039; follow this link: Alpine newbie packages or go directly to [[Alpine newbie desktops]]&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| Alpine newbie install manual || Alpine newbie packages&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_on_Amazon_EC2&amp;diff=21437</id>
		<title>Install Alpine on Amazon EC2</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_on_Amazon_EC2&amp;diff=21437"/>
		<updated>2022-01-06T17:24:37Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: use the page of the guest use that is too emotional to understand and use right wikitools&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Move|	Alpine Install: from a image to a Amazon EC2 instance |This article need wikiformating consisten with setups procedure and naming formating, see [[Alpine_newbie_installation]].}}&lt;br /&gt;
&lt;br /&gt;
EC2 instances are available in a variety of [https://aws.amazon.com/ec2/instance-types/ different sizes] with different specifications but all of them currently run on one of two types of virtualization technology: [https://en.wikipedia.org/wiki/Paravirtualization paravirtualization] (PV) or [https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine hardware virtual machine] (HVM).&lt;br /&gt;
&lt;br /&gt;
PV instances boot with a special boot loader called PV-GRUB, which starts the boot cycle and then chain loads the kernel specified in the menu.lst file on your image. Paravirtual guests can run on host hardware that does not have explicit support for virtualization, but they cannot take advantage of special hardware extensions such as enhanced networking or GPU processing.&lt;br /&gt;
&lt;br /&gt;
HVM instances are presented with a fully virtualized set of hardware and boot by executing the master boot record of the root block device of your image. This virtualization type provides the ability to run an operating system directly on top of a virtual machine without any modification, as if it were run on the bare-metal hardware. The Amazon EC2 host system emulates some or all of the underlying hardware that is presented to the guest. (from: [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/virtualization_types.html Linux AMI Virtualization Types]).&lt;br /&gt;
&lt;br /&gt;
Only older instance types support PV instances, all new instance types use an HVM hypervisor. For the purposes of setting up Alpine Linux on EC2 this mainly impacts the way the bootloader is configured.&lt;br /&gt;
&lt;br /&gt;
EC2 instances are created from templates called Amazon Machine Images (AMI). AMIs are built using existing running instances and then are turned into AMIs using a snapshot process. Note that an AMI is region specific so you must either follow this guide in each region you plan to deploy Alpine Linux instances or you must copy the AMI using either the console or the AWS command line client to each region you plan to use.&lt;br /&gt;
&lt;br /&gt;
All instance types are 64-bit. 32-bit images will not work.&lt;br /&gt;
&lt;br /&gt;
This guide will create the smallest possible (1GB) EBS-backed image which acts as a virtual USB stick that will boot and run Alpine Linux.  &lt;br /&gt;
= Initial Setup =&lt;br /&gt;
All AMI creation tasks follow the same set of setup steps which require a running Linux instance and an attached EBS volume. The Linux instance will only be used to set up the root filesystem for your Alpine Linux system so any distro works, Amazon Linux is the default so, where relevant, this guide will use that distro.&lt;br /&gt;
&lt;br /&gt;
# Create an EC2 instance, t2.micro running Amazon Linux should suffice&lt;br /&gt;
# Create a 1GB EBS volume and attach it to the instance as {{Path|/dev/sdf}} (this will appear on an HVM instance as {{Path|/dev/xvdf}})&lt;br /&gt;
# Format the disk as ext4, there is no need to partition the drive: {{Cmd|mkfs.ext4 /dev/xvdf}}&lt;br /&gt;
# Mount the drive to the host: {{Cmd|mkdir /mnt/target &amp;amp;&amp;amp; mount /dev/xvdf /mnt/target}}&lt;br /&gt;
# Fetch a copy of the latest virt release: {{Cmd|curl -o /tmp/alpine-release.iso http://dl-4.alpinelinux.org/alpine/v3.7/releases/x86_64/alpine-virt-3.7.0-x86_64.iso}}&lt;br /&gt;
# Mount the release iso: {{Cmd|mkdir /mnt/source &amp;amp;&amp;amp; mount -o loop /tmp/alpine-release.iso /mnt/source}}&lt;br /&gt;
# Copy the files to the target {{Cmd|cp -av /mnt/source/boot /mnt/target}}&lt;br /&gt;
&lt;br /&gt;
The sudo package is not included in the on-disk repository for the virt image which means that it will not be accessible for installation at system boot time; to enable this you will need a copy of the repository from the extended image. Download this image and copy the &amp;lt;tt&amp;gt;apks&amp;lt;/tt&amp;gt; folder to the target.&lt;br /&gt;
&lt;br /&gt;
# Fetch a copy of the latest extended release: {{Cmd|curl -o /tmp/alpine-extended-release.iso http://dl-4.alpinelinux.org/alpine/v3.7/releases/x86_64/alpine-extended-3.7.0-x86_64.iso}}&lt;br /&gt;
# Mount the release iso: {{Cmd|mkdir /mnt/source-extended &amp;amp;&amp;amp; mount -o loop /tmp/alpine-extended-release.iso /mnt/source-extended}}&lt;br /&gt;
# Copy the files to the target {{Cmd|cp -av /mnt/source-extended/apks /mnt/target}}&lt;br /&gt;
&lt;br /&gt;
Because the packages on Amazon Linux are a little older than the ones that ship with Alpine and because you will be creating an apkovl file for initial system configuration, you will either need an existing Alpine Linux system or a copy of the minirootfs image into which you can chroot. To set up a chroot:&lt;br /&gt;
&lt;br /&gt;
# Fetch a copy of the latest minirootfs release: {{Cmd|curl -o /tmp/alpine-minirootfs.tar.gz http://dl-4.alpinelinux.org/alpine/v3.7/releases/x86_64/alpine-minirootfs-3.7.0-x86_64.tar.gz}}&lt;br /&gt;
# Unpack the root fs: {{Cmd|mkdir /tmp/alpine-chroot &amp;amp;&amp;amp; tar -C /tmp/alpine-chroot -xvf /tmp/alpine-minirootfs.tar.gz}}&lt;br /&gt;
# Copy the system resolv.conf into the chroot so you will have internet access: {{Cmd|cp /etc/resolv.conf /tmp/alpine-chroot/etc}}&lt;br /&gt;
&lt;br /&gt;
= Create an Apkovl File =&lt;br /&gt;
The top level of the EBS volume will be scanned during boot for files named &amp;lt;tt&amp;gt;*.apkovl.tar.gz&amp;lt;/tt&amp;gt; and the first one that is found will be unpacked and overlayed onto the file system. The goal of this archive is to configure the system so that you will be able to login after the system boots. At a minimum this means:&lt;br /&gt;
&lt;br /&gt;
* Configure networking to use dhcp and start when the system boots&lt;br /&gt;
* Install an SSH daemon&lt;br /&gt;
* Configure a user with your SSH keys&lt;br /&gt;
* Enable sudo so that you can gain root access&lt;br /&gt;
&lt;br /&gt;
Set up the chroot and chroot into it, then add any desired packages. The &amp;lt;tt&amp;gt;busybox-initscripts&amp;lt;/tt&amp;gt; package provides the required files for udhcpc which will allow DHCP to be enabled. The &amp;lt;tt&amp;gt;syslinux&amp;lt;/tt&amp;gt; package is required to install the boot-loader but is not required on the final system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/alpine-chroot/mnt/target&lt;br /&gt;
mount -o bind /mnt/target /tmp/alpine-chroot/mnt/target&lt;br /&gt;
mount -t proc none /tmp/alpine-chroot/proc&lt;br /&gt;
mount -t devtmpfs none /tmp/alpine-chroot/dev&lt;br /&gt;
mount -t sysfs none /tmp/alpine-chroot/sys&lt;br /&gt;
&lt;br /&gt;
chroot /tmp/alpine-chroot sh&lt;br /&gt;
&lt;br /&gt;
apk update&lt;br /&gt;
apk add alpine-conf sudo openssh busybox-initscripts syslinux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Alpine init system will start up the core required services if the file {{Path|/etc/.default_boot_services}} exists, so create that.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
touch etc/.default_boot_services&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up networking:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat &amp;gt; /etc/network/interfaces &amp;lt;&amp;lt;EOF&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet dhcp&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
ln -s /etc/init.d/networking /etc/runlevels/default/&lt;br /&gt;
ln -s /etc/init.d/sshd /etc/runlevels/default/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a user, set an SSH key, and ensure that this user can sudo:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser -D -s /bin/sh alpine&lt;br /&gt;
addgroup alpine wheel&lt;br /&gt;
&lt;br /&gt;
mkdir /home/alpine/.ssh&lt;br /&gt;
chmod 700 /home/alpine/.ssh&lt;br /&gt;
chown alpine /home/alpine/.ssh&lt;br /&gt;
cat &amp;gt; /home/alpine/.ssh/authorized_keys &amp;lt;&amp;lt;EOF&lt;br /&gt;
... your ssh public key(s) ...&lt;br /&gt;
EOF&lt;br /&gt;
chmod 600 /home/alpine/.ssh/authorized_keys&lt;br /&gt;
chown alpine:alpine /home/alpine/.ssh/authorized_keys&lt;br /&gt;
&lt;br /&gt;
passwd -u alpine&lt;br /&gt;
&lt;br /&gt;
sed -i &#039;/%wheel/s/^# //&#039; /etc/sudoers&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Exclude backup files and any files that are going to exist in the unpacked image. Then create an apkovl bundle.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
lbu exclude \&lt;br /&gt;
    etc/group- etc/passwd- etc/shadow- \&lt;br /&gt;
    etc/apk/keys etc/apk/arch etc/apk/repositories \&lt;br /&gt;
    etc/os-release \&lt;br /&gt;
    etc/issue \&lt;br /&gt;
    etc/alpine-release&lt;br /&gt;
lbu include /home/alpine/.ssh&lt;br /&gt;
lbu package amazon.apkovl.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Verify that everything you expect to be in the apovl file is there and if not you can [[Manually_editing_a_existing_apkovl|modify the apkovl]].&lt;br /&gt;
&lt;br /&gt;
Finally, copy the apkovl to {{Path|/mnt/target}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp amazon.apkovl.tar.gz /mnt/target&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= EBS Backed HVM AMI =&lt;br /&gt;
For HVM instances you will need to install a boot-loader. Any bootloader should do the trick but this guide will use syslinux because it&#039;s fast and small and you don&#039;t have to support any odd hardware or system layout.&lt;br /&gt;
&lt;br /&gt;
First you will need to ensure that the ext4 driver is loaded and may as well shorten the timeout to speed instance boot time.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sed -i \&lt;br /&gt;
    -e &#039;/usb-storage/s//usb-storage,ext4/&#039; \&lt;br /&gt;
    -e &#039;/^TIMEOUT/s/20/2/&#039; \&lt;br /&gt;
    /mnt/target/boot/syslinux/syslinux.cfg}}&lt;br /&gt;
&lt;br /&gt;
Finally, install the bootloader: {{Cmd|extlinux -i /mnt/target/boot}}&lt;br /&gt;
&lt;br /&gt;
= EBS Backed PV AMI =&lt;br /&gt;
For PV AMIs PV-GRUB will attempt to read {{Path|/boot/grub/menu.lst}} to load the kernel. First create a {{Path|/boot/grub/grub.conf}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p /mnt/target/boot/grub&lt;br /&gt;
&lt;br /&gt;
cat &amp;gt; target/boot/grub/grub.conf &amp;lt;&amp;lt;EOF &lt;br /&gt;
default=0&lt;br /&gt;
timeout=2&lt;br /&gt;
hiddenmenu&lt;br /&gt;
&lt;br /&gt;
title Alpine Linux&lt;br /&gt;
root (hd0)&lt;br /&gt;
kernel /boot/vmlinuz-virthardened alpine_dev=xvda1:ext4 modules=loop,squashfs,sd-mod,ext4 console=hvc0 pax_nouderef BOOT_IMAGE=/boot/vmlinuz-virthardened&lt;br /&gt;
initrd /boot/initramfs-virthardened&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
ln -s /mnt/target/boot/grub/grub.conf  /mnt/target/boot/grub/menu.lst&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Create the AMI =&lt;br /&gt;
The following will need to be done in the AWS console.&lt;br /&gt;
&lt;br /&gt;
# Detach the new volume (make note of the volume ID)&lt;br /&gt;
# Launch a new instance, use the defaults; you are going to cannibalize it in a moment&lt;br /&gt;
# Once the instance starts, stop but do not terminate it&lt;br /&gt;
# Under EBS, detach the existing volume, and attach the Alpine Linux volume as {{Path|/dev/xvda}} (for HVM) or {{Path|/dev/sda1}} (for PV)&lt;br /&gt;
# Restart the instance&lt;br /&gt;
# Log in and make sure it works&lt;br /&gt;
# Do any final cleanups necessary. Only make changes appropriate for an AMI, you are going to snapshot this instance and use it as the base for the AMI.&lt;br /&gt;
# Stop but do not terminate the instance&lt;br /&gt;
# Right click the stopped instance and choose &#039;Create Image (EBS AMI)&#039;&lt;br /&gt;
# Once the AMI creation finishes you can cleanup the instances and EBS volumes used&lt;br /&gt;
&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_iso_to_a_virtualbox_machine_with_external_disc&amp;diff=21434</id>
		<title>Alpine Install: from a iso to a virtualbox machine with external disc</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_iso_to_a_virtualbox_machine_with_external_disc&amp;diff=21434"/>
		<updated>2022-01-06T17:16:45Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Alpine Installation from a official disc/iso downloaded to a real hard disk by the usage of VirtualBox machine as the real machine, where will be single OS only.&lt;br /&gt;
&lt;br /&gt;
This document will guide you to &#039;&#039;&#039;install Alpine into a real hard disk device but through the VirtualBox virtual machine acting as real machine&#039;&#039;&#039;, use if want to install to a real hard disk device externally but no way to boot it so can use in VirtualBox virtual machine .&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Host machine&#039;&#039;&#039;: will be your real machine with installed operating system that have installed the VirtualBox software and &amp;quot;will host&amp;quot; the target operating system, in that case Alpine.&lt;br /&gt;
* &#039;&#039;&#039;Guest machine&#039;&#039;&#039;: will be your target machine where Alpine will be installed, emulated by the host operating system using the VirtualBox software installed in the real machine.&lt;br /&gt;
* &#039;&#039;&#039;Reserved RAM&#039;&#039;&#039;: will be the amount of RAM that will be need to share exclusively to the virtual machine created by the VirtualBox software in the host machine, stolen from the real RAM.&lt;br /&gt;
* &#039;&#039;&#039;External disc&#039;&#039;&#039;: will be the storage medium device attached as target for the emulated machine or &amp;quot;guest machine&amp;quot;, where the Alpine will be installed.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* In the host machine we need installed the &amp;lt;code&amp;gt;virtualbox&amp;lt;/code&amp;gt; program from VirtualBox software&lt;br /&gt;
* In the host machine we need at least 1Gb of RAM, recommended 2Gb of RAM installed&lt;br /&gt;
* The guest machine need 512Mb RAM, but recommended 1Gb reserved if desktop software will be installed&lt;br /&gt;
* In the host machine we need installed &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt; or a web browser to download install medium&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium origin to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home, there&#039;s more hardware medium sources to download, like the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Linux_on_z_Systems s390x]&#039;&#039;&#039; and &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Ppc64 ppc64le]&#039;&#039;&#039;, but due VirtualBox only emulates &#039;&#039;&#039;x86&#039;&#039;&#039;, &#039;&#039;&#039;x64&#039;&#039;&#039; and &#039;&#039;&#039;arm&#039;&#039;&#039; hardware only, will list those here.&lt;br /&gt;
&lt;br /&gt;
The source medium to install will be as following format: &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-netboot-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;&#039;&#039;&#039; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; could be the following for VirtualBox virtual machines:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; will be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: The popular i386/i686 compatible 32-bit x86 based machines, i386 recommended for olders.&lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines, recommended for newer/lasted hardware.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; will be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; for a more up to date without taking care of numbered&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; the most recommended for machines between 2016 to 2018&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;So using 3.10 version and i386 flavor the available links to download will be:&#039;&#039;&#039; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that url and the download of the iso file will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86_64.iso&amp;quot;&amp;lt;/code&amp;gt; will be downloaded commonly into the Download directory of your home documents filesystem.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: in unix-like terminal execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;,  and where you run the command, in that place/dir will be downloaded the file.&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium target to install ==&lt;br /&gt;
&lt;br /&gt;
Please take care of your attached devices.. for best care results only use those involved in the process, so only put the disc (that can be a USB flash, MMC card or external drive) attached, and remove all others that will no to be use. &#039;&#039;&#039;We will assume only one internal disc (that obviously cannot be removed) and one external disk attached&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The external disc will be detected and the operating system will create a new device representation, such like &amp;lt;code&amp;gt;/dev/sdb&amp;lt;/code&amp;gt; commonly. In Linux systems you can detect the recently attached disk with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/bin/dmesg | tail -n 50| grep &#039;Attached SCSI&#039; | cut -d&#039; &#039; -f4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will output &amp;lt;code&amp;gt;[sde]&amp;lt;/code&amp;gt; for our example installation. Caution due that previously command only will work if you recently attached the new external disk where the system will be installed.&lt;br /&gt;
&lt;br /&gt;
Later with the detection of the disk, create the representation for the VirtualBox virtual machine, the detection will be put in &amp;lt;code&amp;gt;/dev/&amp;lt;/code&amp;gt; parameter.. so if the disk was detect as &amp;lt;code&amp;gt;[sde]&amp;lt;/code&amp;gt; you must use it without &amp;lt;nowiki&amp;gt;&amp;quot;[&amp;quot;/&amp;quot;]&amp;quot;&amp;lt;/nowiki&amp;gt; sings, the command for creating the virtual disk will be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;VBoxManage internalcommands createrawvmdk -rawdisk /dev/sde -filename $HOME/rawdisk-sdb.vmdk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Tip|in Linux if you don&#039;t have &amp;quot;disk&amp;quot; group access need to perform permission to device to 666, so take care of}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|We assume there are only two disk, the internal and the external, here detected as &amp;lt;nowiki&amp;gt;[sde]&amp;lt;/nowiki&amp;gt; for practical reasons, commonly will be detected as &amp;lt;nowiki&amp;gt;[sdb]&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Preparing the virtual machine to install ==&lt;br /&gt;
&lt;br /&gt;
Start the VirtualBox software program.&lt;br /&gt;
&lt;br /&gt;
# In the main window &#039;&#039;&#039;create a new virtual machine&#039;&#039;&#039; by &#039;&#039;&#039;clicking the blue spark New button&#039;&#039;&#039;. Will open a new window with the following questions:&lt;br /&gt;
## Will ask for a &#039;&#039;&#039;name for the virtual like &amp;quot;alpine-desktop-try1&amp;quot;&#039;&#039;&#039;. &lt;br /&gt;
## The Type of the &#039;&#039;&#039;Operating system choose &amp;quot;linux&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
## The version &#039;&#039;&#039;choose &amp;quot;other linux&amp;quot;&#039;&#039;&#039; and must match with the &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; choosed (like x86)&lt;br /&gt;
## By push &amp;quot;Next&amp;quot; button to continue to create the machine&lt;br /&gt;
# Second are RAM of the virtual machine, choose &#039;&#039;&#039;memory as 512MB&#039;&#039;&#039; minimum amount of. and push &amp;quot;Next&amp;quot; button.&lt;br /&gt;
# A new windows with a &#039;&#039;&#039;Hard disk assistant will opened&#039;&#039;&#039;&lt;br /&gt;
## First choose the option &#039;&#039;&#039;&amp;quot;Choose a existing hard disk drive&amp;quot;&#039;&#039;&#039; and push the &amp;quot;Folder button&amp;quot; aside.&lt;br /&gt;
## An open file dialog window will be opened, &#039;&#039;&#039;search for the &amp;quot;VMDK&amp;quot; file &amp;lt;code&amp;gt;rawdisk-sdb.vmdk&amp;lt;/code&amp;gt;and choose it&#039;&#039;&#039;&lt;br /&gt;
## Choose the &#039;&#039;&#039;dynamically allocated&#039;&#039;&#039; and push the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## By push on &amp;quot;Create&amp;quot; the virtual machine will be ready to use&lt;br /&gt;
# Now the main window show you the &amp;quot;alpine-desktop-try1&amp;quot; created virtual machine, select them&lt;br /&gt;
## By push on &amp;quot;Configuration&amp;quot; yellow button go to the storage part and push it over&lt;br /&gt;
## Select the disc drive icon for CD/DVD rom and  push on the again CD/DVD drive icon at the right&lt;br /&gt;
## Mini menu will opened, choose to select and external file event the host CD/DVD drive&lt;br /&gt;
## A file open dialog will open.. search to the downloaded iso of Alpine and select it&lt;br /&gt;
## Once defined the iso file to boot, push on the &amp;quot;Ok&amp;quot; button and virtual machines are finished.&lt;br /&gt;
# Push on the green arrow that said &amp;quot;Start&amp;quot; to start the virtual machine and boot up the iso&lt;br /&gt;
&lt;br /&gt;
[[File:Alpine Install from a disc to a virtualbox machine single only-01-0.png|center|Alpine configuration commonly used of a virtual machine on virtual box virtual machine]]&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine start, you must be sure to choose the Optical drive (commonly named CD/DVD Rom drive), so the disc/iso will boot and after a while a command line shell will show you:&lt;br /&gt;
&lt;br /&gt;
{{Tip|If your system are not configure to boot from a CD/DVD drive must be configure in the BIOS, ask to your vendor or technical support, VirtualBox need to hit the F12 key to choose boot medium}}&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
TODO: restore original template of normal steps here! (inclusions)&lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After al the scripts setup ends, a &amp;quot;reboot&amp;quot; will be offered, just type &amp;quot;reboot&amp;quot; and press enter, remobe the boot media and new installed system will be booted.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you try to start that installation maybe &#039;&#039;&#039;you cannot see a graphical window system? take easy&#039;&#039;&#039; and get calm down.. in Alpine all are made by the right way..  so &#039;&#039;&#039;if user need a desktop.. user can install a desktop&#039;&#039;&#039; follow the next: Alpine newbie packages or bypass and go directly to Alpine newbie desktops&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || Alpine newbie packages&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21433</id>
		<title>Alpine Install: from a disc to a virtualbox machine single only</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21433"/>
		<updated>2022-01-06T17:16:02Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Installing Alpine from an official disc image to a VirtualBox machine.&lt;br /&gt;
&lt;br /&gt;
This document guides you through installing Alpine on a VirtualBox VM - this is ideal if you only want to try out Alpine.&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Host machine&#039;&#039;&#039;: the machine you&#039;re running VirtualBox on. It will &amp;quot;host&amp;quot; the target virtual machine.&lt;br /&gt;
* &#039;&#039;&#039;Guest machine&#039;&#039;&#039;: your target machine where Alpine will be installed, executed by the VirtualBox software on the host machine.&lt;br /&gt;
* &#039;&#039;&#039;Reserved RAM&#039;&#039;&#039;: the amount of host machine RAM that will be needed for exclusive use by the guest machine. The host machine cannot use this RAM while the guest machine is running.&lt;br /&gt;
* &#039;&#039;&#039;Virtual disc&#039;&#039;&#039;: the emulated storage medium attached to the guest machine. Usually it is a file (or several files) which VirtualBox presents as a disk to the guest OS (Alpine).&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
On the host machine:&lt;br /&gt;
&lt;br /&gt;
* Qemu or VirtualBox using package manager! Do not promote Oracle&#039;s policy of overversiones without security patches&lt;br /&gt;
* At least 1GB of RAM, 2GB or more if you don&#039;t want lockups while running something in addition to the virtual machine software&lt;br /&gt;
* The &amp;lt;code&amp;gt;curl&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt; programs to download the image to boot in the virtual software&lt;br /&gt;
&lt;br /&gt;
On the guest machine:&lt;br /&gt;
&lt;br /&gt;
* Minimum 512Mb RAM, but 1Gb or more is recommended if you&#039;re going to use a graphical interface. That obviouly must be in sync with the host machine.&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home; there&#039;s more hardware medium sources to download, like the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Linux_on_z_Systems s390x]&#039;&#039;&#039; and &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Ppc64 ppc64le]&#039;&#039;&#039;, but because VirtualBox handles only &#039;&#039;&#039;x86&#039;&#039;&#039; and &#039;&#039;&#039;x64&#039;&#039;&#039;&lt;br /&gt;
hardware, we will list those here&lt;br /&gt;
&lt;br /&gt;
The name of the source medium to install will be in the following format: &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;&#039;&#039;&#039; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; can be one of the following, for VirtualBox virtual machines:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: The well known i386 to i686. (32-bit machines) &lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; as the name says, the latest, stable version&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; UEFI support began with this version&lt;br /&gt;
** &#039;&#039;&#039;3.8&#039;&#039;&#039; recommended for machines manufactured between 2012 and 2016&lt;br /&gt;
** &#039;&#039;&#039;3.6&#039;&#039;&#039; recommended for older machines&lt;br /&gt;
&lt;br /&gt;
Typically, the version most commonly used in a virtual box is the x86. The hardware is cheaper and operation does not consume a lot of memory.&lt;br /&gt;
The iso download URL format is:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; will be:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that URL and the download will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with a name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86.iso&amp;quot;&amp;lt;/code&amp;gt; (if i386/686); will be downloaded into the directory specified in your browser configuration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: just open a terminal and execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;, for example:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; the command will be:&lt;br /&gt;
&amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must be mindful of the directory you run the command from, as that is where the file will be saved.&lt;br /&gt;
&lt;br /&gt;
== Preparing the virtual machine to install ==&lt;br /&gt;
&lt;br /&gt;
Start the VirtualBox software program.&lt;br /&gt;
&lt;br /&gt;
# In the main window &#039;&#039;&#039;create a new virtual machine&#039;&#039;&#039; by &#039;&#039;&#039;clicking the blue spark New button&#039;&#039;&#039;.  That will open a new window with the following questions:&lt;br /&gt;
## It will ask for a &#039;&#039;&#039;name for the virtual like &amp;quot;alpine-desktop-try1&amp;quot;&#039;&#039;&#039;. &lt;br /&gt;
## The Type of the &#039;&#039;&#039;Operating system choose &amp;quot;linux&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
## The version &#039;&#039;&#039;choose &amp;quot;other linux&amp;quot;&#039;&#039;&#039;. It must match the chosen &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; (e.g. x86).&lt;br /&gt;
## Click the &amp;quot;Next&amp;quot; button to continue creating the virtual machine.&lt;br /&gt;
# When selecting the amount of RAM for the virtual machine, choose a minimum of &#039;&#039;&#039;512MB&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
# A new window with a &#039;&#039;&#039;Hard disk assistant will open&#039;&#039;&#039;.&lt;br /&gt;
## First choose &#039;&#039;&#039;&amp;quot;Create a virtual hard disk now&amp;quot;&#039;&#039;&#039; then click the &amp;quot;Create&amp;quot; button.&lt;br /&gt;
## Next choose the option for &#039;&#039;&#039;hard disk type: VDI&#039;&#039;&#039; and push &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## Choose &#039;&#039;&#039;dynamically allocated&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## The next window will offer the &#039;&#039;&#039;size of virtual disk. 4GB&#039;&#039;&#039;, however, you may choose a different amount of storage space.&lt;br /&gt;
## After clicking on &amp;quot;Create&amp;quot; the virtual machine will be ready to use.&lt;br /&gt;
# Now the main window shows you the &amp;quot;alpine-desktop-try1&amp;quot; virtual machine, select it.&lt;br /&gt;
## Click on the yellow &amp;quot;Configuration&amp;quot; button. Go to the storage menu and pull it down.&lt;br /&gt;
## Select the disc drive icon for CD/DVD ROM and click on the CD/DVD drive icon at the right.&lt;br /&gt;
## A Mini menu will open. Select an external file event the host CD/DVD drive.&lt;br /&gt;
## A file open dialog will open. Search for the downloaded Alpine iso and select it.&lt;br /&gt;
## Once you choose the iso file to boot, click the &amp;quot;Ok&amp;quot; button to finish creating the virtual machine.&lt;br /&gt;
# Click the green &amp;quot;Start&amp;quot; arrow to start the virtual machine and boot the iso.&lt;br /&gt;
&lt;br /&gt;
[[File:Alpine Install from a disc to a virtualbox machine single only-01-0.png|center|Alpine configuration commonly used of a virtual machine on virtual box virtual machine]]&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine starts, you must be sure to choose the Optical drive (commonly named CD/DVD ROM drive), so the disc/iso will boot. After a while, a command line shell will show you&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
TODO restore the inclusion of template inclkude pages here, were edited and now does not have any sense respect this guide.. &lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After setup ends, a &amp;quot;reboot&amp;quot; will be offered. Type &amp;quot;reboot&amp;quot; and press enter and your newly installed virtual machine will be booted. Don&#039;t forget to remove the boot medium.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You cannot see a graphical window system? No problem.&#039;&#039;&#039; With Alpine, GUIs are made the right way.  So &#039;&#039;&#039;if you need a desktop, you can install a desktop&#039;&#039;&#039; follow this link: Alpine newbie packages or go directly to [[Alpine newbie desktops]]&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || Alpine newbie packages&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_any_computer_single_only_boot&amp;diff=21432</id>
		<title>Alpine Install: from a disc to a any computer single only boot</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_any_computer_single_only_boot&amp;diff=21432"/>
		<updated>2022-01-06T17:15:13Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Delete|there are other wiki pages with similar or same information, the proposal and idea of newbie pages was specific cases but now there are too mixed pages with same information DUE LACK OF COORDINATION, so the best is to delete this content}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Alpine Installation from a official disc/iso burned into DVD/CD to a new computer with or without [[Alpine and UEFI|UEFI]] and will be single only boot, it&#039;s means that any thing in the computer and their disc will be erased to put Alpine Linux as main system&lt;br /&gt;
&lt;br /&gt;
This document will guide you to &#039;&#039;&#039;install Alpine into a new empty or just fresh PC or Laptop hardware computer, use if you have a [[Alpine and UEFI|BIOS or UEFI based hardware]] and only wants Alpine Linux into it.&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;[[Alpine and UEFI|UEFI]]&#039;&#039;&#039;: it&#039;s a new system included in every new hardware machine laptop or desktops, that will manage the early boot process as a little operating system, see more in the [[Alpine and UEFI]] page.&lt;br /&gt;
* &#039;&#039;&#039;New machine&#039;&#039;&#039;: will be your real machine fresh and ready to install your new Alpine operating system, with a installed CD/DVD Rom optical drive where to put the burned downloaded disc media installation.&lt;br /&gt;
* &#039;&#039;&#039;Optical drive&#039;&#039;&#039;: will be your hardware drive input to put the burned downloaded iso media with the operating system Alpine to install as source media; this drive are commonly named [https://en.wikipedia.org/wiki/CD-ROM DVD/CD Rom] unit.&lt;br /&gt;
* &#039;&#039;&#039;Source media&#039;&#039;&#039;: will be the just burned/ disc from the downloaded iso file of Alpine operating system. Will be put into the optical drive or named [https://en.wikipedia.org/wiki/CD-ROM DVD/CD Rom] to property boot the source disc as media installation.&lt;br /&gt;
* &#039;&#039;&#039;Target media&#039;&#039;&#039;: will be the storage medium device into the new computer target where the Alpine files for operating system will be installed, its one partition from the [https://en.wikipedia.org/wiki/Hard_disk_drive HardDisk] of the new computer.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* A blank disc (CD blank or DVD blank or BR blank) to just burn/record the source media file downloaded&lt;br /&gt;
* In the new machine we need optical drive as input source media&lt;br /&gt;
* In the new machine we need at least 512Mb of RAM, but required 2Gb of RAM for desktop/graphical applications&lt;br /&gt;
* In the new machine we need target media with at least 2G of hard disk, but required 10G for desktops&lt;br /&gt;
* Will need to previously downloaded and burned the Source media ISO file from https://alpinelinux.org/downloads/&lt;br /&gt;
&lt;br /&gt;
== Preparing the source medium to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home documents in a modern computer. There are more hardware medium sources to download, like the arm and i386, but ISO CD/DVD images are only to PC/Laptops that are i386 and amd64, so by downloading the x86 (32bit) flavor will be same for both cases, but UEFI need 64bit, so change to the x86_64 (amd64) if your computer is the most modern and lasted hardware.&lt;br /&gt;
&lt;br /&gt;
The source medium to install for [[Alpine and UEFI|UEFI or &#039;&#039;&#039;modern hardware&#039;&#039;&#039;]] &#039;&#039;&#039;are just 64-bit only&#039;&#039;&#039;, the download URL will be as following format: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; could be:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; will be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: the most used i386 32-bit x86 based machines, if your computer are too older use this only.&lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines, i386 are not recommended for newer/lasted hardware.&lt;br /&gt;
** &#039;&#039;&#039;s390x&#039;&#039;&#039;: For the Super powered IBM mainframes, especially IBM Z and IBM LinuxONE servers. &lt;br /&gt;
** &#039;&#039;&#039;ppc64le&#039;&#039;&#039;: For the PowerPC devices with pure little-endian mode, mostly for POWER8 and POWER9&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; will be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; for a more up to date without taking care of numbered&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; the most recommended for machines between 2016 to 2018&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;So using 3.10 version the available links to download will be:&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;x86_64&#039;&#039;&#039;: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86_64/alpine-standard-3.10.0-x86_64.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;s390x&#039;&#039;&#039;: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/alpine-standard-3.10.1-ppc64le.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;ppc64le&#039;&#039;&#039;: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/alpine-standard-3.10.1-ppc64le.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that url and the download of the iso file will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86_64.iso&amp;quot;&amp;lt;/code&amp;gt; (if amd64) or like &amp;lt;code&amp;gt;alpine-standard-3.10.1-s390x.iso&amp;lt;/code&amp;gt; (if s390x); will be downloaded commonly into the Download directory of your home documents filesystem.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: in unix-like terminal execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86_64/alpine-standard-3.10.0-x86_64.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;,  and where you run the command, in that place/dir will be downloaded the file.&lt;br /&gt;
&lt;br /&gt;
== Burning the source medium to install ==&lt;br /&gt;
&lt;br /&gt;
After downloading the source media file from [https://alpinelinux.org/downloads/ Alpine download page] &#039;&#039;&#039; put the blank disc into the input optical drive&#039;&#039;&#039; named [https://en.wikipedia.org/wiki/CD-ROM DVD/CD Rom] and &#039;&#039;&#039;open your CD/DVD recording program, choose to &amp;quot;burn from iso file&amp;quot;&#039;&#039;&#039; and wait the process will end.&lt;br /&gt;
&lt;br /&gt;
In detail if you downloaded with  &#039;&#039;&#039;Graphical download&#039;&#039;&#039; (using a web browser), the source media file will be into the Download directory. If you downloaded with &#039;&#039;&#039;Command line method&#039;&#039;&#039; your source file probably will be in your root document home (or just &amp;lt;code&amp;gt;$HOME&amp;lt;/code&amp;gt; of your Linux install or MAC install filesystem).&lt;br /&gt;
&lt;br /&gt;
In Linux, assuming the blank disc is in the optical drive, the command to record/burn the downloaded source media file is :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ umount /dev/sr0;cdrecord -v -sao dev=/dev/sr0 alpine-standard-3.10.0-x86_64.iso&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your blank media is a DVD or BD disc the command will be then :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ umount /dev/sr0;growisofs -dvd-compat -Z /dev/sr0=alpine-standard-3.10.0-x86_64.iso&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|growisofs has a small bug with blank BD-R media. It issues an error message after the burning is complete. Programs like k3b then believe the whole burn run failed.}}&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine start, you must be sure to choose the optical drive (commonly named CD/DVD Rom drive), so the disc/iso will boot and after a while a command line shell will show you:&lt;br /&gt;
&lt;br /&gt;
{{Tip|If your system is not configured to boot from a CD/DVD drive, it must be configured in the BIOS, &#039;&#039;&#039;ask/search to your vendor or technical support&#039;&#039;&#039;, Toshiba computers need to hit F1 to choose boot medium, DELL must hit F11 to choose medium for example, and so and so}}&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
TODO: restore the template about normal script steps for common pages (was inclusion here)&lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After all of the scripts in the setup end, a &amp;quot;reboot&amp;quot; will be offered, just type &amp;quot;reboot&amp;quot; and press enter, remove the boot media and newly installed system will be booted.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You cannot see a graphical window system? take it easy&#039;&#039;&#039; and get calmed down.. in Alpine all are made by the right way..  so &#039;&#039;&#039;if user need a desktop.. user can install a desktop&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || Alpine newbie packages&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_iso_to_a_virtualbox_machine_with_external_disc&amp;diff=21431</id>
		<title>Alpine Install: from a iso to a virtualbox machine with external disc</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_iso_to_a_virtualbox_machine_with_external_disc&amp;diff=21431"/>
		<updated>2022-01-06T17:14:02Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Alpine Installation from a official disc/iso downloaded to a real hard disk by the usage of VirtualBox machine as the real machine, where will be single OS only.&lt;br /&gt;
&lt;br /&gt;
This document will guide you to &#039;&#039;&#039;install Alpine into a real hard disk device but through the VirtualBox virtual machine acting as real machine&#039;&#039;&#039;, use if want to install to a real hard disk device externally but no way to boot it so can use in VirtualBox virtual machine .&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Host machine&#039;&#039;&#039;: will be your real machine with installed operating system that have installed the VirtualBox software and &amp;quot;will host&amp;quot; the target operating system, in that case Alpine.&lt;br /&gt;
* &#039;&#039;&#039;Guest machine&#039;&#039;&#039;: will be your target machine where Alpine will be installed, emulated by the host operating system using the VirtualBox software installed in the real machine.&lt;br /&gt;
* &#039;&#039;&#039;Reserved RAM&#039;&#039;&#039;: will be the amount of RAM that will be need to share exclusively to the virtual machine created by the VirtualBox software in the host machine, stolen from the real RAM.&lt;br /&gt;
* &#039;&#039;&#039;External disc&#039;&#039;&#039;: will be the storage medium device attached as target for the emulated machine or &amp;quot;guest machine&amp;quot;, where the Alpine will be installed.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* In the host machine we need installed the &amp;lt;code&amp;gt;virtualbox&amp;lt;/code&amp;gt; program from VirtualBox software&lt;br /&gt;
* In the host machine we need at least 1Gb of RAM, recommended 2Gb of RAM installed&lt;br /&gt;
* The guest machine need 512Mb RAM, but recommended 1Gb reserved if desktop software will be installed&lt;br /&gt;
* In the host machine we need installed &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt; or a web browser to download install medium&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium origin to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home, there&#039;s more hardware medium sources to download, like the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Linux_on_z_Systems s390x]&#039;&#039;&#039; and &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Ppc64 ppc64le]&#039;&#039;&#039;, but due VirtualBox only emulates &#039;&#039;&#039;x86&#039;&#039;&#039;, &#039;&#039;&#039;x64&#039;&#039;&#039; and &#039;&#039;&#039;arm&#039;&#039;&#039; hardware only, will list those here.&lt;br /&gt;
&lt;br /&gt;
The source medium to install will be as following format: &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-netboot-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;&#039;&#039;&#039; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; could be the following for VirtualBox virtual machines:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; will be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: The popular i386/i686 compatible 32-bit x86 based machines, i386 recommended for olders.&lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines, recommended for newer/lasted hardware.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; will be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; for a more up to date without taking care of numbered&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; the most recommended for machines between 2016 to 2018&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;So using 3.10 version and i386 flavor the available links to download will be:&#039;&#039;&#039; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that url and the download of the iso file will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86_64.iso&amp;quot;&amp;lt;/code&amp;gt; will be downloaded commonly into the Download directory of your home documents filesystem.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: in unix-like terminal execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;,  and where you run the command, in that place/dir will be downloaded the file.&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium target to install ==&lt;br /&gt;
&lt;br /&gt;
Please take care of your attached devices.. for best care results only use those involved in the process, so only put the disc (that can be a USB flash, MMC card or external drive) attached, and remove all others that will no to be use. &#039;&#039;&#039;We will assume only one internal disc (that obviously cannot be removed) and one external disk attached&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The external disc will be detected and the operating system will create a new device representation, such like &amp;lt;code&amp;gt;/dev/sdb&amp;lt;/code&amp;gt; commonly. In Linux systems you can detect the recently attached disk with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/bin/dmesg | tail -n 50| grep &#039;Attached SCSI&#039; | cut -d&#039; &#039; -f4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will output &amp;lt;code&amp;gt;[sde]&amp;lt;/code&amp;gt; for our example installation. Caution due that previously command only will work if you recently attached the new external disk where the system will be installed.&lt;br /&gt;
&lt;br /&gt;
Later with the detection of the disk, create the representation for the VirtualBox virtual machine, the detection will be put in &amp;lt;code&amp;gt;/dev/&amp;lt;/code&amp;gt; parameter.. so if the disk was detect as &amp;lt;code&amp;gt;[sde]&amp;lt;/code&amp;gt; you must use it without &amp;lt;nowiki&amp;gt;&amp;quot;[&amp;quot;/&amp;quot;]&amp;quot;&amp;lt;/nowiki&amp;gt; sings, the command for creating the virtual disk will be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;VBoxManage internalcommands createrawvmdk -rawdisk /dev/sde -filename $HOME/rawdisk-sdb.vmdk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Tip|in Linux if you don&#039;t have &amp;quot;disk&amp;quot; group access need to perform permission to device to 666, so take care of}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|We assume there are only two disk, the internal and the external, here detected as &amp;lt;nowiki&amp;gt;[sde]&amp;lt;/nowiki&amp;gt; for practical reasons, commonly will be detected as &amp;lt;nowiki&amp;gt;[sdb]&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Preparing the virtual machine to install ==&lt;br /&gt;
&lt;br /&gt;
Start the VirtualBox software program.&lt;br /&gt;
&lt;br /&gt;
# In the main window &#039;&#039;&#039;create a new virtual machine&#039;&#039;&#039; by &#039;&#039;&#039;clicking the blue spark New button&#039;&#039;&#039;. Will open a new window with the following questions:&lt;br /&gt;
## Will ask for a &#039;&#039;&#039;name for the virtual like &amp;quot;alpine-desktop-try1&amp;quot;&#039;&#039;&#039;. &lt;br /&gt;
## The Type of the &#039;&#039;&#039;Operating system choose &amp;quot;linux&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
## The version &#039;&#039;&#039;choose &amp;quot;other linux&amp;quot;&#039;&#039;&#039; and must match with the &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; choosed (like x86)&lt;br /&gt;
## By push &amp;quot;Next&amp;quot; button to continue to create the machine&lt;br /&gt;
# Second are RAM of the virtual machine, choose &#039;&#039;&#039;memory as 512MB&#039;&#039;&#039; minimum amount of. and push &amp;quot;Next&amp;quot; button.&lt;br /&gt;
# A new windows with a &#039;&#039;&#039;Hard disk assistant will opened&#039;&#039;&#039;&lt;br /&gt;
## First choose the option &#039;&#039;&#039;&amp;quot;Choose a existing hard disk drive&amp;quot;&#039;&#039;&#039; and push the &amp;quot;Folder button&amp;quot; aside.&lt;br /&gt;
## An open file dialog window will be opened, &#039;&#039;&#039;search for the &amp;quot;VMDK&amp;quot; file &amp;lt;code&amp;gt;rawdisk-sdb.vmdk&amp;lt;/code&amp;gt;and choose it&#039;&#039;&#039;&lt;br /&gt;
## Choose the &#039;&#039;&#039;dynamically allocated&#039;&#039;&#039; and push the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## By push on &amp;quot;Create&amp;quot; the virtual machine will be ready to use&lt;br /&gt;
# Now the main window show you the &amp;quot;alpine-desktop-try1&amp;quot; created virtual machine, select them&lt;br /&gt;
## By push on &amp;quot;Configuration&amp;quot; yellow button go to the storage part and push it over&lt;br /&gt;
## Select the disc drive icon for CD/DVD rom and  push on the again CD/DVD drive icon at the right&lt;br /&gt;
## Mini menu will opened, choose to select and external file event the host CD/DVD drive&lt;br /&gt;
## A file open dialog will open.. search to the downloaded iso of Alpine and select it&lt;br /&gt;
## Once defined the iso file to boot, push on the &amp;quot;Ok&amp;quot; button and virtual machines are finished.&lt;br /&gt;
# Push on the green arrow that said &amp;quot;Start&amp;quot; to start the virtual machine and boot up the iso&lt;br /&gt;
&lt;br /&gt;
[[File:Alpine Install from a disc to a virtualbox machine single only-01-0.png|center|Alpine configuration commonly used of a virtual machine on virtual box virtual machine]]&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine start, you must be sure to choose the Optical drive (commonly named CD/DVD Rom drive), so the disc/iso will boot and after a while a command line shell will show you:&lt;br /&gt;
&lt;br /&gt;
{{Tip|If your system are not configure to boot from a CD/DVD drive must be configure in the BIOS, ask to your vendor or technical support, VirtualBox need to hit the F12 key to choose boot medium}}&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
TODO: restore original template of normal steps here! (inclusions)&lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After al the scripts setup ends, a &amp;quot;reboot&amp;quot; will be offered, just type &amp;quot;reboot&amp;quot; and press enter, remobe the boot media and new installed system will be booted.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you try to start that installation maybe &#039;&#039;&#039;you cannot see a graphical window system? take easy&#039;&#039;&#039; and get calm down.. in Alpine all are made by the right way..  so &#039;&#039;&#039;if user need a desktop.. user can install a desktop&#039;&#039;&#039; follow the next: [[Alpine newbie packages]] or bypass and go directly to [[Alpine newbie desktops]]&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || [[Alpine newbie packages]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie packages]]&lt;br /&gt;
# [[Alpine newbie desktops]]&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21430</id>
		<title>Alpine Install: from a disc to a virtualbox machine single only</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21430"/>
		<updated>2022-01-06T17:12:54Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Installing Alpine from an official disc image to a VirtualBox machine.&lt;br /&gt;
&lt;br /&gt;
This document guides you through installing Alpine on a VirtualBox VM - this is ideal if you only want to try out Alpine.&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Host machine&#039;&#039;&#039;: the machine you&#039;re running VirtualBox on. It will &amp;quot;host&amp;quot; the target virtual machine.&lt;br /&gt;
* &#039;&#039;&#039;Guest machine&#039;&#039;&#039;: your target machine where Alpine will be installed, executed by the VirtualBox software on the host machine.&lt;br /&gt;
* &#039;&#039;&#039;Reserved RAM&#039;&#039;&#039;: the amount of host machine RAM that will be needed for exclusive use by the guest machine. The host machine cannot use this RAM while the guest machine is running.&lt;br /&gt;
* &#039;&#039;&#039;Virtual disc&#039;&#039;&#039;: the emulated storage medium attached to the guest machine. Usually it is a file (or several files) which VirtualBox presents as a disk to the guest OS (Alpine).&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
On the host machine:&lt;br /&gt;
&lt;br /&gt;
* Qemu or VirtualBox using package manager! Do not promote Oracle&#039;s policy of overversiones without security patches&lt;br /&gt;
* At least 1GB of RAM, 2GB or more if you don&#039;t want lockups while running something in addition to the virtual machine software&lt;br /&gt;
* The &amp;lt;code&amp;gt;curl&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt; programs to download the image to boot in the virtual software&lt;br /&gt;
&lt;br /&gt;
On the guest machine:&lt;br /&gt;
&lt;br /&gt;
* Minimum 512Mb RAM, but 1Gb or more is recommended if you&#039;re going to use a graphical interface. That obviouly must be in sync with the host machine.&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home; there&#039;s more hardware medium sources to download, like the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Linux_on_z_Systems s390x]&#039;&#039;&#039; and &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Ppc64 ppc64le]&#039;&#039;&#039;, but because VirtualBox handles only &#039;&#039;&#039;x86&#039;&#039;&#039; and &#039;&#039;&#039;x64&#039;&#039;&#039;&lt;br /&gt;
hardware, we will list those here&lt;br /&gt;
&lt;br /&gt;
The name of the source medium to install will be in the following format: &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;&#039;&#039;&#039; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; can be one of the following, for VirtualBox virtual machines:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: The well known i386 to i686. (32-bit machines) &lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; as the name says, the latest, stable version&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; UEFI support began with this version&lt;br /&gt;
** &#039;&#039;&#039;3.8&#039;&#039;&#039; recommended for machines manufactured between 2012 and 2016&lt;br /&gt;
** &#039;&#039;&#039;3.6&#039;&#039;&#039; recommended for older machines&lt;br /&gt;
&lt;br /&gt;
Typically, the version most commonly used in a virtual box is the x86. The hardware is cheaper and operation does not consume a lot of memory.&lt;br /&gt;
The iso download URL format is:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; will be:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that URL and the download will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with a name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86.iso&amp;quot;&amp;lt;/code&amp;gt; (if i386/686); will be downloaded into the directory specified in your browser configuration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: just open a terminal and execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;, for example:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; the command will be:&lt;br /&gt;
&amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must be mindful of the directory you run the command from, as that is where the file will be saved.&lt;br /&gt;
&lt;br /&gt;
== Preparing the virtual machine to install ==&lt;br /&gt;
&lt;br /&gt;
Start the VirtualBox software program.&lt;br /&gt;
&lt;br /&gt;
# In the main window &#039;&#039;&#039;create a new virtual machine&#039;&#039;&#039; by &#039;&#039;&#039;clicking the blue spark New button&#039;&#039;&#039;.  That will open a new window with the following questions:&lt;br /&gt;
## It will ask for a &#039;&#039;&#039;name for the virtual like &amp;quot;alpine-desktop-try1&amp;quot;&#039;&#039;&#039;. &lt;br /&gt;
## The Type of the &#039;&#039;&#039;Operating system choose &amp;quot;linux&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
## The version &#039;&#039;&#039;choose &amp;quot;other linux&amp;quot;&#039;&#039;&#039;. It must match the chosen &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; (e.g. x86).&lt;br /&gt;
## Click the &amp;quot;Next&amp;quot; button to continue creating the virtual machine.&lt;br /&gt;
# When selecting the amount of RAM for the virtual machine, choose a minimum of &#039;&#039;&#039;512MB&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
# A new window with a &#039;&#039;&#039;Hard disk assistant will open&#039;&#039;&#039;.&lt;br /&gt;
## First choose &#039;&#039;&#039;&amp;quot;Create a virtual hard disk now&amp;quot;&#039;&#039;&#039; then click the &amp;quot;Create&amp;quot; button.&lt;br /&gt;
## Next choose the option for &#039;&#039;&#039;hard disk type: VDI&#039;&#039;&#039; and push &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## Choose &#039;&#039;&#039;dynamically allocated&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## The next window will offer the &#039;&#039;&#039;size of virtual disk. 4GB&#039;&#039;&#039;, however, you may choose a different amount of storage space.&lt;br /&gt;
## After clicking on &amp;quot;Create&amp;quot; the virtual machine will be ready to use.&lt;br /&gt;
# Now the main window shows you the &amp;quot;alpine-desktop-try1&amp;quot; virtual machine, select it.&lt;br /&gt;
## Click on the yellow &amp;quot;Configuration&amp;quot; button. Go to the storage menu and pull it down.&lt;br /&gt;
## Select the disc drive icon for CD/DVD ROM and click on the CD/DVD drive icon at the right.&lt;br /&gt;
## A Mini menu will open. Select an external file event the host CD/DVD drive.&lt;br /&gt;
## A file open dialog will open. Search for the downloaded Alpine iso and select it.&lt;br /&gt;
## Once you choose the iso file to boot, click the &amp;quot;Ok&amp;quot; button to finish creating the virtual machine.&lt;br /&gt;
# Click the green &amp;quot;Start&amp;quot; arrow to start the virtual machine and boot the iso.&lt;br /&gt;
&lt;br /&gt;
[[File:Alpine Install from a disc to a virtualbox machine single only-01-0.png|center|Alpine configuration commonly used of a virtual machine on virtual box virtual machine]]&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine starts, you must be sure to choose the Optical drive (commonly named CD/DVD ROM drive), so the disc/iso will boot. After a while, a command line shell will show you&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
TODO restore the inclusion of template inclkude pages here, were edited and now does not have any sense respect this guide.. &lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After setup ends, a &amp;quot;reboot&amp;quot; will be offered. Type &amp;quot;reboot&amp;quot; and press enter and your newly installed virtual machine will be booted. Don&#039;t forget to remove the boot medium.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You cannot see a graphical window system? No problem.&#039;&#039;&#039; With Alpine, GUIs are made the right way.  So &#039;&#039;&#039;if you need a desktop, you can install a desktop&#039;&#039;&#039; follow this link: [[Alpine newbie packages]] or go directly to [[Alpine newbie desktops]]&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || [[Alpine newbie packages]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Desktop_environments_and_Window_managers&amp;diff=21429</id>
		<title>Desktop environments and Window managers</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Desktop_environments_and_Window_managers&amp;diff=21429"/>
		<updated>2022-01-06T17:10:20Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Alpine Linux&#039;&#039;&#039; has no official desktop. Older versions used Xfce, but now, all GUI and graphical interfaces are optional. many are available and is attempted to be listed below:&lt;br /&gt;
&lt;br /&gt;
== Desktop environments ==&lt;br /&gt;
&lt;br /&gt;
# [[Xfce]]&lt;br /&gt;
# [[LXQt]]&lt;br /&gt;
# [[KDE|KDE Plasma]]&lt;br /&gt;
# [[Gnome]]&lt;br /&gt;
# [[MATE]]&lt;br /&gt;
&lt;br /&gt;
==  [https://en.wikipedia.org/wiki/Stacking_window_manager Stacking (floating) window managers] ==&lt;br /&gt;
&lt;br /&gt;
* [[Openbox]]&lt;br /&gt;
&lt;br /&gt;
== [https://en.wikipedia.org/wiki/Tiling_window_manager Tiling (dynamic) window managers] ==&lt;br /&gt;
&lt;br /&gt;
* [[Dwm]]&lt;br /&gt;
&lt;br /&gt;
* [[AwesomeWM|Awesome Window Manager]]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Fonts]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21420</id>
		<title>Alpine Install: from a disc to a virtualbox machine single only</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21420"/>
		<updated>2022-01-06T16:16:49Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: add a WIP note due now the pages i were used does not have logical info for use here&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Installing Alpine from an official disc image to a VirtualBox machine.&lt;br /&gt;
&lt;br /&gt;
This document guides you through installing Alpine on a VirtualBox VM - this is ideal if you only want to try out Alpine.&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Host machine&#039;&#039;&#039;: the machine you&#039;re running VirtualBox on. It will &amp;quot;host&amp;quot; the target virtual machine.&lt;br /&gt;
* &#039;&#039;&#039;Guest machine&#039;&#039;&#039;: your target machine where Alpine will be installed, executed by the VirtualBox software on the host machine.&lt;br /&gt;
* &#039;&#039;&#039;Reserved RAM&#039;&#039;&#039;: the amount of host machine RAM that will be needed for exclusive use by the guest machine. The host machine cannot use this RAM while the guest machine is running.&lt;br /&gt;
* &#039;&#039;&#039;Virtual disc&#039;&#039;&#039;: the emulated storage medium attached to the guest machine. Usually it is a file (or several files) which VirtualBox presents as a disk to the guest OS (Alpine).&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
On the host machine:&lt;br /&gt;
&lt;br /&gt;
* Qemu or VirtualBox using package manager! Do not promote Oracle&#039;s policy of overversiones without security patches&lt;br /&gt;
* At least 1GB of RAM, 2GB or more if you don&#039;t want lockups while running something in addition to the virtual machine software&lt;br /&gt;
* The &amp;lt;code&amp;gt;curl&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt; programs to download the image to boot in the virtual software&lt;br /&gt;
&lt;br /&gt;
On the guest machine:&lt;br /&gt;
&lt;br /&gt;
* Minimum 512Mb RAM, but 1Gb or more is recommended if you&#039;re going to use a graphical interface. That obviouly must be in sync with the host machine.&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home; there&#039;s more hardware medium sources to download, like the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Linux_on_z_Systems s390x]&#039;&#039;&#039; and &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Ppc64 ppc64le]&#039;&#039;&#039;, but because VirtualBox handles only &#039;&#039;&#039;x86&#039;&#039;&#039; and &#039;&#039;&#039;x64&#039;&#039;&#039;&lt;br /&gt;
hardware, we will list those here&lt;br /&gt;
&lt;br /&gt;
The name of the source medium to install will be in the following format: &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;&#039;&#039;&#039; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; can be one of the following, for VirtualBox virtual machines:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: The well known i386 to i686. (32-bit machines) &lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; as the name says, the latest, stable version&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; UEFI support began with this version&lt;br /&gt;
** &#039;&#039;&#039;3.8&#039;&#039;&#039; recommended for machines manufactured between 2012 and 2016&lt;br /&gt;
** &#039;&#039;&#039;3.6&#039;&#039;&#039; recommended for older machines&lt;br /&gt;
&lt;br /&gt;
Typically, the version most commonly used in a virtual box is the x86. The hardware is cheaper and operation does not consume a lot of memory.&lt;br /&gt;
The iso download URL format is:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; will be:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that URL and the download will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with a name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86.iso&amp;quot;&amp;lt;/code&amp;gt; (if i386/686); will be downloaded into the directory specified in your browser configuration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: just open a terminal and execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;, for example:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; the command will be:&lt;br /&gt;
&amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must be mindful of the directory you run the command from, as that is where the file will be saved.&lt;br /&gt;
&lt;br /&gt;
== Preparing the virtual machine to install ==&lt;br /&gt;
&lt;br /&gt;
Start the VirtualBox software program.&lt;br /&gt;
&lt;br /&gt;
# In the main window &#039;&#039;&#039;create a new virtual machine&#039;&#039;&#039; by &#039;&#039;&#039;clicking the blue spark New button&#039;&#039;&#039;.  That will open a new window with the following questions:&lt;br /&gt;
## It will ask for a &#039;&#039;&#039;name for the virtual like &amp;quot;alpine-desktop-try1&amp;quot;&#039;&#039;&#039;. &lt;br /&gt;
## The Type of the &#039;&#039;&#039;Operating system choose &amp;quot;linux&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
## The version &#039;&#039;&#039;choose &amp;quot;other linux&amp;quot;&#039;&#039;&#039;. It must match the chosen &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; (e.g. x86).&lt;br /&gt;
## Click the &amp;quot;Next&amp;quot; button to continue creating the virtual machine.&lt;br /&gt;
# When selecting the amount of RAM for the virtual machine, choose a minimum of &#039;&#039;&#039;512MB&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
# A new window with a &#039;&#039;&#039;Hard disk assistant will open&#039;&#039;&#039;.&lt;br /&gt;
## First choose &#039;&#039;&#039;&amp;quot;Create a virtual hard disk now&amp;quot;&#039;&#039;&#039; then click the &amp;quot;Create&amp;quot; button.&lt;br /&gt;
## Next choose the option for &#039;&#039;&#039;hard disk type: VDI&#039;&#039;&#039; and push &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## Choose &#039;&#039;&#039;dynamically allocated&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## The next window will offer the &#039;&#039;&#039;size of virtual disk. 4GB&#039;&#039;&#039;, however, you may choose a different amount of storage space.&lt;br /&gt;
## After clicking on &amp;quot;Create&amp;quot; the virtual machine will be ready to use.&lt;br /&gt;
# Now the main window shows you the &amp;quot;alpine-desktop-try1&amp;quot; virtual machine, select it.&lt;br /&gt;
## Click on the yellow &amp;quot;Configuration&amp;quot; button. Go to the storage menu and pull it down.&lt;br /&gt;
## Select the disc drive icon for CD/DVD ROM and click on the CD/DVD drive icon at the right.&lt;br /&gt;
## A Mini menu will open. Select an external file event the host CD/DVD drive.&lt;br /&gt;
## A file open dialog will open. Search for the downloaded Alpine iso and select it.&lt;br /&gt;
## Once you choose the iso file to boot, click the &amp;quot;Ok&amp;quot; button to finish creating the virtual machine.&lt;br /&gt;
# Click the green &amp;quot;Start&amp;quot; arrow to start the virtual machine and boot the iso.&lt;br /&gt;
&lt;br /&gt;
[[File:Alpine Install from a disc to a virtualbox machine single only-01-0.png|center|Alpine configuration commonly used of a virtual machine on virtual box virtual machine]]&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine starts, you must be sure to choose the Optical drive (commonly named CD/DVD ROM drive), so the disc/iso will boot. After a while, a command line shell will show you&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
TODO restore the inclusion of template inclkude pages here, were edited and now does not have any sense respect this guide.. &lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After setup ends, a &amp;quot;reboot&amp;quot; will be offered. Type &amp;quot;reboot&amp;quot; and press enter and your newly installed virtual machine will be booted. Don&#039;t forget to remove the boot medium.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You cannot see a graphical window system? No problem.&#039;&#039;&#039; With Alpine, GUIs are made the right way.  So &#039;&#039;&#039;if you need a desktop, you can install a desktop&#039;&#039;&#039; follow this link: [[Alpine newbie apk packages]] or go directly to [[Alpine newbie desktops]]&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || [[Alpine newbie packages]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie packages]]&lt;br /&gt;
# [[Alpine newbie desktops]]&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21419</id>
		<title>Alpine Install: from a disc to a virtualbox machine single only</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21419"/>
		<updated>2022-01-06T16:13:40Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: /* Booting the Alpine ISO disc */  is a virtualbox case or generic case template, so dont added notes about vendor bvios due today is UEFI menu also is not about vendors bios!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Installing Alpine from an official disc image to a VirtualBox machine.&lt;br /&gt;
&lt;br /&gt;
This document guides you through installing Alpine on a VirtualBox VM - this is ideal if you only want to try out Alpine.&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Host machine&#039;&#039;&#039;: the machine you&#039;re running VirtualBox on. It will &amp;quot;host&amp;quot; the target virtual machine.&lt;br /&gt;
* &#039;&#039;&#039;Guest machine&#039;&#039;&#039;: your target machine where Alpine will be installed, executed by the VirtualBox software on the host machine.&lt;br /&gt;
* &#039;&#039;&#039;Reserved RAM&#039;&#039;&#039;: the amount of host machine RAM that will be needed for exclusive use by the guest machine. The host machine cannot use this RAM while the guest machine is running.&lt;br /&gt;
* &#039;&#039;&#039;Virtual disc&#039;&#039;&#039;: the emulated storage medium attached to the guest machine. Usually it is a file (or several files) which VirtualBox presents as a disk to the guest OS (Alpine).&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
On the host machine:&lt;br /&gt;
&lt;br /&gt;
* Qemu or VirtualBox using package manager! Do not promote Oracle&#039;s policy of overversiones without security patches&lt;br /&gt;
* At least 1GB of RAM, 2GB or more if you don&#039;t want lockups while running something in addition to the virtual machine software&lt;br /&gt;
* The &amp;lt;code&amp;gt;curl&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt; programs to download the image to boot in the virtual software&lt;br /&gt;
&lt;br /&gt;
On the guest machine:&lt;br /&gt;
&lt;br /&gt;
* Minimum 512Mb RAM, but 1Gb or more is recommended if you&#039;re going to use a graphical interface. That obviouly must be in sync with the host machine.&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home; there&#039;s more hardware medium sources to download, like the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Linux_on_z_Systems s390x]&#039;&#039;&#039; and &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Ppc64 ppc64le]&#039;&#039;&#039;, but because VirtualBox handles only &#039;&#039;&#039;x86&#039;&#039;&#039; and &#039;&#039;&#039;x64&#039;&#039;&#039;&lt;br /&gt;
hardware, we will list those here&lt;br /&gt;
&lt;br /&gt;
The name of the source medium to install will be in the following format: &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;&#039;&#039;&#039; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; can be one of the following, for VirtualBox virtual machines:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: The well known i386 to i686. (32-bit machines) &lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; as the name says, the latest, stable version&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; UEFI support began with this version&lt;br /&gt;
** &#039;&#039;&#039;3.8&#039;&#039;&#039; recommended for machines manufactured between 2012 and 2016&lt;br /&gt;
** &#039;&#039;&#039;3.6&#039;&#039;&#039; recommended for older machines&lt;br /&gt;
&lt;br /&gt;
Typically, the version most commonly used in a virtual box is the x86. The hardware is cheaper and operation does not consume a lot of memory.&lt;br /&gt;
The iso download URL format is:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; will be:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that URL and the download will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with a name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86.iso&amp;quot;&amp;lt;/code&amp;gt; (if i386/686); will be downloaded into the directory specified in your browser configuration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: just open a terminal and execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;, for example:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; the command will be:&lt;br /&gt;
&amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must be mindful of the directory you run the command from, as that is where the file will be saved.&lt;br /&gt;
&lt;br /&gt;
== Preparing the virtual machine to install ==&lt;br /&gt;
&lt;br /&gt;
Start the VirtualBox software program.&lt;br /&gt;
&lt;br /&gt;
# In the main window &#039;&#039;&#039;create a new virtual machine&#039;&#039;&#039; by &#039;&#039;&#039;clicking the blue spark New button&#039;&#039;&#039;.  That will open a new window with the following questions:&lt;br /&gt;
## It will ask for a &#039;&#039;&#039;name for the virtual like &amp;quot;alpine-desktop-try1&amp;quot;&#039;&#039;&#039;. &lt;br /&gt;
## The Type of the &#039;&#039;&#039;Operating system choose &amp;quot;linux&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
## The version &#039;&#039;&#039;choose &amp;quot;other linux&amp;quot;&#039;&#039;&#039;. It must match the chosen &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; (e.g. x86).&lt;br /&gt;
## Click the &amp;quot;Next&amp;quot; button to continue creating the virtual machine.&lt;br /&gt;
# When selecting the amount of RAM for the virtual machine, choose a minimum of &#039;&#039;&#039;512MB&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
# A new window with a &#039;&#039;&#039;Hard disk assistant will open&#039;&#039;&#039;.&lt;br /&gt;
## First choose &#039;&#039;&#039;&amp;quot;Create a virtual hard disk now&amp;quot;&#039;&#039;&#039; then click the &amp;quot;Create&amp;quot; button.&lt;br /&gt;
## Next choose the option for &#039;&#039;&#039;hard disk type: VDI&#039;&#039;&#039; and push &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## Choose &#039;&#039;&#039;dynamically allocated&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## The next window will offer the &#039;&#039;&#039;size of virtual disk. 4GB&#039;&#039;&#039;, however, you may choose a different amount of storage space.&lt;br /&gt;
## After clicking on &amp;quot;Create&amp;quot; the virtual machine will be ready to use.&lt;br /&gt;
# Now the main window shows you the &amp;quot;alpine-desktop-try1&amp;quot; virtual machine, select it.&lt;br /&gt;
## Click on the yellow &amp;quot;Configuration&amp;quot; button. Go to the storage menu and pull it down.&lt;br /&gt;
## Select the disc drive icon for CD/DVD ROM and click on the CD/DVD drive icon at the right.&lt;br /&gt;
## A Mini menu will open. Select an external file event the host CD/DVD drive.&lt;br /&gt;
## A file open dialog will open. Search for the downloaded Alpine iso and select it.&lt;br /&gt;
## Once you choose the iso file to boot, click the &amp;quot;Ok&amp;quot; button to finish creating the virtual machine.&lt;br /&gt;
# Click the green &amp;quot;Start&amp;quot; arrow to start the virtual machine and boot the iso.&lt;br /&gt;
&lt;br /&gt;
[[File:Alpine Install from a disc to a virtualbox machine single only-01-0.png|center|Alpine configuration commonly used of a virtual machine on virtual box virtual machine]]&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine starts, you must be sure to choose the Optical drive (commonly named CD/DVD ROM drive), so the disc/iso will boot. After a while, a command line shell will show you&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
{{:Installation_pages_setup-alpine_script_normal}}&lt;br /&gt;
{{:Installation_pages_setup-disk_script_alpine_main_single}}&lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After setup ends, a &amp;quot;reboot&amp;quot; will be offered. Type &amp;quot;reboot&amp;quot; and press enter and your newly installed virtual machine will be booted. Don&#039;t forget to remove the boot medium.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You cannot see a graphical window system? No problem.&#039;&#039;&#039; With Alpine, GUIs are made the right way.  So &#039;&#039;&#039;if you need a desktop, you can install a desktop&#039;&#039;&#039; follow this link: [[Alpine newbie apk packages]] or go directly to [[Alpine newbie desktops]]&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || [[Alpine newbie packages]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie packages]]&lt;br /&gt;
# [[Alpine newbie desktops]]&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installation_pages_setup-alpine_script_normal&amp;diff=21418</id>
		<title>Installation pages setup-alpine script normal</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installation_pages_setup-alpine_script_normal&amp;diff=21418"/>
		<updated>2022-01-06T16:07:05Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: link to oficial wiki page of install&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Installation]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Tutorials_and_Howtos&amp;diff=21417</id>
		<title>Tutorials and Howtos</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Tutorials_and_Howtos&amp;diff=21417"/>
		<updated>2022-01-06T16:04:47Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: /* Installation:*/ Add case and let the main work of Guest09248 linked to general and all wiki work&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Todo|This material needs to be re-organized .. as &#039;&#039;&#039;Howtos are smaller articles&#039;&#039;&#039; and &#039;&#039;&#039;tutorials are more detailed document&#039;&#039;&#039; both need to be reordered as independent sections }}&lt;br /&gt;
&lt;br /&gt;
[[Image:package_edutainment.svg|right|link=]]&lt;br /&gt;
{{TOC left}}&lt;br /&gt;
&#039;&#039;&#039;Welcome to Tutorials and Howtos, a place of basic and advanced configuration tasks for your Alpine Linux.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The tutorials are hands-on&#039;&#039;&#039; 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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Howtos are smaller articles&#039;&#039;&#039; explaining how to perform a particular task with Alpine Linux, that expects a minimal knowledge from reader to perform actions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; contributions on those pages must be complete articles as well as requesting topics to be covered, don&#039;t override already made contributions. If you want to request a topic, please add your request in this page&#039;s [[Talk:Tutorials_and_Howtos|Discussion]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
=== Postinstall ===&lt;br /&gt;
&lt;br /&gt;
* [[Post_installation]]&lt;br /&gt;
&lt;br /&gt;
==== Postinstall: desktops and applications ====&lt;br /&gt;
&lt;br /&gt;
* [[Desktop environments and Window managers]] (overall information only)&lt;br /&gt;
** [[Xfce]]&lt;br /&gt;
** [[LXQt]]&lt;br /&gt;
** [[Openbox]]&lt;br /&gt;
** [[MATE]]&lt;br /&gt;
* [[Alpine and UEFI|Alpine and UEFI Support Status and related topics]]&lt;br /&gt;
&lt;br /&gt;
==== Developers: compilers, IDEs and tools ====&lt;br /&gt;
&lt;br /&gt;
* [[Alpine newbie developer]]&lt;br /&gt;
** [[Alpine newbie developer: gitea|Alpine newbie developer: Git management web frontend gitea]]&lt;br /&gt;
** [[Alpine newbie developer: full stack web]]&lt;br /&gt;
&lt;br /&gt;
==== Servers: deploy in production ====&lt;br /&gt;
&lt;br /&gt;
* [[Alpine production deploy]]&lt;br /&gt;
** [[Production Web server: Lighttpd‎‎]]&lt;br /&gt;
** [[Production DataBases : mysql]]&lt;br /&gt;
** [[Production LAMP system: Lighttpd + PHP + MySQL‎‎]]&lt;br /&gt;
* Alpine production monitoring&lt;br /&gt;
** [[Cacti: traffic analysis and monitoring network]]&lt;br /&gt;
** [[Zabbix|Zabbix - the professional complete manager]]&lt;br /&gt;
&lt;br /&gt;
== Storage ==&lt;br /&gt;
&lt;br /&gt;
* [[Alpine local backup|Alpine local backup (lbu)]] &#039;&#039;(Permanently store your modifications in case your box needs reboot)&#039;&#039; &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
** [[Back Up a Flash Memory Installation]] &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
** [[Manually editing a existing apkovl]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up disks manually]] &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
* [[Setting up a software RAID array]]&lt;br /&gt;
&amp;lt;!-- ** [[Setting up a /var partition on software IDE raid1]]  Obsolete, Installation and Storage --&amp;gt; &lt;br /&gt;
* [[Raid Administration]]&lt;br /&gt;
* [[Setting up encrypted volumes with LUKS]]&lt;br /&gt;
* [[Setting up LVM on LUKS]]&lt;br /&gt;
* [[Setting up Logical Volumes with LVM]]&lt;br /&gt;
** [[Setting up LVM on GPT-labeled disks]]&lt;br /&gt;
** [[Installing on GPT LVM]]&lt;br /&gt;
* [[Filesystems|Formatting HD/Floppy/Other]] &amp;lt;!-- just a stub --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up iSCSI]]&lt;br /&gt;
** [[iSCSI Raid and Clustered File Systems]]&lt;br /&gt;
* [[Setting up NBD]]&lt;br /&gt;
* [[Setting up ZFS on LUKS]]&lt;br /&gt;
* [[Setting up ZFS with native encryption]]&lt;br /&gt;
* [[High performance SCST iSCSI Target on Linux software Raid]] &#039;&#039;(deprecated)&#039;&#039; &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
* [[Linux iSCSI Target (TCM)]]&lt;br /&gt;
* [[Disk Replication with DRBD]] &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Burning ISOs]] &amp;lt;!-- just some links now --&amp;gt;&lt;br /&gt;
* [[Partitioning and Bootmanagers]]&lt;br /&gt;
* [[Migrating data]]&lt;br /&gt;
* [[Create a bootable SDHC from a Mac]]&lt;br /&gt;
* [[Alpine on ARM]]&lt;br /&gt;
&lt;br /&gt;
== Networking ==&lt;br /&gt;
&lt;br /&gt;
* [[Configure Networking]]&lt;br /&gt;
* [[Connecting to a wireless access point]]&lt;br /&gt;
* [[Bonding]]&lt;br /&gt;
* [[Vlan]]&lt;br /&gt;
* [[Bridge]]&lt;br /&gt;
* [[Bridge wlan0 to eth0]]&lt;br /&gt;
* [[OpenVSwitch]]&lt;br /&gt;
* [[How to configure static routes]]&lt;br /&gt;
* [[Configure a Wireguard interface (wg)]]&lt;br /&gt;
&lt;br /&gt;
* [[Alpine Wall]] - [[How-To Alpine Wall]] - [[Alpine Wall User&#039;s Guide]] &#039;&#039;(a new firewall management framework)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[PXE boot]]&lt;br /&gt;
&lt;br /&gt;
* [[Using serial modem]]&lt;br /&gt;
* [[Using HSDPA modem]]&lt;br /&gt;
* [[Setting up Satellite Internet Connection]]&lt;br /&gt;
* [[Using Alpine on Windows domain with IPSEC isolation]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a SSH server]] &#039;&#039;(Using SSH is the preferred way to administer your box remotely)&#039;&#039; &amp;lt;!-- Server and Networking --&amp;gt;&lt;br /&gt;
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] &#039;&#039;(A simple two factor setup for OpenSSH)&#039;&#039;&lt;br /&gt;
* [[How to setup a wireless access point]] &#039;&#039;(Setting up Secure Wireless AP w/ WPA encryption with bridge to wired network)&#039;&#039;&lt;br /&gt;
* [[How to set up Alpine as a wireless router]] &#039;&#039;(Setting up a firewalled, Wireless AP with wired network on a Pi Zero W)&#039;&#039;&lt;br /&gt;
* [[Setting up a OpenVPN server with Alpine]] &#039;&#039;(Allowing single users or devices to remotely connect to your network)&#039;&#039;&lt;br /&gt;
&amp;lt;!-- [[Using Racoon for Remote Sites]] is a different VPN tunnelling method, but that article is just a stub --&amp;gt;&lt;br /&gt;
* [[Experiences with OpenVPN-client on ALIX.2D3]]  &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Generating SSL certs with ACF]] &amp;lt;!-- Generating SSL certs with ACF 1.9 --&amp;gt;&lt;br /&gt;
* [[Setting up unbound DNS server]]&lt;br /&gt;
* [[Setting up nsd DNS server]]&lt;br /&gt;
* [[TinyDNS Format]]&lt;br /&gt;
* [[Fault Tolerant Routing with Alpine Linux]] &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
* [[Freeradius Active Directory Integration]]&lt;br /&gt;
* [[Multi_ISP]] &#039;&#039;(Dual-ISP setup with load-balancing and automatic failover)&#039;&#039;&lt;br /&gt;
* [[OwnCloud]] &#039;&#039;(Installing OwnCloud)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Seafile: setting up your own private cloud]]&lt;br /&gt;
&lt;br /&gt;
* [[GNUnet]]&lt;br /&gt;
&lt;br /&gt;
== Post-Install ==&lt;br /&gt;
&amp;lt;!-- If you edit this, please coordinate with Installation and Developer_Documentation#Package_management.  Note that these three sections are not exact duplicates. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a new user]]&lt;br /&gt;
* [[Enable Community Repository]] &#039;&#039;(Providing additional packages)&#039;&#039;&lt;br /&gt;
* [[Alpine Linux package management|Package Management (apk)]] &#039;&#039;(How to add/remove packages on your Alpine)&#039;&#039;&lt;br /&gt;
   &amp;lt;!-- [[Alpine Linux package management#Local_Cache|How to enable APK caching]] --&amp;gt;&lt;br /&gt;
** [[Comparison with other distros]]&lt;br /&gt;
* [[Alpine local backup|Alpine local backup (lbu)]] &#039;&#039;(Permanently store your modifications in case your box needs reboot)&#039;&#039;&lt;br /&gt;
** [[Back Up a Flash Memory Installation]] &amp;lt;!-- new --&amp;gt;&lt;br /&gt;
** [[Manually editing a existing apkovl]]&lt;br /&gt;
* [[Alpine Linux Init System|Init System (OpenRC)]] &#039;&#039;(Configure a service to automatically boot at next reboot)&#039;&#039;&lt;br /&gt;
** [[Multiple Instances of Services]]&lt;br /&gt;
   &amp;lt;!-- [[Writing Init Scripts]] --&amp;gt;&lt;br /&gt;
* [[Alpine setup scripts#setup-xorg-base|Setting up Xorg]]&lt;br /&gt;
* [[Upgrading Alpine]]&lt;br /&gt;
&amp;lt;!-- Obsolete&lt;br /&gt;
 [[Upgrading Alpine - v1.9.x]]&lt;br /&gt;
 [[Upgrading Alpine - CD v1.8.x]]&lt;br /&gt;
 [[Upgrading Alpine - HD v1.8.x]]&lt;br /&gt;
 [[Upgrade to repository main|Upgrading to signed repositories]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a ssh-server]] &#039;&#039;(Using ssh is a good way to administer your box remotely)&#039;&#039;&lt;br /&gt;
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] &#039;&#039;(A simple two factor setup for OpenSSH)&#039;&#039;&lt;br /&gt;
* [[setup-acf]] &#039;&#039;(Configures ACF (webconfiguration) so you can manage your box through https)&#039;&#039;&lt;br /&gt;
* [[Changing passwords for ACF|Changing passwords]]&lt;br /&gt;
* [[Ansible]] &#039;&#039;(Configuration management)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Enable Serial Console on Boot]]&lt;br /&gt;
&amp;lt;!-- Obsolete?&lt;br /&gt;
* [[Error message on boot: Address space collision: host bridge window conflicts with Adaptor ROM]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* [[How to get regular stuff working]] &#039;&#039;some notes on need-to-know topics&#039;&#039;&lt;br /&gt;
* [[Installing Oracle Java]]&lt;br /&gt;
* [[Rsnapshot|Setting up periodic backups with &amp;lt;samp&amp;gt;rsnapshot&amp;lt;/samp&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
== Virtualization==&lt;br /&gt;
&lt;br /&gt;
* [[Xen Dom0]] &#039;&#039;(Setting up Alpine as a dom0 for Xen hypervisor)&#039;&#039;&lt;br /&gt;
* [[Xen Dom0 on USB or SD]]&lt;br /&gt;
* [[Create Alpine Linux PV DomU]]&lt;br /&gt;
* [[Xen PCI Passthrough]]&lt;br /&gt;
* [[Xen LiveCD]]&lt;br /&gt;
* [[QEMU]]&lt;br /&gt;
* [[KVM]] &#039;&#039;(Setting up Alpine as a KVM hypervisor)&#039;&#039;&lt;br /&gt;
* [[LXC]] &#039;&#039;(Setting up a Linux container in Alpine Linux)&#039;&#039;&lt;br /&gt;
* [[Docker]]&lt;br /&gt;
* [[Install_Alpine_on_VirtualBox]]&lt;br /&gt;
* [[Install Alpine on VMWare]]&lt;br /&gt;
&lt;br /&gt;
== Desktop Environment ==&lt;br /&gt;
&lt;br /&gt;
* [[AwesomeWM]]&lt;br /&gt;
* [[dwm]]&lt;br /&gt;
* [[EyeOS]] &#039;&#039;(Cloud Computing Desktop)&#039;&#039;&lt;br /&gt;
* [[Gnome]]&lt;br /&gt;
* [[KDE]]&lt;br /&gt;
* [[MATE]]&lt;br /&gt;
* [[Oneye]] &#039;&#039;(Cloud Computing Desktop - Dropbox Alternative)&#039;&#039;&lt;br /&gt;
* [[Nextcloud]] &#039;&#039;(Self hostable cloud suite - Dropbox Alternative)&#039;&#039;&lt;br /&gt;
* [[Remote Desktop Server]]&lt;br /&gt;
* [[River]]&lt;br /&gt;
* [[Suspend on LID close]]&lt;br /&gt;
* [[Sway]]&lt;br /&gt;
* [[Xfce Desktop]]&lt;br /&gt;
* [[Sound Setup]]&lt;br /&gt;
* [[PipeWire]]&lt;br /&gt;
* [[Printer Setup]]&lt;br /&gt;
* [[Default applications]]&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi ==&lt;br /&gt;
&lt;br /&gt;
* [[Raspberry Pi|Raspberry Pi (Installation)]]&lt;br /&gt;
* [[Raspberry Pi - Headless Installation]]&lt;br /&gt;
* [[Classic install or sys mode on Raspberry Pi]]&lt;br /&gt;
* [[RPI Video Receiver]] &#039;&#039;(network video decoder using Rasperry Pi and omxplayer)&#039;&#039;&lt;br /&gt;
* [[Linux Router with VPN on a Raspberry Pi]]&lt;br /&gt;
* [[Linux Router with VPN on a Raspberry Pi (IPv6)]]&lt;br /&gt;
* [[Raspberry Pi 4 - Persistent system acting as a NAS and Time Machine]]&lt;br /&gt;
* [[Raspberry Pi 3 - Configuring it as wireless access point -AP Mode]]&lt;br /&gt;
* [[Raspberry Pi 3 - Setting Up Bluetooth]]&lt;br /&gt;
* [[Raspberry Pi 3 - Browser Client]] - kiosk or digital sign&lt;br /&gt;
* [[Raspberry Pi Zero W - Installation]]&lt;br /&gt;
* [[Raspberry Pi Bluetooth Speaker]]&lt;br /&gt;
&lt;br /&gt;
== PowerPC ==&lt;br /&gt;
&lt;br /&gt;
* [[Ppc64le|Powerpc64le (Installation)]]&lt;br /&gt;
&lt;br /&gt;
== IBM Z (IBM z Systems) ==&lt;br /&gt;
&lt;br /&gt;
* [[s390x|s390x (Installation)]]&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
&lt;br /&gt;
=== Telephony ===&lt;br /&gt;
* [[Setting up Zaptel/Asterisk on Alpine]]&lt;br /&gt;
** [[Setting up Streaming an Asterisk Channel]]&lt;br /&gt;
* [[Freepbx on Alpine Linux]]&lt;br /&gt;
* [[FreePBX_V3]] &#039;&#039;(FreeSWITCH, Asterisk GUI web acces tool)&#039;&#039;&lt;br /&gt;
* [[2600hz]] &#039;&#039;(FreeSWITCH, Asterisk GUI web access tool)&#039;&#039;&lt;br /&gt;
* [[Kamailio]] &#039;&#039;(SIP Server, formerly OpenSER)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Mail ===&lt;br /&gt;
* [[Hosting services on Alpine]] &#039;&#039;(Hosting mail, webservices and other services)&#039;&#039;&lt;br /&gt;
** [[Hosting Web/Email services on Alpine]]&lt;br /&gt;
* [[ISP Mail Server HowTo]] &amp;lt;!-- solution, Mail --&amp;gt;&lt;br /&gt;
** [[ISP Mail Server Upgrade 2.x]]&lt;br /&gt;
** [[ISP Mail Server 2.x HowTo]] &#039;&#039;(Beta, please test)&#039;&#039;&lt;br /&gt;
** [[ISP Mail Server 3.x HowTo]]&lt;br /&gt;
* [[Roundcube]] &#039;&#039;(Webmail system)&#039;&#039;&lt;br /&gt;
* [[Setting up postfix with virtual domains]]&lt;br /&gt;
* [[Protecting your email server with Alpine]]&lt;br /&gt;
* [[Setting up clamsmtp]]&lt;br /&gt;
* [[Setting up dovecot with imap and ssl]]&lt;br /&gt;
* [[relay email to gmail (msmtp, mailx, sendmail]]&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
* [[Lighttpd]]&lt;br /&gt;
** [[Lighttpd Https access]]&lt;br /&gt;
** [[Setting Up Lighttpd with PHP]]&lt;br /&gt;
** [[Setting Up Lighttpd With FastCGI]]&lt;br /&gt;
* [[Cherokee]]&lt;br /&gt;
* [[Nginx]]&lt;br /&gt;
** [[Nginx_with_PHP#Nginx_with_PHP|Nginx with PHP]]&lt;br /&gt;
** [[Nginx as reverse proxy with acme (letsencrypt)]]&lt;br /&gt;
* [[Apache]]&lt;br /&gt;
** [[Apache with php-fpm]]&lt;br /&gt;
** [[Setting Up Apache with PHP]]&lt;br /&gt;
** [[Apache authentication: NTLM Single Signon]]&lt;br /&gt;
&lt;br /&gt;
* [[High Availability High Performance Web Cache]] &#039;&#039;(uCarp + HAProxy for High Availability Services such as Squid web proxy)&#039;&#039; &amp;lt;!-- solution, Server --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up Transparent Squid Proxy]] &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
** [[SqStat]] &#039;&#039;(Script to look at active squid users connections)&#039;&#039;&lt;br /&gt;
** [[Obtaining user information via SNMP]] &#039;&#039;(Using squark-auth-snmp as a Squid authentication helper)&#039;&#039; &amp;lt;!-- Networking and Server, &amp;lt;== Using squark-auth-snmp --&amp;gt;&lt;br /&gt;
* [[Setting up Explicit Squid Proxy]]&lt;br /&gt;
&lt;br /&gt;
* [[Drupal]] &#039;&#039;(Content Management System (CMS) written in PHP)&#039;&#039;&lt;br /&gt;
* [[WordPress]] &#039;&#039;(Web software to create website or blog)&#039;&#039;&lt;br /&gt;
* [[MediaWiki]] &#039;&#039;(Free web-based wiki software application)&#039;&#039;&lt;br /&gt;
* [[DokuWiki]]&lt;br /&gt;
* [[Darkhttpd]]&lt;br /&gt;
* [[Tomcat]]&lt;br /&gt;
* [[Kopano]] &#039;&#039;(Microsoft Outlook compatible Groupware)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Other Servers ===&lt;br /&gt;
* [[Setting up a ssh-server]] &#039;&#039;(Using ssh is a good way to administer your box remotely)&#039;&#039;&lt;br /&gt;
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] &#039;&#039;(A simple two factor setup for OpenSSH)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a nfs-server]]&lt;br /&gt;
* [[Setting up a samba-server]] &#039;&#039;(standard file sharing)&#039;&#039;&lt;br /&gt;
* [[Setting up a samba-ad-dc]] &#039;&#039;(Active Directory compatible domain controller)&#039;&#039;&lt;br /&gt;
* [[Phpizabi]] &#039;&#039;(Social Networking Platform)&#039;&#039;&lt;br /&gt;
* [[Statusnet]] &#039;&#039;(Microblogging Platform)&#039;&#039;&lt;br /&gt;
* [[Pastebin]] &#039;&#039;(Pastebin software application)&#039;&#039;&lt;br /&gt;
* [[Setting up Transmission (bittorrent) with Clutch WebUI]]&lt;br /&gt;
&lt;br /&gt;
* [[Patchwork]] &#039;&#039;(Patch review management system)&#039;&#039;&lt;br /&gt;
* [[Redmine]] &#039;&#039;(Project management system)&#039;&#039;&lt;br /&gt;
* [[Request-Tracker]] &#039;&#039;(Ticket system)&#039;&#039;&lt;br /&gt;
* [[OsTicket]] &#039;&#039;(Ticket system)&#039;&#039;&lt;br /&gt;
* [[Setting up trac wiki|Trac]] &#039;&#039;(Enhanced wiki and issue tracking system for software development projects)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_newbie_developer: gitea|Setting up Git management web frontend gitea]]&lt;br /&gt;
* [[Cgit]]&lt;br /&gt;
** [[Setting up a git repository server with gitolite and cgit]] &amp;lt;!-- doesn&#039;t exist yet --&amp;gt;&lt;br /&gt;
* [[Roundcube]] &#039;&#039;(Webmail system)&#039;&#039;&lt;br /&gt;
* [[Glpi]] &#039;&#039;(Manage inventory of technical resources)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[How to setup a Alpine Linux mirror]]&lt;br /&gt;
* [[Cups]]&lt;br /&gt;
* [[NgIRCd]] &#039;&#039;(Server for Internet Relay Chat/IRC)&#039;&#039;&lt;br /&gt;
* [[How To Setup Your Own IRC Network]] &#039;&#039;(Using {{Pkg|charybdis}} and {{Pkg|atheme-iris}})&#039;&#039;&lt;br /&gt;
* [[OpenVCP]] &#039;&#039;(VServer Control Panel)&#039;&#039;&lt;br /&gt;
* [[Mahara]] &#039;&#039;(E-portfolio and social networking system)&#039;&#039;&lt;br /&gt;
* [[Chrony and GPSD | Using chrony, gpsd, and a garmin LVC 18 as a Stratum 1 NTP source ]]&lt;br /&gt;
* [[Sending SMS using gnokii]]&lt;br /&gt;
* [[IPTV How To|Internet Protocol television (IPTV)]]&lt;br /&gt;
* [[UniFi_Controller]]&lt;br /&gt;
* [[DNSCrypt-Proxy]] &#039;&#039;Encrypt and authenticate DNS calls from your system&#039;&#039;&lt;br /&gt;
* [[Odoo]]&lt;br /&gt;
&lt;br /&gt;
=== Monitoring ===&lt;br /&gt;
* Setting up [[collectd]]&lt;br /&gt;
* [[Traffic monitoring]] &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up traffic monitoring using rrdtool (and snmp)]] &amp;lt;!-- Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up monitoring using rrdtool (and rrdcollect)]]&lt;br /&gt;
* [[Cacti: traffic analysis and monitoring network]] &#039;&#039;(Front-end for rrdtool networking monitor)&#039;&#039;&lt;br /&gt;
* [[LTTng]] &#039;&#039;(Kernel and userspace tracing)&#039;&#039;&lt;br /&gt;
* [[Zabbix|Zabbix - the professional complete manager]] &#039;&#039;(Monitor and track the status of network services and hardware)&#039;&#039;&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039; &amp;lt;!-- draft, solution, Networking and Monitoring and Server --&amp;gt;&lt;br /&gt;
** [[Setting up NRPE daemon]] &#039;&#039;(Performs remote Nagios checks)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up Smokeping|Smokeping]] &#039;&#039;(Network latency monitoring)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
** [[Setting up MRTG and Smokeping to Monitor Bandwidth Usage and Network Latency]]&lt;br /&gt;
* [[Setting Up Fprobe And Ntop|Ntop]] &#039;&#039;(NetFlow collection and analysis using a remote fprobe instance)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Cvechecker]] &#039;&#039;(Compare installed packages for Common Vulnerabilities Exposure)&#039;&#039; &amp;lt;!-- Monitoring and Security --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[IP Accounting]] &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Obtaining user information via SNMP]] &#039;&#039;(Using squark-auth-snmp as a Squid authentication helper)&#039;&#039; &amp;lt;!-- Networking and Server, &amp;lt;== Using squark-auth-snmp --&amp;gt;&lt;br /&gt;
* [[SqStat]] &#039;&#039;(Script to look at active squid users connections)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Piwik]] &#039;&#039;(A real time web analytics software program)&#039;&#039;&lt;br /&gt;
* [[Awstats]] &#039;&#039;(Free log file analyzer)&#039;&#039;&lt;br /&gt;
* [[Intrusion Detection using Snort]]&lt;br /&gt;
** [[Intrusion Detection using Snort, Sguil, Barnyard and more]]&lt;br /&gt;
* [[Dglog]] &#039;&#039;(Log analyzer for the web content filter DansGuardian)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Webmin]] &#039;&#039;(A web-based interface for Linux system)&#039;&#039;&lt;br /&gt;
* [[PhpPgAdmin]] &#039;&#039;(Web-based administration tool for PostgreSQL)&#039;&#039;&lt;br /&gt;
* [[PhpMyAdmin]] &#039;&#039;(Web-based administration tool for MYSQL)&#039;&#039;&lt;br /&gt;
* [[PhpSysInfo]] &#039;&#039;(A simple application that displays information about the host it&#039;s running on)&#039;&#039;&lt;br /&gt;
* [[Linfo]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up lm_sensors]]&lt;br /&gt;
&lt;br /&gt;
* [[ZoneMinder video camera security and surveillance]]&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Shell]]&lt;br /&gt;
* [[:Category:Programming]]&lt;br /&gt;
* [[Running glibc programs]]&lt;br /&gt;
* [[:Category:Drivers]]&lt;br /&gt;
* [[:Category:Multimedia]]&lt;br /&gt;
* [[Kernel Modesetting]]&lt;br /&gt;
* [[CPU frequency scaling]]&lt;br /&gt;
&lt;br /&gt;
== Complete Solutions ==&lt;br /&gt;
* [[DIY Fully working Alpine Linux for Allwinner and Other ARM SOCs]]&lt;br /&gt;
* [https://codeberg.org/AVG7/alpine-sway-x86_64 DIY Live-USB-Stick with Sway] &lt;br /&gt;
* [[Alpine on the Aopen Chromebase or Chromebox Mini with Mainline Kernel]]&lt;br /&gt;
* [[Replacing non-Alpine Linux with Alpine remotely]]&lt;br /&gt;
* [[High performance SCST iSCSI Target on Linux software Raid]]&lt;br /&gt;
* [[Fault Tolerant Routing with Alpine Linux]]&lt;br /&gt;
* [[Experiences with OpenVPN-client on ALIX.2D3]]&lt;br /&gt;
* [[Building a cloud with Alpine Linux]]&lt;br /&gt;
&lt;br /&gt;
* [[ISP Mail Server HowTo]] &#039;&#039;(Postfix+PostfixAdmin+DoveCot+Roundcube+ClamAV+Spamd - A full-serivce ISP mail server)&#039;&#039;&lt;br /&gt;
** [[ISP Mail Server Upgrade 2.x]]&lt;br /&gt;
** [[ISP Mail Server 2.x HowTo]] &#039;&#039;(Beta, please test)&#039;&#039;&lt;br /&gt;
* [[High Availability High Performance Web Cache]] &#039;&#039;(uCarp + HAProxy for High Availability Services such as Squid web proxy)&#039;&#039;&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039; &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
* [[Streaming Security Camera Video with VLC]]&lt;br /&gt;
* [[Dynamic Multipoint VPN (DMVPN)]] combined with [[Small_Office_Services]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
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]].&lt;br /&gt;
&lt;br /&gt;
== Drafts ==&lt;br /&gt;
Currently unfinished/works-in-progress.&lt;br /&gt;
* [[Using Racoon for Remote Sites]]&lt;br /&gt;
* [[Setting up Transparent Squid Proxy]] &#039;&#039;(Covers Squid proxy and URL Filtering system)&#039;&#039;&lt;br /&gt;
** [[Obtaining user information via SNMP]] &#039;&#039;(Using the Squark Squid authentication helper)&#039;&#039; [!-- no longer a draft --]&lt;br /&gt;
* [[Setting up Streaming an Asterisk Channel]]&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039;&lt;br /&gt;
* [[Intrusion Detection using Snort]] &#039;&#039;(Installing and configuring Snort and related applications on Alpine 2.0.x)&#039;&#039;&lt;br /&gt;
* [[IP Accounting]] &#039;&#039;(Installing and configuring pmacct for IP Accounting, Netflow/sFlow collector)&#039;&#039;&lt;br /&gt;
* [[Disk Replication with DRBD]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Newbies ==&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_newbie]] (for overall information in funny sections)&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_newbie_apk_packages|Alpine newbie users post install and easy setups]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#New_users:_hostname_and_network_wired_connection|First steps at post install]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#New_users:_common_needed_package_to_install|Enable repositories]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#New_users:_management_of_users_and_logins|Added the first user to use the system]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#install_basic_tools|First packages to install]] (need the previous [[Alpine_newbie_apk_packages#New_users:_common_needed_package_to_install|Enable repositories]]) already done!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:System_Administration]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Tutorials_and_Howtos&amp;diff=21411</id>
		<title>Tutorials and Howtos</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Tutorials_and_Howtos&amp;diff=21411"/>
		<updated>2022-01-06T15:59:39Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: /* Installation: Use cases */ remove newbie install references&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Todo|This material needs to be re-organized .. as &#039;&#039;&#039;Howtos are smaller articles&#039;&#039;&#039; and &#039;&#039;&#039;tutorials are more detailed document&#039;&#039;&#039; both need to be reordered as independent sections }}&lt;br /&gt;
&lt;br /&gt;
[[Image:package_edutainment.svg|right|link=]]&lt;br /&gt;
{{TOC left}}&lt;br /&gt;
&#039;&#039;&#039;Welcome to Tutorials and Howtos, a place of basic and advanced configuration tasks for your Alpine Linux.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The tutorials are hands-on&#039;&#039;&#039; 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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Howtos are smaller articles&#039;&#039;&#039; explaining how to perform a particular task with Alpine Linux, that expects a minimal knowledge from reader to perform actions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; contributions on those pages must be complete articles as well as requesting topics to be covered, don&#039;t override already made contributions. If you want to request a topic, please add your request in this page&#039;s [[Talk:Tutorials_and_Howtos|Discussion]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
==== Postinstall: desktops and applications ====&lt;br /&gt;
&lt;br /&gt;
* [[Desktop environments and Window managers]] (overall information only)&lt;br /&gt;
** [[Xfce]]&lt;br /&gt;
** [[LXQt]]&lt;br /&gt;
** [[Openbox]]&lt;br /&gt;
** [[MATE]]&lt;br /&gt;
* [[Alpine and UEFI|Alpine and UEFI Support Status and related topics]]&lt;br /&gt;
&lt;br /&gt;
==== Developers: compilers, IDEs and tools ====&lt;br /&gt;
&lt;br /&gt;
* [[Alpine newbie developer]]&lt;br /&gt;
** [[Alpine newbie developer: gitea|Alpine newbie developer: Git management web frontend gitea]]&lt;br /&gt;
** [[Alpine newbie developer: full stack web]]&lt;br /&gt;
&lt;br /&gt;
==== Servers: deploy in production ====&lt;br /&gt;
&lt;br /&gt;
* [[Alpine production deploy]]&lt;br /&gt;
** [[Production Web server: Lighttpd‎‎]]&lt;br /&gt;
** [[Production DataBases : mysql]]&lt;br /&gt;
** [[Production LAMP system: Lighttpd + PHP + MySQL‎‎]]&lt;br /&gt;
* Alpine production monitoring&lt;br /&gt;
** [[Cacti: traffic analysis and monitoring network]]&lt;br /&gt;
** [[Zabbix|Zabbix - the professional complete manager]]&lt;br /&gt;
&lt;br /&gt;
== Storage ==&lt;br /&gt;
&lt;br /&gt;
* [[Alpine local backup|Alpine local backup (lbu)]] &#039;&#039;(Permanently store your modifications in case your box needs reboot)&#039;&#039; &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
** [[Back Up a Flash Memory Installation]] &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
** [[Manually editing a existing apkovl]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up disks manually]] &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
* [[Setting up a software RAID array]]&lt;br /&gt;
&amp;lt;!-- ** [[Setting up a /var partition on software IDE raid1]]  Obsolete, Installation and Storage --&amp;gt; &lt;br /&gt;
* [[Raid Administration]]&lt;br /&gt;
* [[Setting up encrypted volumes with LUKS]]&lt;br /&gt;
* [[Setting up LVM on LUKS]]&lt;br /&gt;
* [[Setting up Logical Volumes with LVM]]&lt;br /&gt;
** [[Setting up LVM on GPT-labeled disks]]&lt;br /&gt;
** [[Installing on GPT LVM]]&lt;br /&gt;
* [[Filesystems|Formatting HD/Floppy/Other]] &amp;lt;!-- just a stub --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up iSCSI]]&lt;br /&gt;
** [[iSCSI Raid and Clustered File Systems]]&lt;br /&gt;
* [[Setting up NBD]]&lt;br /&gt;
* [[Setting up ZFS on LUKS]]&lt;br /&gt;
* [[Setting up ZFS with native encryption]]&lt;br /&gt;
* [[High performance SCST iSCSI Target on Linux software Raid]] &#039;&#039;(deprecated)&#039;&#039; &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
* [[Linux iSCSI Target (TCM)]]&lt;br /&gt;
* [[Disk Replication with DRBD]] &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Burning ISOs]] &amp;lt;!-- just some links now --&amp;gt;&lt;br /&gt;
* [[Partitioning and Bootmanagers]]&lt;br /&gt;
* [[Migrating data]]&lt;br /&gt;
* [[Create a bootable SDHC from a Mac]]&lt;br /&gt;
* [[Alpine on ARM]]&lt;br /&gt;
&lt;br /&gt;
== Networking ==&lt;br /&gt;
&lt;br /&gt;
* [[Configure Networking]]&lt;br /&gt;
* [[Connecting to a wireless access point]]&lt;br /&gt;
* [[Bonding]]&lt;br /&gt;
* [[Vlan]]&lt;br /&gt;
* [[Bridge]]&lt;br /&gt;
* [[Bridge wlan0 to eth0]]&lt;br /&gt;
* [[OpenVSwitch]]&lt;br /&gt;
* [[How to configure static routes]]&lt;br /&gt;
* [[Configure a Wireguard interface (wg)]]&lt;br /&gt;
&lt;br /&gt;
* [[Alpine Wall]] - [[How-To Alpine Wall]] - [[Alpine Wall User&#039;s Guide]] &#039;&#039;(a new firewall management framework)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[PXE boot]]&lt;br /&gt;
&lt;br /&gt;
* [[Using serial modem]]&lt;br /&gt;
* [[Using HSDPA modem]]&lt;br /&gt;
* [[Setting up Satellite Internet Connection]]&lt;br /&gt;
* [[Using Alpine on Windows domain with IPSEC isolation]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a SSH server]] &#039;&#039;(Using SSH is the preferred way to administer your box remotely)&#039;&#039; &amp;lt;!-- Server and Networking --&amp;gt;&lt;br /&gt;
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] &#039;&#039;(A simple two factor setup for OpenSSH)&#039;&#039;&lt;br /&gt;
* [[How to setup a wireless access point]] &#039;&#039;(Setting up Secure Wireless AP w/ WPA encryption with bridge to wired network)&#039;&#039;&lt;br /&gt;
* [[How to set up Alpine as a wireless router]] &#039;&#039;(Setting up a firewalled, Wireless AP with wired network on a Pi Zero W)&#039;&#039;&lt;br /&gt;
* [[Setting up a OpenVPN server with Alpine]] &#039;&#039;(Allowing single users or devices to remotely connect to your network)&#039;&#039;&lt;br /&gt;
&amp;lt;!-- [[Using Racoon for Remote Sites]] is a different VPN tunnelling method, but that article is just a stub --&amp;gt;&lt;br /&gt;
* [[Experiences with OpenVPN-client on ALIX.2D3]]  &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Generating SSL certs with ACF]] &amp;lt;!-- Generating SSL certs with ACF 1.9 --&amp;gt;&lt;br /&gt;
* [[Setting up unbound DNS server]]&lt;br /&gt;
* [[Setting up nsd DNS server]]&lt;br /&gt;
* [[TinyDNS Format]]&lt;br /&gt;
* [[Fault Tolerant Routing with Alpine Linux]] &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
* [[Freeradius Active Directory Integration]]&lt;br /&gt;
* [[Multi_ISP]] &#039;&#039;(Dual-ISP setup with load-balancing and automatic failover)&#039;&#039;&lt;br /&gt;
* [[OwnCloud]] &#039;&#039;(Installing OwnCloud)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Seafile: setting up your own private cloud]]&lt;br /&gt;
&lt;br /&gt;
* [[GNUnet]]&lt;br /&gt;
&lt;br /&gt;
== Post-Install ==&lt;br /&gt;
&amp;lt;!-- If you edit this, please coordinate with Installation and Developer_Documentation#Package_management.  Note that these three sections are not exact duplicates. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a new user]]&lt;br /&gt;
* [[Enable Community Repository]] &#039;&#039;(Providing additional packages)&#039;&#039;&lt;br /&gt;
* [[Alpine Linux package management|Package Management (apk)]] &#039;&#039;(How to add/remove packages on your Alpine)&#039;&#039;&lt;br /&gt;
   &amp;lt;!-- [[Alpine Linux package management#Local_Cache|How to enable APK caching]] --&amp;gt;&lt;br /&gt;
** [[Comparison with other distros]]&lt;br /&gt;
* [[Alpine local backup|Alpine local backup (lbu)]] &#039;&#039;(Permanently store your modifications in case your box needs reboot)&#039;&#039;&lt;br /&gt;
** [[Back Up a Flash Memory Installation]] &amp;lt;!-- new --&amp;gt;&lt;br /&gt;
** [[Manually editing a existing apkovl]]&lt;br /&gt;
* [[Alpine Linux Init System|Init System (OpenRC)]] &#039;&#039;(Configure a service to automatically boot at next reboot)&#039;&#039;&lt;br /&gt;
** [[Multiple Instances of Services]]&lt;br /&gt;
   &amp;lt;!-- [[Writing Init Scripts]] --&amp;gt;&lt;br /&gt;
* [[Alpine setup scripts#setup-xorg-base|Setting up Xorg]]&lt;br /&gt;
* [[Upgrading Alpine]]&lt;br /&gt;
&amp;lt;!-- Obsolete&lt;br /&gt;
 [[Upgrading Alpine - v1.9.x]]&lt;br /&gt;
 [[Upgrading Alpine - CD v1.8.x]]&lt;br /&gt;
 [[Upgrading Alpine - HD v1.8.x]]&lt;br /&gt;
 [[Upgrade to repository main|Upgrading to signed repositories]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a ssh-server]] &#039;&#039;(Using ssh is a good way to administer your box remotely)&#039;&#039;&lt;br /&gt;
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] &#039;&#039;(A simple two factor setup for OpenSSH)&#039;&#039;&lt;br /&gt;
* [[setup-acf]] &#039;&#039;(Configures ACF (webconfiguration) so you can manage your box through https)&#039;&#039;&lt;br /&gt;
* [[Changing passwords for ACF|Changing passwords]]&lt;br /&gt;
* [[Ansible]] &#039;&#039;(Configuration management)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Enable Serial Console on Boot]]&lt;br /&gt;
&amp;lt;!-- Obsolete?&lt;br /&gt;
* [[Error message on boot: Address space collision: host bridge window conflicts with Adaptor ROM]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* [[How to get regular stuff working]] &#039;&#039;some notes on need-to-know topics&#039;&#039;&lt;br /&gt;
* [[Installing Oracle Java]]&lt;br /&gt;
* [[Rsnapshot|Setting up periodic backups with &amp;lt;samp&amp;gt;rsnapshot&amp;lt;/samp&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
== Virtualization==&lt;br /&gt;
&lt;br /&gt;
* [[Xen Dom0]] &#039;&#039;(Setting up Alpine as a dom0 for Xen hypervisor)&#039;&#039;&lt;br /&gt;
* [[Xen Dom0 on USB or SD]]&lt;br /&gt;
* [[Create Alpine Linux PV DomU]]&lt;br /&gt;
* [[Xen PCI Passthrough]]&lt;br /&gt;
* [[Xen LiveCD]]&lt;br /&gt;
* [[QEMU]]&lt;br /&gt;
* [[KVM]] &#039;&#039;(Setting up Alpine as a KVM hypervisor)&#039;&#039;&lt;br /&gt;
* [[LXC]] &#039;&#039;(Setting up a Linux container in Alpine Linux)&#039;&#039;&lt;br /&gt;
* [[Docker]]&lt;br /&gt;
* [[Install_Alpine_on_VirtualBox]]&lt;br /&gt;
* [[Install Alpine on VMWare]]&lt;br /&gt;
&lt;br /&gt;
== Desktop Environment ==&lt;br /&gt;
&lt;br /&gt;
* [[AwesomeWM]]&lt;br /&gt;
* [[dwm]]&lt;br /&gt;
* [[EyeOS]] &#039;&#039;(Cloud Computing Desktop)&#039;&#039;&lt;br /&gt;
* [[Gnome]]&lt;br /&gt;
* [[KDE]]&lt;br /&gt;
* [[MATE]]&lt;br /&gt;
* [[Oneye]] &#039;&#039;(Cloud Computing Desktop - Dropbox Alternative)&#039;&#039;&lt;br /&gt;
* [[Nextcloud]] &#039;&#039;(Self hostable cloud suite - Dropbox Alternative)&#039;&#039;&lt;br /&gt;
* [[Remote Desktop Server]]&lt;br /&gt;
* [[River]]&lt;br /&gt;
* [[Suspend on LID close]]&lt;br /&gt;
* [[Sway]]&lt;br /&gt;
* [[Xfce Desktop]]&lt;br /&gt;
* [[Sound Setup]]&lt;br /&gt;
* [[PipeWire]]&lt;br /&gt;
* [[Printer Setup]]&lt;br /&gt;
* [[Default applications]]&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi ==&lt;br /&gt;
&lt;br /&gt;
* [[Raspberry Pi|Raspberry Pi (Installation)]]&lt;br /&gt;
* [[Raspberry Pi - Headless Installation]]&lt;br /&gt;
* [[Classic install or sys mode on Raspberry Pi]]&lt;br /&gt;
* [[RPI Video Receiver]] &#039;&#039;(network video decoder using Rasperry Pi and omxplayer)&#039;&#039;&lt;br /&gt;
* [[Linux Router with VPN on a Raspberry Pi]]&lt;br /&gt;
* [[Linux Router with VPN on a Raspberry Pi (IPv6)]]&lt;br /&gt;
* [[Raspberry Pi 4 - Persistent system acting as a NAS and Time Machine]]&lt;br /&gt;
* [[Raspberry Pi 3 - Configuring it as wireless access point -AP Mode]]&lt;br /&gt;
* [[Raspberry Pi 3 - Setting Up Bluetooth]]&lt;br /&gt;
* [[Raspberry Pi 3 - Browser Client]] - kiosk or digital sign&lt;br /&gt;
* [[Raspberry Pi Zero W - Installation]]&lt;br /&gt;
* [[Raspberry Pi Bluetooth Speaker]]&lt;br /&gt;
&lt;br /&gt;
== PowerPC ==&lt;br /&gt;
&lt;br /&gt;
* [[Ppc64le|Powerpc64le (Installation)]]&lt;br /&gt;
&lt;br /&gt;
== IBM Z (IBM z Systems) ==&lt;br /&gt;
&lt;br /&gt;
* [[s390x|s390x (Installation)]]&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
&lt;br /&gt;
=== Telephony ===&lt;br /&gt;
* [[Setting up Zaptel/Asterisk on Alpine]]&lt;br /&gt;
** [[Setting up Streaming an Asterisk Channel]]&lt;br /&gt;
* [[Freepbx on Alpine Linux]]&lt;br /&gt;
* [[FreePBX_V3]] &#039;&#039;(FreeSWITCH, Asterisk GUI web acces tool)&#039;&#039;&lt;br /&gt;
* [[2600hz]] &#039;&#039;(FreeSWITCH, Asterisk GUI web access tool)&#039;&#039;&lt;br /&gt;
* [[Kamailio]] &#039;&#039;(SIP Server, formerly OpenSER)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Mail ===&lt;br /&gt;
* [[Hosting services on Alpine]] &#039;&#039;(Hosting mail, webservices and other services)&#039;&#039;&lt;br /&gt;
** [[Hosting Web/Email services on Alpine]]&lt;br /&gt;
* [[ISP Mail Server HowTo]] &amp;lt;!-- solution, Mail --&amp;gt;&lt;br /&gt;
** [[ISP Mail Server Upgrade 2.x]]&lt;br /&gt;
** [[ISP Mail Server 2.x HowTo]] &#039;&#039;(Beta, please test)&#039;&#039;&lt;br /&gt;
** [[ISP Mail Server 3.x HowTo]]&lt;br /&gt;
* [[Roundcube]] &#039;&#039;(Webmail system)&#039;&#039;&lt;br /&gt;
* [[Setting up postfix with virtual domains]]&lt;br /&gt;
* [[Protecting your email server with Alpine]]&lt;br /&gt;
* [[Setting up clamsmtp]]&lt;br /&gt;
* [[Setting up dovecot with imap and ssl]]&lt;br /&gt;
* [[relay email to gmail (msmtp, mailx, sendmail]]&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
* [[Lighttpd]]&lt;br /&gt;
** [[Lighttpd Https access]]&lt;br /&gt;
** [[Setting Up Lighttpd with PHP]]&lt;br /&gt;
** [[Setting Up Lighttpd With FastCGI]]&lt;br /&gt;
* [[Cherokee]]&lt;br /&gt;
* [[Nginx]]&lt;br /&gt;
** [[Nginx_with_PHP#Nginx_with_PHP|Nginx with PHP]]&lt;br /&gt;
** [[Nginx as reverse proxy with acme (letsencrypt)]]&lt;br /&gt;
* [[Apache]]&lt;br /&gt;
** [[Apache with php-fpm]]&lt;br /&gt;
** [[Setting Up Apache with PHP]]&lt;br /&gt;
** [[Apache authentication: NTLM Single Signon]]&lt;br /&gt;
&lt;br /&gt;
* [[High Availability High Performance Web Cache]] &#039;&#039;(uCarp + HAProxy for High Availability Services such as Squid web proxy)&#039;&#039; &amp;lt;!-- solution, Server --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up Transparent Squid Proxy]] &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
** [[SqStat]] &#039;&#039;(Script to look at active squid users connections)&#039;&#039;&lt;br /&gt;
** [[Obtaining user information via SNMP]] &#039;&#039;(Using squark-auth-snmp as a Squid authentication helper)&#039;&#039; &amp;lt;!-- Networking and Server, &amp;lt;== Using squark-auth-snmp --&amp;gt;&lt;br /&gt;
* [[Setting up Explicit Squid Proxy]]&lt;br /&gt;
&lt;br /&gt;
* [[Drupal]] &#039;&#039;(Content Management System (CMS) written in PHP)&#039;&#039;&lt;br /&gt;
* [[WordPress]] &#039;&#039;(Web software to create website or blog)&#039;&#039;&lt;br /&gt;
* [[MediaWiki]] &#039;&#039;(Free web-based wiki software application)&#039;&#039;&lt;br /&gt;
* [[DokuWiki]]&lt;br /&gt;
* [[Darkhttpd]]&lt;br /&gt;
* [[Tomcat]]&lt;br /&gt;
* [[Kopano]] &#039;&#039;(Microsoft Outlook compatible Groupware)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Other Servers ===&lt;br /&gt;
* [[Setting up a ssh-server]] &#039;&#039;(Using ssh is a good way to administer your box remotely)&#039;&#039;&lt;br /&gt;
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] &#039;&#039;(A simple two factor setup for OpenSSH)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a nfs-server]]&lt;br /&gt;
* [[Setting up a samba-server]] &#039;&#039;(standard file sharing)&#039;&#039;&lt;br /&gt;
* [[Setting up a samba-ad-dc]] &#039;&#039;(Active Directory compatible domain controller)&#039;&#039;&lt;br /&gt;
* [[Phpizabi]] &#039;&#039;(Social Networking Platform)&#039;&#039;&lt;br /&gt;
* [[Statusnet]] &#039;&#039;(Microblogging Platform)&#039;&#039;&lt;br /&gt;
* [[Pastebin]] &#039;&#039;(Pastebin software application)&#039;&#039;&lt;br /&gt;
* [[Setting up Transmission (bittorrent) with Clutch WebUI]]&lt;br /&gt;
&lt;br /&gt;
* [[Patchwork]] &#039;&#039;(Patch review management system)&#039;&#039;&lt;br /&gt;
* [[Redmine]] &#039;&#039;(Project management system)&#039;&#039;&lt;br /&gt;
* [[Request-Tracker]] &#039;&#039;(Ticket system)&#039;&#039;&lt;br /&gt;
* [[OsTicket]] &#039;&#039;(Ticket system)&#039;&#039;&lt;br /&gt;
* [[Setting up trac wiki|Trac]] &#039;&#039;(Enhanced wiki and issue tracking system for software development projects)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_newbie_developer: gitea|Setting up Git management web frontend gitea]]&lt;br /&gt;
* [[Cgit]]&lt;br /&gt;
** [[Setting up a git repository server with gitolite and cgit]] &amp;lt;!-- doesn&#039;t exist yet --&amp;gt;&lt;br /&gt;
* [[Roundcube]] &#039;&#039;(Webmail system)&#039;&#039;&lt;br /&gt;
* [[Glpi]] &#039;&#039;(Manage inventory of technical resources)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[How to setup a Alpine Linux mirror]]&lt;br /&gt;
* [[Cups]]&lt;br /&gt;
* [[NgIRCd]] &#039;&#039;(Server for Internet Relay Chat/IRC)&#039;&#039;&lt;br /&gt;
* [[How To Setup Your Own IRC Network]] &#039;&#039;(Using {{Pkg|charybdis}} and {{Pkg|atheme-iris}})&#039;&#039;&lt;br /&gt;
* [[OpenVCP]] &#039;&#039;(VServer Control Panel)&#039;&#039;&lt;br /&gt;
* [[Mahara]] &#039;&#039;(E-portfolio and social networking system)&#039;&#039;&lt;br /&gt;
* [[Chrony and GPSD | Using chrony, gpsd, and a garmin LVC 18 as a Stratum 1 NTP source ]]&lt;br /&gt;
* [[Sending SMS using gnokii]]&lt;br /&gt;
* [[IPTV How To|Internet Protocol television (IPTV)]]&lt;br /&gt;
* [[UniFi_Controller]]&lt;br /&gt;
* [[DNSCrypt-Proxy]] &#039;&#039;Encrypt and authenticate DNS calls from your system&#039;&#039;&lt;br /&gt;
* [[Odoo]]&lt;br /&gt;
&lt;br /&gt;
=== Monitoring ===&lt;br /&gt;
* Setting up [[collectd]]&lt;br /&gt;
* [[Traffic monitoring]] &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up traffic monitoring using rrdtool (and snmp)]] &amp;lt;!-- Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up monitoring using rrdtool (and rrdcollect)]]&lt;br /&gt;
* [[Cacti: traffic analysis and monitoring network]] &#039;&#039;(Front-end for rrdtool networking monitor)&#039;&#039;&lt;br /&gt;
* [[LTTng]] &#039;&#039;(Kernel and userspace tracing)&#039;&#039;&lt;br /&gt;
* [[Zabbix|Zabbix - the professional complete manager]] &#039;&#039;(Monitor and track the status of network services and hardware)&#039;&#039;&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039; &amp;lt;!-- draft, solution, Networking and Monitoring and Server --&amp;gt;&lt;br /&gt;
** [[Setting up NRPE daemon]] &#039;&#039;(Performs remote Nagios checks)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up Smokeping|Smokeping]] &#039;&#039;(Network latency monitoring)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
** [[Setting up MRTG and Smokeping to Monitor Bandwidth Usage and Network Latency]]&lt;br /&gt;
* [[Setting Up Fprobe And Ntop|Ntop]] &#039;&#039;(NetFlow collection and analysis using a remote fprobe instance)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Cvechecker]] &#039;&#039;(Compare installed packages for Common Vulnerabilities Exposure)&#039;&#039; &amp;lt;!-- Monitoring and Security --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[IP Accounting]] &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Obtaining user information via SNMP]] &#039;&#039;(Using squark-auth-snmp as a Squid authentication helper)&#039;&#039; &amp;lt;!-- Networking and Server, &amp;lt;== Using squark-auth-snmp --&amp;gt;&lt;br /&gt;
* [[SqStat]] &#039;&#039;(Script to look at active squid users connections)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Piwik]] &#039;&#039;(A real time web analytics software program)&#039;&#039;&lt;br /&gt;
* [[Awstats]] &#039;&#039;(Free log file analyzer)&#039;&#039;&lt;br /&gt;
* [[Intrusion Detection using Snort]]&lt;br /&gt;
** [[Intrusion Detection using Snort, Sguil, Barnyard and more]]&lt;br /&gt;
* [[Dglog]] &#039;&#039;(Log analyzer for the web content filter DansGuardian)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Webmin]] &#039;&#039;(A web-based interface for Linux system)&#039;&#039;&lt;br /&gt;
* [[PhpPgAdmin]] &#039;&#039;(Web-based administration tool for PostgreSQL)&#039;&#039;&lt;br /&gt;
* [[PhpMyAdmin]] &#039;&#039;(Web-based administration tool for MYSQL)&#039;&#039;&lt;br /&gt;
* [[PhpSysInfo]] &#039;&#039;(A simple application that displays information about the host it&#039;s running on)&#039;&#039;&lt;br /&gt;
* [[Linfo]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up lm_sensors]]&lt;br /&gt;
&lt;br /&gt;
* [[ZoneMinder video camera security and surveillance]]&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Shell]]&lt;br /&gt;
* [[:Category:Programming]]&lt;br /&gt;
* [[Running glibc programs]]&lt;br /&gt;
* [[:Category:Drivers]]&lt;br /&gt;
* [[:Category:Multimedia]]&lt;br /&gt;
* [[Kernel Modesetting]]&lt;br /&gt;
* [[CPU frequency scaling]]&lt;br /&gt;
&lt;br /&gt;
== Complete Solutions ==&lt;br /&gt;
* [[DIY Fully working Alpine Linux for Allwinner and Other ARM SOCs]]&lt;br /&gt;
* [https://codeberg.org/AVG7/alpine-sway-x86_64 DIY Live-USB-Stick with Sway] &lt;br /&gt;
* [[Alpine on the Aopen Chromebase or Chromebox Mini with Mainline Kernel]]&lt;br /&gt;
* [[Replacing non-Alpine Linux with Alpine remotely]]&lt;br /&gt;
* [[High performance SCST iSCSI Target on Linux software Raid]]&lt;br /&gt;
* [[Fault Tolerant Routing with Alpine Linux]]&lt;br /&gt;
* [[Experiences with OpenVPN-client on ALIX.2D3]]&lt;br /&gt;
* [[Building a cloud with Alpine Linux]]&lt;br /&gt;
&lt;br /&gt;
* [[ISP Mail Server HowTo]] &#039;&#039;(Postfix+PostfixAdmin+DoveCot+Roundcube+ClamAV+Spamd - A full-serivce ISP mail server)&#039;&#039;&lt;br /&gt;
** [[ISP Mail Server Upgrade 2.x]]&lt;br /&gt;
** [[ISP Mail Server 2.x HowTo]] &#039;&#039;(Beta, please test)&#039;&#039;&lt;br /&gt;
* [[High Availability High Performance Web Cache]] &#039;&#039;(uCarp + HAProxy for High Availability Services such as Squid web proxy)&#039;&#039;&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039; &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
* [[Streaming Security Camera Video with VLC]]&lt;br /&gt;
* [[Dynamic Multipoint VPN (DMVPN)]] combined with [[Small_Office_Services]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
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]].&lt;br /&gt;
&lt;br /&gt;
== Drafts ==&lt;br /&gt;
Currently unfinished/works-in-progress.&lt;br /&gt;
* [[Using Racoon for Remote Sites]]&lt;br /&gt;
* [[Setting up Transparent Squid Proxy]] &#039;&#039;(Covers Squid proxy and URL Filtering system)&#039;&#039;&lt;br /&gt;
** [[Obtaining user information via SNMP]] &#039;&#039;(Using the Squark Squid authentication helper)&#039;&#039; [!-- no longer a draft --]&lt;br /&gt;
* [[Setting up Streaming an Asterisk Channel]]&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039;&lt;br /&gt;
* [[Intrusion Detection using Snort]] &#039;&#039;(Installing and configuring Snort and related applications on Alpine 2.0.x)&#039;&#039;&lt;br /&gt;
* [[IP Accounting]] &#039;&#039;(Installing and configuring pmacct for IP Accounting, Netflow/sFlow collector)&#039;&#039;&lt;br /&gt;
* [[Disk Replication with DRBD]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Newbies ==&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_newbie]] (for overall information in funny sections)&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_newbie_apk_packages|Alpine newbie users post install and easy setups]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#New_users:_hostname_and_network_wired_connection|First steps at post install]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#New_users:_common_needed_package_to_install|Enable repositories]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#New_users:_management_of_users_and_logins|Added the first user to use the system]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#install_basic_tools|First packages to install]] (need the previous [[Alpine_newbie_apk_packages#New_users:_common_needed_package_to_install|Enable repositories]]) already done!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:System_Administration]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_new_computer_single_only_boot&amp;diff=21410</id>
		<title>Alpine Install: from a disc to a new computer single only boot</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_new_computer_single_only_boot&amp;diff=21410"/>
		<updated>2022-01-06T15:58:23Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: Mckaygerhard moved page Alpine Install: from a disc to a new computer single only boot to Delete-3: There&amp;#039;s a installation page, the main purpose of the &amp;quot;newbie&amp;quot; categori is specific list of cases! please do not restore cos as disclamer cited a...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Delete-3]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Alpine_Install:_from_a_disc_to_a_any_computer_single_only_boot&amp;diff=21407</id>
		<title>Talk:Alpine Install: from a disc to a any computer single only boot</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Alpine_Install:_from_a_disc_to_a_any_computer_single_only_boot&amp;diff=21407"/>
		<updated>2022-01-06T15:52:52Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: /* Proposal for Deletion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Proposal for Deletion==&lt;br /&gt;
Guest09248 asserts that &amp;quot;there are other wiki pages with similar (if not the same) information&amp;quot;&lt;br /&gt;
As such I do not support deleting this article, instead it should be merged or redirected.&lt;br /&gt;
[[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 21:44, 14 December 2021 (UTC)&lt;br /&gt;
: the idea of newbie category are specific cases for almos any situation.. as must be for new users in .. but seems Guest09248 mixed several pages, this is a situation of lack of coordination and olders ways to made a team of work.. by example i send a email to devel-alpine and the response was &amp;quot;acts as you want&amp;quot;! in resume so we are not a anarchist here! so i let the citation of deletino but put a note about and removes any newbie reference from that user.&lt;br /&gt;
[[User:Mckaygerhard|Mckaygerhard]] ([[User talk:Mckaygerhard|talk]]) 01:44, 6 Jan 2022 (UTC)&lt;br /&gt;
&lt;br /&gt;
== about grammar ==&lt;br /&gt;
&lt;br /&gt;
yes .. there&#039;s a lot of grammar errors, but i was the only to take patiente to make screenshots (the only screenshot made are thanks to me) and put in some order to other can work!&lt;br /&gt;
of course now i have time to fix the context of my articles but we need coordination.&lt;br /&gt;
[[User:Mckaygerhard|Mckaygerhard]] ([[User talk:Mckaygerhard|talk]]) 01:44, 6 Jan 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Alpine_Install:_from_a_disc_to_a_any_computer_single_only_boot&amp;diff=21406</id>
		<title>Talk:Alpine Install: from a disc to a any computer single only boot</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Alpine_Install:_from_a_disc_to_a_any_computer_single_only_boot&amp;diff=21406"/>
		<updated>2022-01-06T15:52:18Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: added talk to.. it seem the Guest09248 user dont take in consideration to Zcrayfish&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Proposal for Deletion==&lt;br /&gt;
Guest09248 asserts that &amp;quot;there are other wiki pages with similar (if not the same) information&amp;quot;&lt;br /&gt;
As such I do not support deleting this article, instead it should be merged or redirected.&lt;br /&gt;
[[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 21:44, 14 December 2021 (UTC)&lt;br /&gt;
: the idea of newbie category are specific cases for almos any situation.. as must be for new users in .. &lt;br /&gt;
but seems Guest09248 mixed several pages, this is a situation of lack of coordination and olders ways to &lt;br /&gt;
made a team of work.. by example i send a email to devel-alpine and the response was &amp;quot;acts as you want&amp;quot;! in resume &lt;br /&gt;
so we are not a anarchist here! so i let the citation of deletino but put a note about and removes any newbie reference from that user.&lt;br /&gt;
[[User:Mckaygerhard|Mckaygerhard]] ([[User talk:Mckaygerhard|talk]]) 01:44, 6 Jan 2022 (UTC)&lt;br /&gt;
&lt;br /&gt;
== about grammar ==&lt;br /&gt;
&lt;br /&gt;
yes .. there&#039;s a lot of grammar errors, but i was the only to take patiente to make screenshots (the only screenshot made are thanks to me) and put in some order to other can work!&lt;br /&gt;
of course now i have time to fix the context of my articles but we need coordination.&lt;br /&gt;
[[User:Mckaygerhard|Mckaygerhard]] ([[User talk:Mckaygerhard|talk]]) 01:44, 6 Jan 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_any_computer_single_only_boot&amp;diff=21405</id>
		<title>Alpine Install: from a disc to a any computer single only boot</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_any_computer_single_only_boot&amp;diff=21405"/>
		<updated>2022-01-06T15:47:30Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: unlink and remove newbie references and clarify the deletion if any&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Delete|there are other wiki pages with similar or same information, the proposal and idea of newbie pages was specific cases but now there are too mixed pages with same information DUE LACK OF COORDINATION, so the best is to delete this content}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Alpine Installation from a official disc/iso burned into DVD/CD to a new computer with or without [[Alpine and UEFI|UEFI]] and will be single only boot, it&#039;s means that any thing in the computer and their disc will be erased to put Alpine Linux as main system&lt;br /&gt;
&lt;br /&gt;
This document will guide you to &#039;&#039;&#039;install Alpine into a new empty or just fresh PC or Laptop hardware computer, use if you have a [[Alpine and UEFI|BIOS or UEFI based hardware]] and only wants Alpine Linux into it.&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;[[Alpine and UEFI|UEFI]]&#039;&#039;&#039;: it&#039;s a new system included in every new hardware machine laptop or desktops, that will manage the early boot process as a little operating system, see more in the [[Alpine and UEFI]] page.&lt;br /&gt;
* &#039;&#039;&#039;New machine&#039;&#039;&#039;: will be your real machine fresh and ready to install your new Alpine operating system, with a installed CD/DVD Rom optical drive where to put the burned downloaded disc media installation.&lt;br /&gt;
* &#039;&#039;&#039;Optical drive&#039;&#039;&#039;: will be your hardware drive input to put the burned downloaded iso media with the operating system Alpine to install as source media; this drive are commonly named [https://en.wikipedia.org/wiki/CD-ROM DVD/CD Rom] unit.&lt;br /&gt;
* &#039;&#039;&#039;Source media&#039;&#039;&#039;: will be the just burned/ disc from the downloaded iso file of Alpine operating system. Will be put into the optical drive or named [https://en.wikipedia.org/wiki/CD-ROM DVD/CD Rom] to property boot the source disc as media installation.&lt;br /&gt;
* &#039;&#039;&#039;Target media&#039;&#039;&#039;: will be the storage medium device into the new computer target where the Alpine files for operating system will be installed, its one partition from the [https://en.wikipedia.org/wiki/Hard_disk_drive HardDisk] of the new computer.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* A blank disc (CD blank or DVD blank or BR blank) to just burn/record the source media file downloaded&lt;br /&gt;
* In the new machine we need optical drive as input source media&lt;br /&gt;
* In the new machine we need at least 512Mb of RAM, but required 2Gb of RAM for desktop/graphical applications&lt;br /&gt;
* In the new machine we need target media with at least 2G of hard disk, but required 10G for desktops&lt;br /&gt;
* Will need to previously downloaded and burned the Source media ISO file from https://alpinelinux.org/downloads/&lt;br /&gt;
&lt;br /&gt;
== Preparing the source medium to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home documents in a modern computer. There are more hardware medium sources to download, like the arm and i386, but ISO CD/DVD images are only to PC/Laptops that are i386 and amd64, so by downloading the x86 (32bit) flavor will be same for both cases, but UEFI need 64bit, so change to the x86_64 (amd64) if your computer is the most modern and lasted hardware.&lt;br /&gt;
&lt;br /&gt;
The source medium to install for [[Alpine and UEFI|UEFI or &#039;&#039;&#039;modern hardware&#039;&#039;&#039;]] &#039;&#039;&#039;are just 64-bit only&#039;&#039;&#039;, the download URL will be as following format: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; could be:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; will be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: the most used i386 32-bit x86 based machines, if your computer are too older use this only.&lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines, i386 are not recommended for newer/lasted hardware.&lt;br /&gt;
** &#039;&#039;&#039;s390x&#039;&#039;&#039;: For the Super powered IBM mainframes, especially IBM Z and IBM LinuxONE servers. &lt;br /&gt;
** &#039;&#039;&#039;ppc64le&#039;&#039;&#039;: For the PowerPC devices with pure little-endian mode, mostly for POWER8 and POWER9&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; will be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; for a more up to date without taking care of numbered&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; the most recommended for machines between 2016 to 2018&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;So using 3.10 version the available links to download will be:&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;x86_64&#039;&#039;&#039;: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86_64/alpine-standard-3.10.0-x86_64.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;s390x&#039;&#039;&#039;: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/alpine-standard-3.10.1-ppc64le.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;ppc64le&#039;&#039;&#039;: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/alpine-standard-3.10.1-ppc64le.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that url and the download of the iso file will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86_64.iso&amp;quot;&amp;lt;/code&amp;gt; (if amd64) or like &amp;lt;code&amp;gt;alpine-standard-3.10.1-s390x.iso&amp;lt;/code&amp;gt; (if s390x); will be downloaded commonly into the Download directory of your home documents filesystem.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: in unix-like terminal execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86_64/alpine-standard-3.10.0-x86_64.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;,  and where you run the command, in that place/dir will be downloaded the file.&lt;br /&gt;
&lt;br /&gt;
== Burning the source medium to install ==&lt;br /&gt;
&lt;br /&gt;
After downloading the source media file from [https://alpinelinux.org/downloads/ Alpine download page] &#039;&#039;&#039; put the blank disc into the input optical drive&#039;&#039;&#039; named [https://en.wikipedia.org/wiki/CD-ROM DVD/CD Rom] and &#039;&#039;&#039;open your CD/DVD recording program, choose to &amp;quot;burn from iso file&amp;quot;&#039;&#039;&#039; and wait the process will end.&lt;br /&gt;
&lt;br /&gt;
In detail if you downloaded with  &#039;&#039;&#039;Graphical download&#039;&#039;&#039; (using a web browser), the source media file will be into the Download directory. If you downloaded with &#039;&#039;&#039;Command line method&#039;&#039;&#039; your source file probably will be in your root document home (or just &amp;lt;code&amp;gt;$HOME&amp;lt;/code&amp;gt; of your Linux install or MAC install filesystem).&lt;br /&gt;
&lt;br /&gt;
In Linux, assuming the blank disc is in the optical drive, the command to record/burn the downloaded source media file is :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ umount /dev/sr0;cdrecord -v -sao dev=/dev/sr0 alpine-standard-3.10.0-x86_64.iso&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your blank media is a DVD or BD disc the command will be then :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ umount /dev/sr0;growisofs -dvd-compat -Z /dev/sr0=alpine-standard-3.10.0-x86_64.iso&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|growisofs has a small bug with blank BD-R media. It issues an error message after the burning is complete. Programs like k3b then believe the whole burn run failed.}}&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine start, you must be sure to choose the optical drive (commonly named CD/DVD Rom drive), so the disc/iso will boot and after a while a command line shell will show you:&lt;br /&gt;
&lt;br /&gt;
{{Tip|If your system is not configured to boot from a CD/DVD drive, it must be configured in the BIOS, &#039;&#039;&#039;ask/search to your vendor or technical support&#039;&#039;&#039;, Toshiba computers need to hit F1 to choose boot medium, DELL must hit F11 to choose medium for example, and so and so}}&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
{{:Installation_pages_setup-alpine_script_normal}}&lt;br /&gt;
{{:Installation_pages_setup-disk_script_alpine_main_single}}&lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After all of the scripts in the setup end, a &amp;quot;reboot&amp;quot; will be offered, just type &amp;quot;reboot&amp;quot; and press enter, remove the boot media and newly installed system will be booted.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You cannot see a graphical window system? take it easy&#039;&#039;&#039; and get calmed down.. in Alpine all are made by the right way..  so &#039;&#039;&#039;if user need a desktop.. user can install a desktop&#039;&#039;&#039; follow the next: [[Alpine newbie packages]] &#039;&#039;&#039;or bypass and go directly to [[Alpine newbie desktops]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || [[Alpine newbie packages]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie packages]]&lt;br /&gt;
# [[Alpine newbie desktops]]&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_iso_to_a_virtualbox_machine_with_external_disc&amp;diff=21404</id>
		<title>Alpine Install: from a iso to a virtualbox machine with external disc</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_iso_to_a_virtualbox_machine_with_external_disc&amp;diff=21404"/>
		<updated>2022-01-06T15:45:10Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: uinlink all newbie pages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Alpine Installation from a official disc/iso downloaded to a real hard disk by the usage of VirtualBox machine as the real machine, where will be single OS only.&lt;br /&gt;
&lt;br /&gt;
This document will guide you to &#039;&#039;&#039;install Alpine into a real hard disk device but through the VirtualBox virtual machine acting as real machine&#039;&#039;&#039;, use if want to install to a real hard disk device externally but no way to boot it so can use in VirtualBox virtual machine .&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Host machine&#039;&#039;&#039;: will be your real machine with installed operating system that have installed the VirtualBox software and &amp;quot;will host&amp;quot; the target operating system, in that case Alpine.&lt;br /&gt;
* &#039;&#039;&#039;Guest machine&#039;&#039;&#039;: will be your target machine where Alpine will be installed, emulated by the host operating system using the VirtualBox software installed in the real machine.&lt;br /&gt;
* &#039;&#039;&#039;Reserved RAM&#039;&#039;&#039;: will be the amount of RAM that will be need to share exclusively to the virtual machine created by the VirtualBox software in the host machine, stolen from the real RAM.&lt;br /&gt;
* &#039;&#039;&#039;External disc&#039;&#039;&#039;: will be the storage medium device attached as target for the emulated machine or &amp;quot;guest machine&amp;quot;, where the Alpine will be installed.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* In the host machine we need installed the &amp;lt;code&amp;gt;virtualbox&amp;lt;/code&amp;gt; program from VirtualBox software&lt;br /&gt;
* In the host machine we need at least 1Gb of RAM, recommended 2Gb of RAM installed&lt;br /&gt;
* The guest machine need 512Mb RAM, but recommended 1Gb reserved if desktop software will be installed&lt;br /&gt;
* In the host machine we need installed &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt; or a web browser to download install medium&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium origin to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home, there&#039;s more hardware medium sources to download, like the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Linux_on_z_Systems s390x]&#039;&#039;&#039; and &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Ppc64 ppc64le]&#039;&#039;&#039;, but due VirtualBox only emulates &#039;&#039;&#039;x86&#039;&#039;&#039;, &#039;&#039;&#039;x64&#039;&#039;&#039; and &#039;&#039;&#039;arm&#039;&#039;&#039; hardware only, will list those here.&lt;br /&gt;
&lt;br /&gt;
The source medium to install will be as following format: &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-netboot-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;&#039;&#039;&#039; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; could be the following for VirtualBox virtual machines:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; will be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: The popular i386/i686 compatible 32-bit x86 based machines, i386 recommended for olders.&lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines, recommended for newer/lasted hardware.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; will be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; for a more up to date without taking care of numbered&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; the most recommended for machines between 2016 to 2018&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;So using 3.10 version and i386 flavor the available links to download will be:&#039;&#039;&#039; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that url and the download of the iso file will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86_64.iso&amp;quot;&amp;lt;/code&amp;gt; will be downloaded commonly into the Download directory of your home documents filesystem.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: in unix-like terminal execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;,  and where you run the command, in that place/dir will be downloaded the file.&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium target to install ==&lt;br /&gt;
&lt;br /&gt;
Please take care of your attached devices.. for best care results only use those involved in the process, so only put the disc (that can be a USB flash, MMC card or external drive) attached, and remove all others that will no to be use. &#039;&#039;&#039;We will assume only one internal disc (that obviously cannot be removed) and one external disk attached&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The external disc will be detected and the operating system will create a new device representation, such like &amp;lt;code&amp;gt;/dev/sdb&amp;lt;/code&amp;gt; commonly. In Linux systems you can detect the recently attached disk with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/bin/dmesg | tail -n 50| grep &#039;Attached SCSI&#039; | cut -d&#039; &#039; -f4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will output &amp;lt;code&amp;gt;[sde]&amp;lt;/code&amp;gt; for our example installation. Caution due that previously command only will work if you recently attached the new external disk where the system will be installed.&lt;br /&gt;
&lt;br /&gt;
Later with the detection of the disk, create the representation for the VirtualBox virtual machine, the detection will be put in &amp;lt;code&amp;gt;/dev/&amp;lt;/code&amp;gt; parameter.. so if the disk was detect as &amp;lt;code&amp;gt;[sde]&amp;lt;/code&amp;gt; you must use it without &amp;lt;nowiki&amp;gt;&amp;quot;[&amp;quot;/&amp;quot;]&amp;quot;&amp;lt;/nowiki&amp;gt; sings, the command for creating the virtual disk will be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;VBoxManage internalcommands createrawvmdk -rawdisk /dev/sde -filename $HOME/rawdisk-sdb.vmdk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Tip|in Linux if you don&#039;t have &amp;quot;disk&amp;quot; group access need to perform permission to device to 666, so take care of}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|We assume there are only two disk, the internal and the external, here detected as &amp;lt;nowiki&amp;gt;[sde]&amp;lt;/nowiki&amp;gt; for practical reasons, commonly will be detected as &amp;lt;nowiki&amp;gt;[sdb]&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Preparing the virtual machine to install ==&lt;br /&gt;
&lt;br /&gt;
Start the VirtualBox software program.&lt;br /&gt;
&lt;br /&gt;
# In the main window &#039;&#039;&#039;create a new virtual machine&#039;&#039;&#039; by &#039;&#039;&#039;clicking the blue spark New button&#039;&#039;&#039;. Will open a new window with the following questions:&lt;br /&gt;
## Will ask for a &#039;&#039;&#039;name for the virtual like &amp;quot;alpine-desktop-try1&amp;quot;&#039;&#039;&#039;. &lt;br /&gt;
## The Type of the &#039;&#039;&#039;Operating system choose &amp;quot;linux&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
## The version &#039;&#039;&#039;choose &amp;quot;other linux&amp;quot;&#039;&#039;&#039; and must match with the &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; choosed (like x86)&lt;br /&gt;
## By push &amp;quot;Next&amp;quot; button to continue to create the machine&lt;br /&gt;
# Second are RAM of the virtual machine, choose &#039;&#039;&#039;memory as 512MB&#039;&#039;&#039; minimum amount of. and push &amp;quot;Next&amp;quot; button.&lt;br /&gt;
# A new windows with a &#039;&#039;&#039;Hard disk assistant will opened&#039;&#039;&#039;&lt;br /&gt;
## First choose the option &#039;&#039;&#039;&amp;quot;Choose a existing hard disk drive&amp;quot;&#039;&#039;&#039; and push the &amp;quot;Folder button&amp;quot; aside.&lt;br /&gt;
## An open file dialog window will be opened, &#039;&#039;&#039;search for the &amp;quot;VMDK&amp;quot; file &amp;lt;code&amp;gt;rawdisk-sdb.vmdk&amp;lt;/code&amp;gt;and choose it&#039;&#039;&#039;&lt;br /&gt;
## Choose the &#039;&#039;&#039;dynamically allocated&#039;&#039;&#039; and push the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## By push on &amp;quot;Create&amp;quot; the virtual machine will be ready to use&lt;br /&gt;
# Now the main window show you the &amp;quot;alpine-desktop-try1&amp;quot; created virtual machine, select them&lt;br /&gt;
## By push on &amp;quot;Configuration&amp;quot; yellow button go to the storage part and push it over&lt;br /&gt;
## Select the disc drive icon for CD/DVD rom and  push on the again CD/DVD drive icon at the right&lt;br /&gt;
## Mini menu will opened, choose to select and external file event the host CD/DVD drive&lt;br /&gt;
## A file open dialog will open.. search to the downloaded iso of Alpine and select it&lt;br /&gt;
## Once defined the iso file to boot, push on the &amp;quot;Ok&amp;quot; button and virtual machines are finished.&lt;br /&gt;
# Push on the green arrow that said &amp;quot;Start&amp;quot; to start the virtual machine and boot up the iso&lt;br /&gt;
&lt;br /&gt;
[[File:Alpine Install from a disc to a virtualbox machine single only-01-0.png|center|Alpine configuration commonly used of a virtual machine on virtual box virtual machine]]&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine start, you must be sure to choose the Optical drive (commonly named CD/DVD Rom drive), so the disc/iso will boot and after a while a command line shell will show you:&lt;br /&gt;
&lt;br /&gt;
{{Tip|If your system are not configure to boot from a CD/DVD drive must be configure in the BIOS, ask to your vendor or technical support, VirtualBox need to hit the F12 key to choose boot medium}}&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
{{:Installation_pages_setup-alpine_script_normal}}&lt;br /&gt;
{{:Installation_pages_setup-disk_script_alpine_main_single}}&lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After al the scripts setup ends, a &amp;quot;reboot&amp;quot; will be offered, just type &amp;quot;reboot&amp;quot; and press enter, remobe the boot media and new installed system will be booted.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you try to start that installation maybe &#039;&#039;&#039;you cannot see a graphical window system? take easy&#039;&#039;&#039; and get calm down.. in Alpine all are made by the right way..  so &#039;&#039;&#039;if user need a desktop.. user can install a desktop&#039;&#039;&#039; follow the next: [[Alpine newbie packages]] or bypass and go directly to [[Alpine newbie desktops]]&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || [[Alpine newbie packages]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie packages]]&lt;br /&gt;
# [[Alpine newbie desktops]]&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21403</id>
		<title>Alpine Install: from a disc to a virtualbox machine single only</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21403"/>
		<updated>2022-01-06T15:44:29Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: uinlink all newbie pages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Installing Alpine from an official disc image to a VirtualBox machine.&lt;br /&gt;
&lt;br /&gt;
This document guides you through installing Alpine on a VirtualBox VM - this is ideal if you only want to try out Alpine.&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Host machine&#039;&#039;&#039;: the machine you&#039;re running VirtualBox on. It will &amp;quot;host&amp;quot; the target virtual machine.&lt;br /&gt;
* &#039;&#039;&#039;Guest machine&#039;&#039;&#039;: your target machine where Alpine will be installed, executed by the VirtualBox software on the host machine.&lt;br /&gt;
* &#039;&#039;&#039;Reserved RAM&#039;&#039;&#039;: the amount of host machine RAM that will be needed for exclusive use by the guest machine. The host machine cannot use this RAM while the guest machine is running.&lt;br /&gt;
* &#039;&#039;&#039;Virtual disc&#039;&#039;&#039;: the emulated storage medium attached to the guest machine. Usually it is a file (or several files) which VirtualBox presents as a disk to the guest OS (Alpine).&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
On the host machine:&lt;br /&gt;
&lt;br /&gt;
* Qemu or VirtualBox using package manager! Do not promote Oracle&#039;s policy of overversiones without security patches&lt;br /&gt;
* At least 1GB of RAM, 2GB or more if you don&#039;t want lockups while running something in addition to the virtual machine software&lt;br /&gt;
* The &amp;lt;code&amp;gt;curl&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt; programs to download the image to boot in the virtual software&lt;br /&gt;
&lt;br /&gt;
On the guest machine:&lt;br /&gt;
&lt;br /&gt;
* Minimum 512Mb RAM, but 1Gb or more is recommended if you&#039;re going to use a graphical interface. That obviouly must be in sync with the host machine.&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home; there&#039;s more hardware medium sources to download, like the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Linux_on_z_Systems s390x]&#039;&#039;&#039; and &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Ppc64 ppc64le]&#039;&#039;&#039;, but because VirtualBox handles only &#039;&#039;&#039;x86&#039;&#039;&#039; and &#039;&#039;&#039;x64&#039;&#039;&#039;&lt;br /&gt;
hardware, we will list those here&lt;br /&gt;
&lt;br /&gt;
The name of the source medium to install will be in the following format: &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;&#039;&#039;&#039; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; can be one of the following, for VirtualBox virtual machines:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: The well known i386 to i686. (32-bit machines) &lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; as the name says, the latest, stable version&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; UEFI support began with this version&lt;br /&gt;
** &#039;&#039;&#039;3.8&#039;&#039;&#039; recommended for machines manufactured between 2012 and 2016&lt;br /&gt;
** &#039;&#039;&#039;3.6&#039;&#039;&#039; recommended for older machines&lt;br /&gt;
&lt;br /&gt;
Typically, the version most commonly used in a virtual box is the x86. The hardware is cheaper and operation does not consume a lot of memory.&lt;br /&gt;
The iso download URL format is:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; will be:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that URL and the download will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with a name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86.iso&amp;quot;&amp;lt;/code&amp;gt; (if i386/686); will be downloaded into the directory specified in your browser configuration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: just open a terminal and execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;, for example:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; the command will be:&lt;br /&gt;
&amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must be mindful of the directory you run the command from, as that is where the file will be saved.&lt;br /&gt;
&lt;br /&gt;
== Preparing the virtual machine to install ==&lt;br /&gt;
&lt;br /&gt;
Start the VirtualBox software program.&lt;br /&gt;
&lt;br /&gt;
# In the main window &#039;&#039;&#039;create a new virtual machine&#039;&#039;&#039; by &#039;&#039;&#039;clicking the blue spark New button&#039;&#039;&#039;.  That will open a new window with the following questions:&lt;br /&gt;
## It will ask for a &#039;&#039;&#039;name for the virtual like &amp;quot;alpine-desktop-try1&amp;quot;&#039;&#039;&#039;. &lt;br /&gt;
## The Type of the &#039;&#039;&#039;Operating system choose &amp;quot;linux&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
## The version &#039;&#039;&#039;choose &amp;quot;other linux&amp;quot;&#039;&#039;&#039;. It must match the chosen &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; (e.g. x86).&lt;br /&gt;
## Click the &amp;quot;Next&amp;quot; button to continue creating the virtual machine.&lt;br /&gt;
# When selecting the amount of RAM for the virtual machine, choose a minimum of &#039;&#039;&#039;512MB&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
# A new window with a &#039;&#039;&#039;Hard disk assistant will open&#039;&#039;&#039;.&lt;br /&gt;
## First choose &#039;&#039;&#039;&amp;quot;Create a virtual hard disk now&amp;quot;&#039;&#039;&#039; then click the &amp;quot;Create&amp;quot; button.&lt;br /&gt;
## Next choose the option for &#039;&#039;&#039;hard disk type: VDI&#039;&#039;&#039; and push &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## Choose &#039;&#039;&#039;dynamically allocated&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## The next window will offer the &#039;&#039;&#039;size of virtual disk. 4GB&#039;&#039;&#039;, however, you may choose a different amount of storage space.&lt;br /&gt;
## After clicking on &amp;quot;Create&amp;quot; the virtual machine will be ready to use.&lt;br /&gt;
# Now the main window shows you the &amp;quot;alpine-desktop-try1&amp;quot; virtual machine, select it.&lt;br /&gt;
## Click on the yellow &amp;quot;Configuration&amp;quot; button. Go to the storage menu and pull it down.&lt;br /&gt;
## Select the disc drive icon for CD/DVD ROM and click on the CD/DVD drive icon at the right.&lt;br /&gt;
## A Mini menu will open. Select an external file event the host CD/DVD drive.&lt;br /&gt;
## A file open dialog will open. Search for the downloaded Alpine iso and select it.&lt;br /&gt;
## Once you choose the iso file to boot, click the &amp;quot;Ok&amp;quot; button to finish creating the virtual machine.&lt;br /&gt;
# Click the green &amp;quot;Start&amp;quot; arrow to start the virtual machine and boot the iso.&lt;br /&gt;
&lt;br /&gt;
[[File:Alpine Install from a disc to a virtualbox machine single only-01-0.png|center|Alpine configuration commonly used of a virtual machine on virtual box virtual machine]]&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine starts, you must be sure to choose the Optical drive (commonly named CD/DVD ROM drive), so the disc/iso will boot. After a while, a command line shell will show you:&lt;br /&gt;
&lt;br /&gt;
{{Tip|If your system are not configure to boot from a CD/DVD drive, you must configure the BIOS. Ask to your vendor or technical support. Hitting the F12 key will enable you to choose the virtual machine&#039;s boot medium}}&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
{{:Installation_pages_setup-alpine_script_normal}}&lt;br /&gt;
{{:Installation_pages_setup-disk_script_alpine_main_single}}&lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After setup ends, a &amp;quot;reboot&amp;quot; will be offered. Type &amp;quot;reboot&amp;quot; and press enter and your newly installed virtual machine will be booted. Don&#039;t forget to remove the boot medium.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You cannot see a graphical window system? No problem.&#039;&#039;&#039; With Alpine, GUIs are made the right way.  So &#039;&#039;&#039;if you need a desktop, you can install a desktop&#039;&#039;&#039; follow this link: [[Alpine newbie apk packages]] or go directly to [[Alpine newbie desktops]]&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || [[Alpine newbie packages]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie packages]]&lt;br /&gt;
# [[Alpine newbie desktops]]&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=LXQt&amp;diff=21399</id>
		<title>LXQt</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=LXQt&amp;diff=21399"/>
		<updated>2022-01-06T14:42:12Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;LXQt&#039;&#039;&#039; is a lightweight QT based desktop environment, LXQt was originally a port of LXDE to QT (called LXDE-Qt), it was created due to LXDE maintainer Hong Jen Yee being dissatisfied with GTK 3, on 21 July 2013 the LXDE(-Qt) and [https://en.wikipedia.org/wiki/Razor-qt Razor-qt] projects merged creating LXQt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Prerequisites =&lt;br /&gt;
&lt;br /&gt;
* [[Installation|Install]] AlpineLinux&lt;br /&gt;
* [[Post_installation#Creating_a_new_user_account|Create a user account]] (optional but recommended)&lt;br /&gt;
* [[Post_installation#Repositories|Enable the Community repository]]&lt;br /&gt;
* [[Alpine_setup_scripts#setup-xorg-base|Install Xorg]]&lt;br /&gt;
&lt;br /&gt;
{{Note|LXQt on Alpine currently requires having the edge repos enabled}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add lxqt-desktop lxqt-core lxqt-panel lxqt-admin lxqt-config lxqt-notificationd lxqt-powermanagement lxqt-themes openbox}}&lt;br /&gt;
&lt;br /&gt;
{{Note|By default LXQt usually uses [[Openbox]] as its window manager, but LXQt supports many different window managers, See: [https://github.com/lxqt/lxqt/wiki/ConfigWindowManagers ConfigWindowManagers - LXQt Github wiki]}}&lt;br /&gt;
&lt;br /&gt;
== Optional packages ==&lt;br /&gt;
&lt;br /&gt;
===== Documentation =====&lt;br /&gt;
&lt;br /&gt;
* {{Pkg|lxqt-config-doc}} &lt;br /&gt;
* {{Pkg|lxqt-openssh-askpass-doc}}&lt;br /&gt;
* {{Pkg|lxqt-panel-doc}} &lt;br /&gt;
* {{Pkg|lxqt-policykit-doc}} &lt;br /&gt;
* {{Pkg|lxqt-runner-doc}} &lt;br /&gt;
* {{Pkg|lxqt-session-doc}}&lt;br /&gt;
* {{Pkg|lxqt-sudo-doc}}&lt;br /&gt;
&lt;br /&gt;
===== Development files =====&lt;br /&gt;
&lt;br /&gt;
* {{Pkg|lxqt-globalkeys-dev}} &lt;br /&gt;
* {{Pkg|lxqt-panel-dev}}&lt;br /&gt;
&lt;br /&gt;
===== Misc =====&lt;br /&gt;
&lt;br /&gt;
* {{Pkg|lxqt-build-tools}}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[Installation]]&lt;br /&gt;
* [[Post installation]]&lt;br /&gt;
* [[Desktop environments and Window managers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Post_installation&amp;diff=21398</id>
		<title>Post installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Post_installation&amp;diff=21398"/>
		<updated>2022-01-06T14:41:43Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie original category from guest pages created, remove reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Draft|This page &amp;quot;should&amp;quot; contain accurate and up to date information but is a work in progess}}&lt;br /&gt;
&lt;br /&gt;
== General Notes ==&lt;br /&gt;
&lt;br /&gt;
* When &#039;&#039;&#039;#&#039;&#039;&#039; is displayed before a command that means the command needs to be run with root privileges,&lt;br /&gt;
&lt;br /&gt;
* Anything in &amp;lt; &amp;gt; is likely just a placeholder that you need to replace (example: &amp;lt;editor&amp;gt; file.txt)&lt;br /&gt;
&lt;br /&gt;
* Some information in here might be a repeat of information in other wiki pages, if you find a section where that is the case please add a link to the original wiki page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Network setup ==&lt;br /&gt;
&lt;br /&gt;
==== Wi-Fi ====&lt;br /&gt;
&lt;br /&gt;
* [[Wi-Fi]]&lt;br /&gt;
* [[NetworkManager]]&lt;br /&gt;
&lt;br /&gt;
==== Ethernet (Wired) ====&lt;br /&gt;
&lt;br /&gt;
{{Expand|Documentation on Ethernet (Wired) internet setup needs to be created/expanded, maybe information from other wiki&#039;s/docs might be helpful?}}&lt;br /&gt;
&lt;br /&gt;
* [[Ethernet|Ethernet]]&lt;br /&gt;
* [[NetworkManager]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating a new user account ==&lt;br /&gt;
&lt;br /&gt;
After installing Alpine by default you only get a root account. You will probably want to create an account that is not root,&lt;br /&gt;
&lt;br /&gt;
{{cmd|# adduser &amp;lt;YourUsername&amp;gt;}}&lt;br /&gt;
{{Note|replace &amp;lt;YourUsername&amp;gt; with the username of your choice}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will probably want to install &#039;&#039;&#039;doas&#039;&#039;&#039; so you can allow &amp;lt;YourUsername&amp;gt; to use root privileges&lt;br /&gt;
{{cmd|# apk add doas}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want your user to be able to use root privileges add them to the Wheel group&lt;br /&gt;
{{cmd|# adduser &amp;lt;YourUsername&amp;gt; wheel}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Allow members of the &#039;&#039;&#039;Wheel&#039;&#039;&#039; group to use root privileges with doas:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# &amp;lt;editor&amp;gt; /etc/doas.d/doas.conf}}&lt;br /&gt;
&lt;br /&gt;
add this to a new line:&lt;br /&gt;
{{cmd|permit persist :wheel}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch to the new account type &#039;&#039;&#039;exit&#039;&#039;&#039; in the shell and login with the new user,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Groups ====&lt;br /&gt;
&lt;br /&gt;
Groups are needed for certain operations on your system (e.g &amp;lt;code&amp;gt;audio&amp;lt;/code&amp;gt; to manage your system audio), below is a list of groups,&lt;br /&gt;
{{Note|may be incomplete, if you see a group missing please add it along with a description}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|disk:x:6:root,adm      Only if need usage vith virtual machines and access to other partitions over new disks for&lt;br /&gt;
lp:x:7:lp              If will need to use printing services and printers management&lt;br /&gt;
floppy:x:11:root       Backguard compatible group, use only if need access to external special devices&lt;br /&gt;
audio:x:18:            Need for audio listening and management of sound volumes as normal user&lt;br /&gt;
cdrom:x:19:            For access to disck writers and mounting DVD, BR or CD rom disk as normal user&lt;br /&gt;
dialout:x:20:root      Need for dial private connections and use of modems as normal users&lt;br /&gt;
tape:x:26:root         Need have into this if plan to use special devices for backup.. rarelly in no servers&lt;br /&gt;
video:x:27:root        For usage of cameras, mor thant one GPU special features, as normal user&lt;br /&gt;
netdev:x:28:           For network connections management as normal user&lt;br /&gt;
kvm:x:34:kvm           Only if as normal user will manage graphically virtual machines.. rarelly on no servers&lt;br /&gt;
games:x:35:            Need if you want to play games also specially need if will share score between users&lt;br /&gt;
cdrw:x:80:             To write RW-DVD, RW-BR or RW-CD disk on a disk writing device&lt;br /&gt;
apache:x:81:           Need if you will perfom development as normal user and want to publish locally on web server&lt;br /&gt;
usb:x:85:              Need to access to special usb devices, deprecated group&lt;br /&gt;
users:x:100:games      If you plan to used common files for all users, mandatory as desktop usage}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add your user to a group use the following command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# adduser &amp;lt;YourUsername&amp;gt; &amp;lt;group&amp;gt;}}&lt;br /&gt;
{{Note|you need to log out for the group change(s) to take effect}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Shell ==&lt;br /&gt;
&lt;br /&gt;
{{Note|[https://en.wikipedia.org/wiki/Almquist_shell ash] is the only shell included with Alpine by default, you will need to install another shell if you want a different one}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default AlpineLinux uses the [https://en.wikipedia.org/wiki/Almquist_shell ash] shell, but many users may prefer {{Pkg|bash}}, {{Pkg|zsh}}, {{Pkg|fish}} or another shell, to change this run the following command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|$ chsh}}&lt;br /&gt;
enter your password and you should get the following output:&lt;br /&gt;
&lt;br /&gt;
{{Cat|$ chsh|Changing the login shell for user&lt;br /&gt;
Enter the new value, or press ENTER for the default&lt;br /&gt;
	Login Shell [/bin/ash]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now enter the path for the shell you want to use (e.g &amp;lt;code&amp;gt;/bin/bash&amp;lt;/code&amp;gt;) and press enter to confirm this change,&lt;br /&gt;
{{Note|You may need to log out or reboot for this change to take effect, &#039;&#039;&#039;ash&#039;&#039;&#039; is a part of busybox so you can revert back to &#039;&#039;&#039;ash&#039;&#039;&#039; at anytime with the same steps}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Repositories ==&lt;br /&gt;
&lt;br /&gt;
The Alpine software repositories have three branches:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Main&#039;&#039;&#039;: Main packages are the Alpine software that has direct support and updates from the Alpine core and main team. They also have official special documentation, are always available for all releases and will have substitutions if some are not continued from upstream. Commonly, those packages are selected due to their responsibility and stability with respect to upstream availability. When those in &#039;&#039;testing&#039;&#039; perform well or are mature, they go to the &#039;&#039;main&#039;&#039; branch.&lt;br /&gt;
* &#039;&#039;&#039;Community&#039;&#039;&#039;: Community packages are those made by users in concert with the official developers and integrated into the Alpine packages. They are user supported. Support could end if the user ends support with respect to Alpine work. For example, could not include substitution in next release due to lack of support by the upstream author. They are in &#039;&#039;edge&#039;&#039; and when accepted, go to the &#039;&#039;community&#039;&#039; branch.&lt;br /&gt;
* &#039;&#039;&#039;Edge&#039;&#039;&#039;: New packages come into testing repositories of the edge Alpine version and are those made by any contributor or man power on Alpine. The edge contains unstable current development content. This branch has no release linked or related to Alpine. They are in &#039;&#039;testing&#039;&#039; and when accepted, go to the &#039;&#039;community&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default only the &#039;&#039;&#039;main&#039;&#039;&#039; repository is enabled, most users will probably want to enable the &#039;&#039;&#039;community&#039;&#039;&#039; repository, to enable a repository remove the &#039;&#039;&#039;#&#039;&#039;&#039; in front of the url along with any blank space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Example) Disabled:&lt;br /&gt;
{{cat|/etc/apk/repositories|#http://dl-cdn.alpinelinux.org/alpine/v3.15/community}}&lt;br /&gt;
&lt;br /&gt;
(Example) Enabled:&lt;br /&gt;
{{cat|/etc/apk/repositories|http://dl-cdn.alpinelinux.org/alpine/v3.15/community}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To edit the repositories open the file in a text editor:&lt;br /&gt;
{{cmd|# &amp;lt;editor&amp;gt; /etc/apk/repositories}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example default configuration:&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.15/main&lt;br /&gt;
# http://dl-cdn.alpinelinux.org/alpine/v3.15/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
{{Note|The edge repositories contain unstable and/or possibly untested packages use at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To avoid having to manually update the verison in &#039;&#039;&#039;/etc/apk/repositories&#039;&#039;&#039; for each Alpine Linux update, change &#039;&#039;&#039;v3.15&#039;&#039;&#039; to &#039;&#039;&#039;latest-stable&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/latest-stable/main&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/latest-stable/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
{{Note|Changing the repositories to latest-stable may initiate unexpected release upgrades, do this at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For [https://en.wikipedia.org/wiki/HTTPS#Technical security reasons] it may be a good idea to change the url&#039;s from &#039;&#039;&#039;http&#039;&#039;&#039; to &#039;&#039;&#039;https&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v3.15/main&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v3.15/community&lt;br /&gt;
#https://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#https://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#https://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
{{Note|some Alpine Linux package mirrors may not support https, if that is the case you will need to revert back or change mirrors}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have edited &#039;&#039;&#039;/etc/apk/repositories&#039;&#039;&#039; sync the repositories with:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk update}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing a Display Server (for graphical sessions) ==&lt;br /&gt;
&lt;br /&gt;
==== Xorg ====&lt;br /&gt;
Most desktop enviroments (DE) or Windows Managers (WM) require Xorg (also called: X11, X), although in the future many will fully migrate to [[Wayland]] currently Xorg is still widely used, &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is two ways you can get Xorg installed,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default Alpine Linux provides a script that will install Xorg, run the following command to install Xorg:&lt;br /&gt;
{{cmd|# setup-xorg-base}}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add xorg-server xorg-server-common xorg-server-dev xorgproto xorgxrdp xorgxrdp-dev}}&lt;br /&gt;
{{Note| the apk add method is probably incomplete}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wayland ====&lt;br /&gt;
&#039;&#039;See also: [[Wayland]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Expand|Wayland documentation needs to be expanded}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fonts ==&lt;br /&gt;
&lt;br /&gt;
If you plan to use a graphical environment you may need/want to install fonts&lt;br /&gt;
{{Note|depending on the desktop environment/window manager fonts may or may not be installed automatically or as dependencies}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See: [[Fonts|Fonts]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing a desktop environment or window manager ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See: [[Desktop environments and Window managers]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sound ==&lt;br /&gt;
&lt;br /&gt;
By default Alpine doesnt come with any Sound managment out of the box, these are your options:&lt;br /&gt;
&lt;br /&gt;
* [[PipeWire]]&lt;br /&gt;
* [[PulseAudio]]&lt;br /&gt;
* [[ALSA]]&lt;br /&gt;
&lt;br /&gt;
{{Note|If your unsure {{Pkg|pipewire}} is the recommended option}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Man pages ==&lt;br /&gt;
&lt;br /&gt;
Most Linux distributions have &#039;&#039;&#039;man&#039;&#039;&#039; pages, man pages allow you type &amp;lt;code&amp;gt;man &amp;lt;package&amp;gt;&amp;lt;/code&amp;gt; in a terminal and get some useful information about packages installed on your system quicky without a internet connection, by default Alpine does not include &#039;&#039;&#039;man&#039;&#039;&#039;, you can add that with the following:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;# apk add man-pages&amp;lt;/code&amp;gt; Installs basic manual pages.&lt;br /&gt;
* &amp;lt;code&amp;gt;# apk add mandoc&amp;lt;/code&amp;gt; Installs the man command to be able to open man pages.&lt;br /&gt;
* &amp;lt;code&amp;gt;# apk add mandoc-apropos&amp;lt;/code&amp;gt; Installs the apropos command to search in man pages.&lt;br /&gt;
* &amp;lt;code&amp;gt;# apk add docs&amp;lt;/code&amp;gt; Installs all the *-doc sub-packages of installed packages.&lt;br /&gt;
&lt;br /&gt;
{{Note|man pages may not be available for every package}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Language support ==&lt;br /&gt;
&lt;br /&gt;
{{Expand}}&lt;br /&gt;
&lt;br /&gt;
* Fix unicode defaults: &amp;lt;code&amp;gt;sed -i &#039;s/#unicode=&amp;quot;NO&amp;quot;/#unicode=&amp;quot;NO&amp;quot;\nunicode=&amp;quot;YES&amp;quot;/&#039; /etc/rc.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;apk add musl-locales&amp;lt;/code&amp;gt; Installs a limited set of locales (languages) for musl (C library) generated console messages.&lt;br /&gt;
* Listing defined locales is possible with &amp;lt;code&amp;gt;locale -a&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;cp /etc/profile.d/locale.sh /etc/profile.d/locale.sh.sh&amp;lt;/code&amp;gt; Copies the default locale settings. Then the custom override file can be edited &amp;lt;code&amp;gt;nano /etc/profile.d/locale.sh.sh&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;apk add lang&amp;lt;/code&amp;gt; Pulls in the translation packages of all installed packages.&lt;br /&gt;
* &amp;lt;code&amp;gt;apk list hunspell*&amp;lt;/code&amp;gt;  To list available hunspell dictionary packages.&lt;br /&gt;
* &amp;lt;code&amp;gt;apk list *-xy *-xy-*&amp;lt;/code&amp;gt;  To list translation packages for your specific (xy) language (for example, pt for Portuguese).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
Some other miscellaneous things that might be useful:&lt;br /&gt;
&lt;br /&gt;
==== basic tools ====&lt;br /&gt;
&lt;br /&gt;
Alpine is a minimalist Linux distribution. If you expected a behavior like other Linux distributions, the similarity to them will be minimal at best. Run: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add sed attr dialog bash bash-completion grep util-linux pciutils usbutils binutils findutils readline lsof less nano curl}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|&amp;lt;nowiki&amp;gt;$ export PAGER=less&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
==== I dont have permission to do anything in my user&#039;s home directory ====&lt;br /&gt;
&lt;br /&gt;
By default the permissions of your new user(s) home directory may be limited to the root account, run one of these commands to change that: &lt;br /&gt;
&lt;br /&gt;
{{cmd|# chmod 700 /home/&amp;lt;YourUsername&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{cmd|# chmod 777 /home/&amp;lt;YourUsername&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Installation]]&lt;br /&gt;
* [[Comparison with other distros]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21396</id>
		<title>Alpine Install: from a disc to a virtualbox machine single only</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Install:_from_a_disc_to_a_virtualbox_machine_single_only&amp;diff=21396"/>
		<updated>2022-01-06T14:38:35Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Overall description:&#039;&#039;&#039; Installing Alpine from an official disc image to a VirtualBox machine.&lt;br /&gt;
&lt;br /&gt;
This document guides you through installing Alpine on a VirtualBox VM - this is ideal if you only want to try out Alpine. For other ways to install (including dual-boot) see [[Alpine_newbie_install_manual#Ways_to_install_Alpine_into_machines_or_virtuals|Alpine_newbie_install_manual]].&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Host machine&#039;&#039;&#039;: the machine you&#039;re running VirtualBox on. It will &amp;quot;host&amp;quot; the target virtual machine.&lt;br /&gt;
* &#039;&#039;&#039;Guest machine&#039;&#039;&#039;: your target machine where Alpine will be installed, executed by the VirtualBox software on the host machine.&lt;br /&gt;
* &#039;&#039;&#039;Reserved RAM&#039;&#039;&#039;: the amount of host machine RAM that will be needed for exclusive use by the guest machine. The host machine cannot use this RAM while the guest machine is running.&lt;br /&gt;
* &#039;&#039;&#039;Virtual disc&#039;&#039;&#039;: the emulated storage medium attached to the guest machine. Usually it is a file (or several files) which VirtualBox presents as a disk to the guest OS (Alpine).&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
On the host machine:&lt;br /&gt;
&lt;br /&gt;
* Qemu or VirtualBox using package manager! Do not promote Oracle&#039;s policy of overversiones without security patches&lt;br /&gt;
* At least 1GB of RAM, 2GB or more if you don&#039;t want lockups while running something in addition to the virtual machine software&lt;br /&gt;
* The &amp;lt;code&amp;gt;curl&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt; programs to download the image to boot in the virtual software&lt;br /&gt;
&lt;br /&gt;
On the guest machine:&lt;br /&gt;
&lt;br /&gt;
* Minimum 512Mb RAM, but 1Gb or more is recommended if you&#039;re going to use a graphical interface. That obviouly must be in sync with the host machine.&lt;br /&gt;
&lt;br /&gt;
== Preparing the medium to install ==&lt;br /&gt;
&lt;br /&gt;
Download the source medium to install and put into your home; there&#039;s more hardware medium sources to download, like the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Linux_on_z_Systems s390x]&#039;&#039;&#039; and &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Ppc64 ppc64le]&#039;&#039;&#039;, but because VirtualBox handles only &#039;&#039;&#039;x86&#039;&#039;&#039; and &#039;&#039;&#039;x64&#039;&#039;&#039;&lt;br /&gt;
hardware, we will list those here&lt;br /&gt;
&lt;br /&gt;
The name of the source medium to install will be in the following format: &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;&#039;&#039;&#039; where &amp;lt;code&amp;gt;ARCH&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;VERSION&amp;lt;/code&amp;gt; can be one of the following, for VirtualBox virtual machines:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;x86&#039;&#039;&#039;: The well known i386 to i686. (32-bit machines) &lt;br /&gt;
** &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt; can be&lt;br /&gt;
** &#039;&#039;&#039;latest-stable&#039;&#039;&#039; as the name says, the latest, stable version&lt;br /&gt;
** &#039;&#039;&#039;3.10&#039;&#039;&#039; UEFI support began with this version&lt;br /&gt;
** &#039;&#039;&#039;3.8&#039;&#039;&#039; recommended for machines manufactured between 2012 and 2016&lt;br /&gt;
** &#039;&#039;&#039;3.6&#039;&#039;&#039; recommended for older machines&lt;br /&gt;
&lt;br /&gt;
Typically, the version most commonly used in a virtual box is the x86. The hardware is cheaper and operation does not consume a lot of memory.&lt;br /&gt;
The iso download URL format is:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; will be:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Graphical download&#039;&#039;&#039;: Just point the web browser to that URL and the download will start. A file with &#039;&#039;&#039;.iso&#039;&#039;&#039; extension type, with a name like &amp;lt;code&amp;gt;&amp;quot;alpine-standard-3.10.0-x86.iso&amp;quot;&amp;lt;/code&amp;gt; (if i386/686); will be downloaded into the directory specified in your browser configuration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Command line method&#039;&#039;&#039;: just open a terminal and execute: &amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v&amp;lt;/nowiki&amp;gt;&amp;lt;VERSION&amp;gt;/releases/&amp;lt;ARCH&amp;gt;/alpine-standard-&amp;lt;VERSION&amp;gt;.0-&amp;lt;ARCH&amp;gt;.iso&amp;lt;/code&amp;gt;, for example:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;&amp;quot;x86&amp;quot; &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;3.10&amp;quot; &amp;lt;code&amp;gt;&amp;lt;VERSION&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; the command will be:&lt;br /&gt;
&amp;lt;code&amp;gt;wget -c -t8 --no-check-certificate &amp;lt;nowiki&amp;gt;http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-standard-3.10.0-x86.iso&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must be mindful of the directory you run the command from, as that is where the file will be saved.&lt;br /&gt;
&lt;br /&gt;
== Preparing the virtual machine to install ==&lt;br /&gt;
&lt;br /&gt;
Start the VirtualBox software program.&lt;br /&gt;
&lt;br /&gt;
# In the main window &#039;&#039;&#039;create a new virtual machine&#039;&#039;&#039; by &#039;&#039;&#039;clicking the blue spark New button&#039;&#039;&#039;.  That will open a new window with the following questions:&lt;br /&gt;
## It will ask for a &#039;&#039;&#039;name for the virtual like &amp;quot;alpine-desktop-try1&amp;quot;&#039;&#039;&#039;. &lt;br /&gt;
## The Type of the &#039;&#039;&#039;Operating system choose &amp;quot;linux&amp;quot;&#039;&#039;&#039;.&lt;br /&gt;
## The version &#039;&#039;&#039;choose &amp;quot;other linux&amp;quot;&#039;&#039;&#039;. It must match the chosen &amp;lt;code&amp;gt;&amp;lt;ARCH&amp;gt;&amp;lt;/code&amp;gt; (e.g. x86).&lt;br /&gt;
## Click the &amp;quot;Next&amp;quot; button to continue creating the virtual machine.&lt;br /&gt;
# When selecting the amount of RAM for the virtual machine, choose a minimum of &#039;&#039;&#039;512MB&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
# A new window with a &#039;&#039;&#039;Hard disk assistant will open&#039;&#039;&#039;.&lt;br /&gt;
## First choose &#039;&#039;&#039;&amp;quot;Create a virtual hard disk now&amp;quot;&#039;&#039;&#039; then click the &amp;quot;Create&amp;quot; button.&lt;br /&gt;
## Next choose the option for &#039;&#039;&#039;hard disk type: VDI&#039;&#039;&#039; and push &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## Choose &#039;&#039;&#039;dynamically allocated&#039;&#039;&#039; then click the &amp;quot;Next&amp;quot; button.&lt;br /&gt;
## The next window will offer the &#039;&#039;&#039;size of virtual disk. 4GB&#039;&#039;&#039;, however, you may choose a different amount of storage space.&lt;br /&gt;
## After clicking on &amp;quot;Create&amp;quot; the virtual machine will be ready to use.&lt;br /&gt;
# Now the main window shows you the &amp;quot;alpine-desktop-try1&amp;quot; virtual machine, select it.&lt;br /&gt;
## Click on the yellow &amp;quot;Configuration&amp;quot; button. Go to the storage menu and pull it down.&lt;br /&gt;
## Select the disc drive icon for CD/DVD ROM and click on the CD/DVD drive icon at the right.&lt;br /&gt;
## A Mini menu will open. Select an external file event the host CD/DVD drive.&lt;br /&gt;
## A file open dialog will open. Search for the downloaded Alpine iso and select it.&lt;br /&gt;
## Once you choose the iso file to boot, click the &amp;quot;Ok&amp;quot; button to finish creating the virtual machine.&lt;br /&gt;
# Click the green &amp;quot;Start&amp;quot; arrow to start the virtual machine and boot the iso.&lt;br /&gt;
&lt;br /&gt;
[[File:Alpine Install from a disc to a virtualbox machine single only-01-0.png|center|Alpine configuration commonly used of a virtual machine on virtual box virtual machine]]&lt;br /&gt;
&lt;br /&gt;
== Booting the Alpine ISO disc ==&lt;br /&gt;
&lt;br /&gt;
When the machine starts, you must be sure to choose the Optical drive (commonly named CD/DVD ROM drive), so the disc/iso will boot. After a while, a command line shell will show you:&lt;br /&gt;
&lt;br /&gt;
{{Tip|If your system are not configure to boot from a CD/DVD drive, you must configure the BIOS. Ask to your vendor or technical support. Hitting the F12 key will enable you to choose the virtual machine&#039;s boot medium}}&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
{{:Installation_pages_setup-alpine_script_normal}}&lt;br /&gt;
{{:Installation_pages_setup-disk_script_alpine_main_single}}&lt;br /&gt;
&lt;br /&gt;
== Finishing the installation ==&lt;br /&gt;
&lt;br /&gt;
After setup ends, a &amp;quot;reboot&amp;quot; will be offered. Type &amp;quot;reboot&amp;quot; and press enter and your newly installed virtual machine will be booted. Don&#039;t forget to remove the boot medium.&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-9-setup-disk-3-7end.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You cannot see a graphical window system? No problem.&#039;&#039;&#039; With Alpine, GUIs are made the right way.  So &#039;&#039;&#039;if you need a desktop, you can install a desktop&#039;&#039;&#039; follow this link: [[Alpine newbie apk packages]] or go directly to [[Alpine newbie desktops]]&lt;br /&gt;
&lt;br /&gt;
For other ways to install, see the [[Alpine_newbie_install_manual#Ways_to_install_Alpine_into_machines_or_virtuals|Alpine_newbie_install_manual]]&lt;br /&gt;
&lt;br /&gt;
= Documents series =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Previous required  !! What&#039;s next to read&lt;br /&gt;
|-&lt;br /&gt;
| [[Alpine newbie install manual]] || [[Alpine newbie apk packages]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
# [[Alpine newbie apk packages]]&lt;br /&gt;
# [[Alpine newbie desktops]]&lt;br /&gt;
# [[Alpine newbie developer]]&lt;br /&gt;
# [[Alpine newbie lammers]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installing_Alpine_in_a_virtual_machine&amp;diff=21395</id>
		<title>Installing Alpine in a virtual machine</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installing_Alpine_in_a_virtual_machine&amp;diff=21395"/>
		<updated>2022-01-06T14:37:08Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will walk you through how to setup a virtual machine for AlpineLinux installation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= VirtualBox =&lt;br /&gt;
&lt;br /&gt;
This guide describes a standard install of Alpine within a Virtual Box VM. (virtual machine)&lt;br /&gt;
&lt;br /&gt;
Oracle VM [http://virtualbox.org VirtualBox] runs one or more virtual x86 or x64 guests on a host computer.&amp;lt;BR&amp;gt;&lt;br /&gt;
This enables you to install and test Alpine on your main computer almost as you would any other program.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
== Install Virtual Box on host ==&lt;br /&gt;
&lt;br /&gt;
First you&#039;ll need to download and install Virtual Box on your host computer. Either from the official homepage (for Windows, OS X or Solaris) or from your distribution’s repository (for Linux). &lt;br /&gt;
&lt;br /&gt;
Virtual Box consists of two components: &lt;br /&gt;
&lt;br /&gt;
* VirtualBox platform package&lt;br /&gt;
* Oracle VM VirtualBox Extension Pack&lt;br /&gt;
&lt;br /&gt;
Install both and start VirtualBox to check for proper operation. If you have problems, consult the VirtualBox user manual or one of the support sites for Virtual Box.&lt;br /&gt;
&lt;br /&gt;
== Download Alpine ==&lt;br /&gt;
&lt;br /&gt;
Download the [https://www.alpinelinux.org/downloads/ Virtual Alpine ISO], which is optimized for virtual systems, from the Alpine Download section. Save it in a location where you can find it easily. &lt;br /&gt;
&lt;br /&gt;
== Setting up virtual PC ==&lt;br /&gt;
&lt;br /&gt;
Start Virtual Box. You will see a mostly empty window with a couple symbols in the upper left corner. The leftmost icon is a multi pointed star. If you hover your mouse over it, the tooltip will say “New”. &lt;br /&gt;
&lt;br /&gt;
Click on the multi pointed star to create a new machine. A window will pop up, asking you some questions about the virtual (guest) computer you want to create.&lt;br /&gt;
&lt;br /&gt;
# Name: Choose anything you like. e.g. “Alpine”.&lt;br /&gt;
# Type: Linux&lt;br /&gt;
# Version: Other Linux, either 64 bit or 32 bit. Choose 64 bit if you downloaded the x86_64 Alpine-ISO, or 32 bit if you downloaded the x86 Alpine-ISO.&lt;br /&gt;
# Use the default values for the other questions, simply click “next” or “create” until the dialogue finishes.&lt;br /&gt;
&lt;br /&gt;
You will see a new entry in Virtual Box, called Alpine (or the name you chose during step 1 in the dialogue above). Click on it for more information about your guest.&lt;br /&gt;
&lt;br /&gt;
One of the entries should read Mass storage, and offer an IDE controller with a primary master (the virtual hard disc) and a secondary master (the virtual optical drive). &lt;br /&gt;
&lt;br /&gt;
Click on the secondary master. A context menu will pop up. Select the entry “choose image” and open the Alpine ISO you downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Once that is done, click on the green start arrow on the menu bar.&lt;br /&gt;
&lt;br /&gt;
== Install Alpine on the virtual computer ==&lt;br /&gt;
&lt;br /&gt;
Follow the steps described in the [[Installation#Installation_Handbook|Installation Handbook]], just as if you were installing Alpine on a real PC.&lt;br /&gt;
&lt;br /&gt;
{{Tip|Do not reboot your virtual box after the installation. Instead, shut down the virtual machine, remove the Alpine ISO from the virtual optical drive, then restart the virtual machine.}}&lt;br /&gt;
&lt;br /&gt;
== Install drivers for Virtual Box ==&lt;br /&gt;
&lt;br /&gt;
Once you successfully reboot into the Alpine VM, there are two steps left:&lt;br /&gt;
&lt;br /&gt;
# Enable the [[Enable_Community_Repository|Community Respository]]&lt;br /&gt;
# Enable [[VirtualBox_shared_folders|VirtualBox shared folders]]&lt;br /&gt;
&lt;br /&gt;
These two steps install all drivers that other programs might request, and activate several comfort functions.&lt;br /&gt;
&lt;br /&gt;
{{Note|The Virtualbox webcam driver is not present in the kernel provided with the Virtual Alpine ISO. To use the webcam whilst keeping the installation footprint small, install the &amp;lt;code&amp;gt;linux-firmware-none&amp;lt;/code&amp;gt; package using &amp;lt;b&amp;gt;apk&amp;lt;/b&amp;gt;, then install the &amp;lt;code&amp;gt;linux-lts&amp;lt;/code&amp;gt; package to download a kernel with the appropriate drivers without pulling in hundreds of MB of uneeded firmware files. Uninstall the &amp;lt;code&amp;gt;linux-virt&amp;lt;/code&amp;gt; package and reboot to use the new kernel.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= KVM / QEMU =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= VMware =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installation]]&lt;br /&gt;
* [[Post installation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=UEFI&amp;diff=21394</id>
		<title>UEFI</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=UEFI&amp;diff=21394"/>
		<updated>2022-01-06T14:36:41Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
= UEFI and BIOS definitions and introduction =&lt;br /&gt;
&lt;br /&gt;
In the old days, BIOS (for &#039;&#039;&#039;B&#039;&#039;&#039;asic &#039;&#039;&#039;I&#039;&#039;&#039;nput &#039;&#039;&#039;O&#039;&#039;&#039;utput &#039;&#039;&#039;S&#039;&#039;&#039;ystem) was how computers booted from the 1980s onwards. But now in newer hardware for devices, servers, laptops and desktops computers the UEFI (for &#039;&#039;&#039;U&#039;&#039;&#039;nified &#039;&#039;&#039;E&#039;&#039;&#039;xtensible &#039;&#039;&#039;F&#039;&#039;&#039;irmware &#039;&#039;&#039;I&#039;&#039;&#039;nterface) defines a software interface between an operating system and platform firmware into the vendor hardware.&lt;br /&gt;
&lt;br /&gt;
UEFI replaces the BIOS firmware interface originally present in all IBM PC-compatible personal computers, early modern computer&#039;s UEFI firmware implementations provide legacy support for BIOS services.&lt;br /&gt;
&lt;br /&gt;
== The history so far ==&lt;br /&gt;
&lt;br /&gt;
Due newer incoming 64-bit incoming processors the older computers boot process are not more possible. It started life on Itanium (Intel&#039;s first 64-bit processor) systems. Itanium had no support for 32-bit, and certainly no embedded 80286, so they had to come up with a different system. &lt;br /&gt;
&lt;br /&gt;
All this was driven by a problem in the most extensive and used architecture: x86 32-bit, inclusivelly a new 2019&#039;s Skylake i7-6700k still has an 80286 embedded in it because all x86 BIOS strictly only supports 16-bit 8088-derivative processors.&lt;br /&gt;
&lt;br /&gt;
Intel developed the original Extensible Firmware Interface (EFI) specification. Some of the EFI&#039;s practices and data formats mirror those from M$ Redmon&#039;s OS. In 2005, UEFI deprecated EFI 1.10 (the final release of EFI). The Unified EFI Forum is the industry body that (seems) &amp;quot;manages&amp;quot; the UEFI specification. &lt;br /&gt;
&lt;br /&gt;
= Alpine UEFI support =&lt;br /&gt;
&lt;br /&gt;
Currently are only in basic form, not all the architectures are complete supported.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;support for &lt;br /&gt;
[https://en.wikipedia.org/wiki/EFI_system_partition EFI System Partition] was started in the [https://alpinelinux.org/posts/Alpine-3.7.0-released.html Alpine 3.7.0 new mayor release]&#039;&#039;&#039;, preliminary support in that version does not create the &lt;br /&gt;
[https://en.wikipedia.org/wiki/EFI_system_partition EFI Partition], only has support for existing ones or manually created.&lt;br /&gt;
&lt;br /&gt;
Started &#039;&#039;&#039;in the [https://alpinelinux.org/posts/Alpine-3.8.0-released.html Alpine 3.8.0 new mayor release] support in the installer for the GRUB boot loader was added&#039;&#039;&#039; so now Linux experimental users can play with combinations of solutions and proper &lt;br /&gt;
[https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface UEFI] complete installations. Please refer to [[Alpine_and_UEFI#UEFI_and_BIOS_definitions_and_introduction|UEFI_and_BIOS section of this page]] first.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#EFI_system_partition EFI System Partition] are not the complete overall of the [https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface UEFI], it&#039;s just the need minimal infrastructure to property boot by and [https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#Implementation_and_adoption UEFI modern machine]. See the [[Alpine_and_UEFI#UEFI_mandatory_partition_mechanics|Alpine UEFI partition mechanics notes]] section in this page for details.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Please read carefully the [[Alpine_and_UEFI#UEFI_and_BIOS_definitions_and_introduction|UEFI_and_BIOS section of this page]].&lt;br /&gt;
&lt;br /&gt;
== Minimum Alpine partition scheme ==&lt;br /&gt;
&lt;br /&gt;
Alpine Linux requires a root partition, but on UEFI systems an EFI System Partition is also required. The EFI System Partition must contain a bootloader program in {{path|\EFI\$bootloader.efi}}. The current status of that mechanics to boot &#039;&#039;&#039;in Alpine Linux are still in development and only basic support to existing mades are provided&#039;&#039;&#039;. See [[Alpine_and_UEFI#UEFI_mandatory_partition_mechanics|UEFI_mandatory_partition_mechanics]] for details.&lt;br /&gt;
&lt;br /&gt;
== Notes about the boot flags and boot partition ==&lt;br /&gt;
&lt;br /&gt;
UEFI booting does not involve any &amp;quot;boot&amp;quot; flag, that&#039;s it&#039;s a need only for BIOS booting. The UEFI booting relies solely on the boot entries in NVRAM. Parted and its front-ends use a &amp;quot;boot&amp;quot; flag on GPT to indicate that a partition is an EFI system partition.&lt;br /&gt;
&lt;br /&gt;
A BIOS boot partition is only required when using GRUB for BIOS booting from a GPT disk. The partition has nothing to do and it must not be formatted with a file system or mounted.&lt;br /&gt;
&lt;br /&gt;
== Alpine disk layout for UEFI ==&lt;br /&gt;
&lt;br /&gt;
You will need a disk layout that your system firmware is capable of booting, you &#039;&#039;&#039;will need a boot partition and a root partition&#039;&#039;&#039;. Other architectures may have different requirements and not all are supported, please read [[Alpine_and_UEFI#UEFI_mandatory_partition_mechanics|UEFI_mandatory_partition_mechanics]] for details.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t already know what filesystem format you want your boot partition, choose &#039;&#039;&#039;ext2&#039;&#039;&#039;. The &#039;&#039;&#039;root partition, and any additional partitions or LVM volume groups, may be in any format that the kernel is capable of reading&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== UEFI/GPT minimal layout ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Mount point&lt;br /&gt;
! Partition&lt;br /&gt;
! Partition type Purpose&lt;br /&gt;
! Recommended minimum size&lt;br /&gt;
|-&lt;br /&gt;
| /boot or /efi&lt;br /&gt;
| /dev/sda1&lt;br /&gt;
| Boot system partition for EFI&lt;br /&gt;
| 260 MiB&lt;br /&gt;
|-&lt;br /&gt;
| /&lt;br /&gt;
| /dev/sda2&lt;br /&gt;
| Alpine Linux root system OS&lt;br /&gt;
| 1–32 GiB&lt;br /&gt;
|-&lt;br /&gt;
| none&lt;br /&gt;
| /dev/sda3&lt;br /&gt;
| Linux swap memory&lt;br /&gt;
| 1-2Gb&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== BIOS/MBR minimal layout ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Mount point&lt;br /&gt;
! Partition&lt;br /&gt;
! Partition type Purpose&lt;br /&gt;
! Recommended minimum size&lt;br /&gt;
|-&lt;br /&gt;
| /boot&lt;br /&gt;
| /dev/sda1&lt;br /&gt;
| Boot grub partition (optional)&lt;br /&gt;
| 100 MiB&lt;br /&gt;
|-&lt;br /&gt;
| /&lt;br /&gt;
| /dev/sda2&lt;br /&gt;
| Alpine Linux root system OS&lt;br /&gt;
| 1–32 GiB&lt;br /&gt;
|-&lt;br /&gt;
| none&lt;br /&gt;
| /dev/sda3&lt;br /&gt;
| Linux swap memory&lt;br /&gt;
| 1-2Gb&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== BIOS/GPT minimal layout ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Mount point&lt;br /&gt;
! Partition&lt;br /&gt;
! Partition type Purpose&lt;br /&gt;
! Recommended minimum size&lt;br /&gt;
|-&lt;br /&gt;
| None&lt;br /&gt;
| /dev/sda1&lt;br /&gt;
| BIOS boot partition&lt;br /&gt;
| 8 MiB&lt;br /&gt;
|-&lt;br /&gt;
| /&lt;br /&gt;
| /dev/sda2&lt;br /&gt;
| Alpine Linux root system OS&lt;br /&gt;
| 1–32 GiB&lt;br /&gt;
|-&lt;br /&gt;
| none&lt;br /&gt;
| /dev/sda3&lt;br /&gt;
| Linux swap memory&lt;br /&gt;
| 1-2Gb&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= BIOS boot process for newbies =&lt;br /&gt;
&lt;br /&gt;
BIOS mainly supports two methods of booting - loading approximately 448 bytes of 8088 machine code from the start of a floppy disk, or the same from the start of a fixed IDE disk.&lt;br /&gt;
&lt;br /&gt;
BIOS can only assume one boot loader occupying the start of hard drive. So each OS overwrites it with its own boot loader. This is very messy. There&#039;s also the 2 TiB issue with MBR.&lt;br /&gt;
&lt;br /&gt;
In order to make your drive more useful, it&#039;s split up into partitions - chunks of disk space which can be treated as independent drives from inside your OS. Windows (following on from MS-DOS) only supports one method for partitioning its boot drive on BIOS systems, which is MBR.&lt;br /&gt;
&lt;br /&gt;
MBR cannot handle disks larger than 2 TiB (2&amp;lt;sup&amp;gt;32&amp;lt;/sup&amp;gt; × 512 bytes). Therefore, it is impossible to use any drive space beyond 2 TiB using MBR layout. So if you&#039;re booting from it and use BIOS, you MUST use MBR - and you simply can&#039;t use any space beyond that if your boot drive is 2TB or bigger.&lt;br /&gt;
&lt;br /&gt;
Modern motherboards (since approximately 2011 onwards) are using UEFI natively, but most can emulate BIOS through the CSM (Compatibility Support Module) to maintain support for BIOS-style booting.&lt;br /&gt;
&lt;br /&gt;
= UEFI boot process explained =&lt;br /&gt;
&lt;br /&gt;
Well, let&#039;s start with installers. It&#039;ll read a UDF or FAT32-formatted USB drive or DVD, and look for the file /efi/boot/bootx64.efi and run it. An app, written in the UEFI &amp;quot;OS&amp;quot;. It can be anything! Here&#039;s classic text adventure Zork, as a UEFI app.&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to make boot media which is valid for both UEFI and BIOS. Unfortunately, in a slightly user-unfriendly twist, you (the user) need to pick the right boot entry. For example, on the wife&#039;s PC, a USB stick gets listed as both &amp;quot;UEFI: Sandisk Cruzer Edge&amp;quot; and &amp;quot;USB: Sandisk Cruzer Edge&amp;quot;. Just... make sure you pick the right entry. It&#039;s impossible to change mode after this point.&lt;br /&gt;
&lt;br /&gt;
It uses a different partitioning system called GPT instead of MBR, and secondly it creates an extra ~100 meg partition called the &amp;quot;EFI System Partition&amp;quot; - a FAT32 partition where the boot loader apps get installed to (no more boot sectors).&lt;br /&gt;
&lt;br /&gt;
Each OS will stick its boot loader somewhere in the ESP, then send a signal to the firmware to write this new loader&#039;s location into the CMOS. Each entry installed in this manner will get its own listing in your &amp;quot;boot devices&amp;quot; list on the firmware - so if you installed MACOSX, you&#039;ll have &amp;quot;MACOSX Boot Manager&amp;quot; as an entry next to your DVD drive and hard drive after you reboot. This is why you don&#039;t do the old &amp;quot;unplug drive A when installing a different OS to drive B&amp;quot; thing, or swap cables, or anything like that. You should only have one ESP, the one on drive A. &lt;br /&gt;
&lt;br /&gt;
== UEFI mandatory partition mechanics ==&lt;br /&gt;
&lt;br /&gt;
Regular UEFI boot has several lists of possible boot entries, stored in UEFI config variables (normally in NVRAM), and boot order config variables stored alongside them. Unfortunately, a lot of PC UEFI implementations have got this wrong and so don&#039;t work properly.&lt;br /&gt;
&lt;br /&gt;
The correct way for this to work when booting off local disk is for a boot variable to point to a vendor-specific bootloader program in &amp;lt;code&amp;gt;\EFI\$bootloader.efi&amp;lt;/code&amp;gt; on the EFI System Partition (ESP), a specially tagged partition (Some OS&#039;s formatted as Fat32.. that&#039;s are unnecessary due it&#039;s just to able to poor OS&#039;s to boot like M$ Redmond OS&#039;s). The current status of that mechanics to boot in Alpine Linux are still in development and only basic support to existing made are provided.&lt;br /&gt;
&lt;br /&gt;
== What&#039;s this infamous &amp;quot;Secure Boot&amp;quot;? ==&lt;br /&gt;
&lt;br /&gt;
It&#039;s a way for your motherboard to prevent tampering of your OS (e.g. boot-sector viruses, or backdoors installed without your knowledge). You can provide a list of certificates you trust, then the firmware enforces that everything involved with the boot process (not just the boot loader, but the OS kernel itself, and all your device firmware like your GPU BIOS) are signed with a trusted key.&lt;br /&gt;
&lt;br /&gt;
It works using cryptographic checksums and signatures. It &#039;&#039;&#039;stops your system from booting unsigned code&#039;&#039;&#039;. You can sign your own, and trust the certificate you used to do that signing. Or you can get the boot code signed by Microsoft - every motherboard has a small list of pre-trusted certificates which almost (always) includes Microsoft&#039;s certificates, which they currently let anyone use for a small fee.&lt;br /&gt;
&lt;br /&gt;
Most of the programs that are expected to run in the UEFI environment are boot loaders, but others exist too. There are also programs to deal with firmware updates before operating system startup (like fwupdate and fwupd), and other utilities may live here too.&lt;br /&gt;
&lt;br /&gt;
Due the &amp;quot;Unsigned code curse&amp;quot;, Alpine linux [https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#EFI_system_partition EFI System Partition] &#039;&#039;&#039;are not the complete overall of the [https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface UEFI], it&#039;s just the need minimal infrastructure to property boot&#039;&#039;&#039; it!&lt;br /&gt;
&lt;br /&gt;
== How to boot unsigned code? ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You must disable Secure Boot. Alpine has no support for Secure Boot as it does not have a certificate&#039;&#039;&#039; which some other Linux distributions (mostly enterprise-related) have. This means that on many new computer systems, users have to first disable Secure Boot to be able to install Alpine Linux and the methods for doing this vary massively from one system to another, making this potentially quite difficult for users. &lt;br /&gt;
&lt;br /&gt;
This is due to Microsoft&#039;s actions as a Certification Authority (CA) for Secure Boot. They sign programs/bootloaders on behalf of other trusted organizations so that their programs will run, but at great cost.. and there&#039;s nothing related to free software but affects to.. There&#039;s no Alpine Linux Certification like are with other enterprise related Linux.&lt;br /&gt;
&lt;br /&gt;
Take in consideration that for Alpine linux [https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#EFI_system_partition EFI System Partition] are not the complete overall of the [https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface UEFI], it&#039;s &#039;&#039;&#039;just the need minimal infrastructure to property boot&#039;&#039;&#039; by an [https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#Implementation_and_adoption UEFI modern machine]. See the [[Alpine_and_UEFI#UEFI_mandatory_partition_mechanics|Alpine UEFI partition mechanics notes]] section in this page for details.&lt;br /&gt;
&lt;br /&gt;
= Overall notes and conclusions =&lt;br /&gt;
&lt;br /&gt;
Currently Alpine UEFI and Secure Boot are very early stage.. Initial support was added and enabled for UEFI, but Secure Boot must be disabled.&lt;br /&gt;
&lt;br /&gt;
BIOS computers (or UEFI computers with Compatibility Support Module) are the easiest and most reliable way to install Linux distributions in general. They do not need the new EFI partition to boot nor new special files.&lt;br /&gt;
&lt;br /&gt;
UEFI-only computers are very common nowadays and are more challenging machines in which to install Alpine linux. They will need the the new EFI partition to boot containing special files.&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
* [[Create a Bootable Compact Flash]]&lt;br /&gt;
* [[Create a bootable SDHC from a Mac]]&lt;br /&gt;
* [[Create a Bootable USB]]&lt;br /&gt;
* [[Create UEFI boot USB]]&lt;br /&gt;
* [[Create UEFI secureboot USB]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Gitea&amp;diff=21393</id>
		<title>Gitea</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Gitea&amp;diff=21393"/>
		<updated>2022-01-06T14:36:11Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://gitea.io Gitea] is a community managed lightweight code hosting solution written in Go. It is a fork of Gogs.&lt;br /&gt;
&lt;br /&gt;
{{Note|This guide is not for installing Gitea in Docker. If you want to install Gitea in a Docker container, follow [https://docs.gitea.io/en-us/install-with-docker/ the official documentation]}}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
First, [[Enable Community Repository | Enable the Community Repository]]&lt;br /&gt;
&lt;br /&gt;
Then install the {{pkg|gitea}} package:&lt;br /&gt;
{{cmd|apk add gitea}}&lt;br /&gt;
&lt;br /&gt;
== Setting up the Database ==&lt;br /&gt;
&lt;br /&gt;
{{Note|These instructions are for MariaDB. If you would like to set up another database, follow [https://docs.gitea.io/en-us/database-prep/ the official documentation]}}&lt;br /&gt;
&lt;br /&gt;
Install the MariaDB and {{pkg|mariadb-client}} packages:&lt;br /&gt;
{{cmd|apk add mariadb mariadb-client}}&lt;br /&gt;
&lt;br /&gt;
Set up the MariaDB installation and secure it:&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;mysql_install_db --user=mysql --datadir=/var/lib/mysql&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
service mariadb start&lt;br /&gt;
rc-update add mariadb&lt;br /&gt;
mysql_secure_installation}}&lt;br /&gt;
&lt;br /&gt;
Create the &amp;lt;code&amp;gt;gitea&amp;lt;/code&amp;gt; database and a user with access to it:&lt;br /&gt;
{{Note|Everything after the &amp;lt;code&amp;gt;mysql -u root -p&amp;lt;/code&amp;gt; should be typed in the MariaDB prompt (looks like &amp;lt;code&amp;gt;MariaDB [(none)]&amp;gt;&amp;lt;/code&amp;gt;)}}&lt;br /&gt;
{{Note|Replace the above username &#039;giteauser&#039; and password &#039;giteapassword&#039; with something secure. Remember these settings. You will need them later when setting up Gitea.}}&lt;br /&gt;
{{cmd|mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE gitea DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;&lt;br /&gt;
GRANT ALL ON gitea.* TO &#039;giteauser&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;giteapassword&#039;;&lt;br /&gt;
FLUSH PRIVILEGES;&lt;br /&gt;
EXIT}}&lt;br /&gt;
&lt;br /&gt;
If you want, you can uninstall the &amp;lt;code&amp;gt;mariadb-client&amp;lt;/code&amp;gt; now as it&#039;s not needed anymore:&lt;br /&gt;
{{cmd|apk del mariadb-client}}&lt;br /&gt;
&lt;br /&gt;
In {{path|/etc/gitea/app.ini}}, replace the contents of the &amp;lt;code&amp;gt;[database]&amp;lt;/code&amp;gt; section with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DB_TYPE = mysql&lt;br /&gt;
HOST = /var/run/mysqld/mysqld.sock&lt;br /&gt;
NAME = gitea			; The database name set with &#039;CREATE DATABASE&#039;&lt;br /&gt;
USER = giteauser		; The database user&lt;br /&gt;
PASSWD = giteapassword		; The password for the database user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configurations ==&lt;br /&gt;
&lt;br /&gt;
The Gitea service can be configured using {{path|/etc/conf.d/gitea}}:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description !! Configuration Variable !! Default Value&lt;br /&gt;
|-&lt;br /&gt;
| User to run Gitea under || GITEA_USER || gitea&lt;br /&gt;
|-&lt;br /&gt;
| Gitea working directory || GITEA_WORK_DIR || /var/lib/gitea/&lt;br /&gt;
|-&lt;br /&gt;
| Gitea configuration file || GITEA_CONF || /etc/gitea/app.ini&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Some additional settings in {{path|/etc/gitea/app.ini}}:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description !! Configuration Variable !! Default Value&lt;br /&gt;
|-&lt;br /&gt;
| Gitea customization directory || &amp;lt;code&amp;gt;Cannot be configured&amp;lt;/code&amp;gt; || /var/lib/gitea/custom/&lt;br /&gt;
|-&lt;br /&gt;
| Web files || STATIC_ROOT_PATH || /usr/share/webapps/gitea/&lt;br /&gt;
|-&lt;br /&gt;
| Data files || APP_DATA_PATH || /var/lib/gitea/data/&lt;br /&gt;
|-&lt;br /&gt;
| Git repository storage directory || ROOT || /var/lib/gitea/git/&lt;br /&gt;
|-&lt;br /&gt;
| Log directory || ROOT_PATH || /var/log/gitea/&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Note|Gitea has a built-in web server, so there is no need to configure one. However, you can [https://docs.gitea.io/en-us/reverse-proxies/ set up a reverse proxy].}}&lt;br /&gt;
&lt;br /&gt;
{{Note|To customize the look and feel of Gitea, find the correct path in {{path|/usr/share/webapps/gitea/}} and make the same path in {{path|/var/lib/gitea/custom/}}. For example, to add a new Gitea theme, create the {{path|/var/lib/gitea/custom/public/css/}} directory, then add the css for the theme there.}}&lt;br /&gt;
&lt;br /&gt;
== Controlling and starting gitea ==&lt;br /&gt;
&lt;br /&gt;
You should not start Gitea without setting certain environment variables and passing some options, since it won&#039;t know where to store data and logs, so it is recommended to start gitea using the init script:&lt;br /&gt;
{{cmd|service gitea start}}&lt;br /&gt;
&lt;br /&gt;
To add Gitea to the default runlevel (such that it runs automatically on every boot):&lt;br /&gt;
{{cmd|rc-update add gitea}}&lt;br /&gt;
&lt;br /&gt;
To stop the Gitea service:&lt;br /&gt;
{{cmd|service gitea stop}}&lt;br /&gt;
&lt;br /&gt;
=== Running Gitea without the init script ===&lt;br /&gt;
&lt;br /&gt;
If (for whatever reason), you would like to start Gitea without using the initscript, you should first stop the Gitea service:&lt;br /&gt;
{{cmd|service gitea stop}}&lt;br /&gt;
&lt;br /&gt;
Then, run Gitea with this command (as the &amp;lt;code&amp;gt;gitea&amp;lt;/code&amp;gt; user):&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;GITEA_WORK_DIR=/var/lib/gitea gitea web --config /etc/gitea/app.ini&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This will use the correct configuration file and write to the correct directories.&lt;br /&gt;
&lt;br /&gt;
== Post installation ==&lt;br /&gt;
&lt;br /&gt;
{{Expand}}&lt;br /&gt;
&lt;br /&gt;
After installing Gitea, go to http://localhost:3000 and start the post-installation process.&lt;br /&gt;
&lt;br /&gt;
== Setting up SSH Git access ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not&#039;&#039;&#039; try to be clever and use &amp;lt;code&amp;gt;ssh-copy-id&amp;lt;/code&amp;gt;, as it will not have the correct command set.&lt;br /&gt;
&lt;br /&gt;
As an example, if this is the public key:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh-ed25519 ******************************************************************** **********@gmail.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The line in {{path|.ssh/authorized_keys}} needs to be:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
command=&amp;quot;/usr/bin/gitea --config=/etc/gitea/app.ini serv key-2&amp;quot;,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-ed25519 ******************************************************************** **********@gmail.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to do this, [https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent generate a SSH key], then go to the Gitea settings panel and click the &amp;lt;code&amp;gt;Add Key&amp;lt;/code&amp;gt; button, then paste in your public key.&lt;br /&gt;
&lt;br /&gt;
Now, once you&#039;ve added your private key to the SSH agent, you can use SSH with Gitea like you normally would with GitHub, GitLab, etc.&lt;br /&gt;
&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:Git]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=AwesomeWM&amp;diff=21392</id>
		<title>AwesomeWM</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=AwesomeWM&amp;diff=21392"/>
		<updated>2022-01-06T14:06:07Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[file: awesome-01.png |thumb |Screenshot]]&lt;br /&gt;
{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
= Prerequisites =&lt;br /&gt;
* [[Installation|Install]] Alpine Linux&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Post_installation#Creating_a_new_user_account Create a user account] (optional but recommended)&lt;br /&gt;
* Enable the [[Enable_Community_Repository|Community Repository]]&lt;br /&gt;
&lt;br /&gt;
= Install packages =&lt;br /&gt;
Install awesome, xterm, lua and terminus font.&amp;lt;BR&amp;gt;&lt;br /&gt;
Depending on your network speed, it might take a few minutes.&lt;br /&gt;
{{Cmd|# apk add awesome xterm lua terminus-font}}&lt;br /&gt;
&lt;br /&gt;
== Optional packages ==&lt;br /&gt;
=== Video and Input packages ===&lt;br /&gt;
You &amp;lt;u&amp;gt;might&amp;lt;/u&amp;gt; want to install a package suitable for your video chipset and input devices.&amp;lt;BR&amp;gt;&lt;br /&gt;
For example, if you have an Sis video chipset, install &#039;xf86-video-sis&#039;. For Intel video chipset, install &#039;xf86-video-intel&#039;.&amp;lt;BR&amp;gt;&lt;br /&gt;
{{Cmd|# apk add xf86-video-sis}}&lt;br /&gt;
and / or &lt;br /&gt;
{{Cmd|# apk add xf86-input-synaptics}}&lt;br /&gt;
&lt;br /&gt;
Run &#039;apk search xf86-video*&#039; to see available xf86-video packages.&amp;lt;BR&amp;gt;&lt;br /&gt;
Run &#039;apk search xf86-input*&#039; to see available xf86-input packages.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== acpid ===&lt;br /&gt;
If you installed your Alpine Linux as a VirtualBox or VMWare guest, you might find it handy to be able execute an ACPI shutdown.&amp;lt;BR&amp;gt;&lt;br /&gt;
{{Cmd|# rc-update add acpid}}&lt;br /&gt;
&lt;br /&gt;
= Configure xorg-server =&lt;br /&gt;
On most systems, xorg should be able to autodetect all devices. However, you can still configure xorg-server manually by launching:&lt;br /&gt;
{{Cmd|# setup-xorg-base}}&lt;br /&gt;
&lt;br /&gt;
= Start your desktop =&lt;br /&gt;
{{Cmd|$ echo &#039;awesome&#039; &amp;gt;&amp;gt; /home/&amp;lt;newuser&amp;gt;/.xinitrc}}&lt;br /&gt;
{{Cmd|$ mkdir /home/&amp;lt;newuser&amp;gt;/.config}}&lt;br /&gt;
{{Cmd|$ cp -r /etc/xdg/awesome  /home/&amp;lt;newuser&amp;gt;/.config}}&lt;br /&gt;
{{Cmd|$ vi /home/&amp;lt;newuser&amp;gt;/.config/awesome/rc.lua}}&lt;br /&gt;
&lt;br /&gt;
Start awesome.&lt;br /&gt;
{{Cmd|$ startx}}&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
D-Bus problems:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open &amp;quot;/var/lib/dbus/machine-id&amp;quot;: No such file or directory}}&lt;br /&gt;
&lt;br /&gt;
If startx fails and returns an error about D-Bus failed to read machine uuid, as shown above, proceed as follows:&lt;br /&gt;
&lt;br /&gt;
Install dbus from apk (you must be logged in as root for the step shown below)&lt;br /&gt;
{{Cmd|# apk add dbus}}&lt;br /&gt;
&lt;br /&gt;
Log in or su to the root account, then launch the following command (Note: sudo does not work for this step):&lt;br /&gt;
{{Cmd|# dbus-uuidgen &amp;gt; /var/lib/dbus/machine-id}}&lt;br /&gt;
&lt;br /&gt;
Now if startx is launched, it should load the desktop correctly&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Installation]]&lt;br /&gt;
* [[Post installation]]&lt;br /&gt;
* [[Desktop environments and Window managers]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;br /&gt;
[[Category:Lua]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Lighttpd&amp;diff=21391</id>
		<title>Lighttpd</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Lighttpd&amp;diff=21391"/>
		<updated>2022-01-06T14:05:39Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Its name is a portmanteau of &amp;quot;light&amp;quot; and &amp;quot;httpd&amp;quot;: [http://www.lighttpd.net/ lighttpd] is a simple, standards-compliant, secure, and flexible web server. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;lighttpd is a powerful server, made long ago to handle upwards of 10,000 connections in parallel on one server&#039;&#039;&#039;. It was used in wikipedia server a log time ago and also some google services.&lt;br /&gt;
&lt;br /&gt;
{{Note|As for minimal sites and quick-start purposes, it is recommended due to its easy configuration process and excellent performance without much configuration. Check https://w3techs.com/technologies/details/ws-lighttpd and note that it is used in high traffic and important sites like postgresql.org}}&lt;br /&gt;
&lt;br /&gt;
== General information ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Feature/Artifact !! Value/Name !! Observations&lt;br /&gt;
|-&lt;br /&gt;
| Main package name || lighttpd || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;apk add lighttpd&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Manpages and DOCs packages || lighttpd-doc || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;apk add lighttpd-doc&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Configuration file || {{Path|/etc/lighttpd/lighttpd.conf}} || A vanilla default configuration&lt;br /&gt;
|-&lt;br /&gt;
| Html place for system pages || {{Path|/var/www/localhost/htdocs/}} || Each web server in alpine has own path for that&lt;br /&gt;
|-&lt;br /&gt;
| Dynamic files (cache, extra) || {{Path|/var/lib/lighttpd/}} || Created dynamically, each server in alpine has own path for that&lt;br /&gt;
|-&lt;br /&gt;
| Log files (error, access, etc) || {{Path|/var/log/lighttpd/}} || Each web server in alpine has own path for that&lt;br /&gt;
|-&lt;br /&gt;
| User running the webserver || lighttpd || Others Linux used &amp;quot;www-data&amp;quot; alpine has as a group&lt;br /&gt;
|-&lt;br /&gt;
| Group to common to webserver || www-data || Used to share things amont others daemons or services, like redis or apache files&lt;br /&gt;
|-&lt;br /&gt;
| Programed on || C and lua || Main engine code in C, modules and config in Lua variants&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Important Limitations ====&lt;br /&gt;
&lt;br /&gt;
Some common hosting panels do not handle {{Pkg|lighttpd}} configuration management.&lt;br /&gt;
&lt;br /&gt;
No HTTP/3 support.&lt;br /&gt;
&lt;br /&gt;
As we read previously.. main purpose was handle several request on one server, so are focused on high load. &lt;br /&gt;
&lt;br /&gt;
As main front end web server are perfect and it&#039;s &#039;&#039;&#039;recommended as reverse proxy server for {{Pkg|apache2}} or {{Pkg|nginx}}&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Install Lighttpd ==&lt;br /&gt;
&lt;br /&gt;
The installation works just out of the box for only static pages, just with install you can see webserver in action by put any file inside the  {{Path|/var/www/localhost/htdocs/}} directory.&lt;br /&gt;
&lt;br /&gt;
Per user web files are supported by default in  {{Path|/home/&amp;lt;user&amp;gt;/public_html}} directory by default if we enable it (process are described below in further section &amp;quot;Lighttpd configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{{Pkg|lighttpd}} is available in the Alpine Linux repositories. To install, simple launch the commands below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apk add lighttpd&lt;br /&gt;
&lt;br /&gt;
rc-update add lighttpd default&lt;br /&gt;
&lt;br /&gt;
rc-service lighttpd restart&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing Lighttpd ==&lt;br /&gt;
&lt;br /&gt;
This section is assuming that lighttpd is running. If you now launch a web browser from a remote system and point it to your web server, you will see a page that says &amp;quot;404 - Not Found&amp;quot;. Well, at the moment there is no content available but the server is up and running.&lt;br /&gt;
&lt;br /&gt;
Let&#039;s add a simple test page to get rid of the &amp;quot;404 - Not Found page&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|echo &amp;quot;Lighttpd is running...&amp;quot; &amp;gt; /var/www/localhost/htdocs/index.html}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For testing open a browser and go to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://127.0.0.1/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and you will see &amp;quot;Lighttpd is running...&amp;quot;&#039;&#039;&#039;. Note that we used &amp;quot;127.0.0.1&amp;quot; if you are using alpine as the only machine for all as your main desktop/pc/machine.&lt;br /&gt;
&lt;br /&gt;
If you are using alpine remotelly as web server and just install it the package, &#039;&#039;&#039;open a browser in your desktop machine, and go to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://&amp;lt;webserveripaddres&amp;gt;/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. The &amp;quot;webserveripaddres&amp;quot; are the ip address of your setup/server machine.&lt;br /&gt;
&lt;br /&gt;
== Lighttpd Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you just want to serve simple HTML pages lighttpd can be used out-of-box. No further configuration needed.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For production purposes the [[Production LAMP system: Lighttpd + PHP + MySQL]] wiki page will explain in details all the needs, there&#039;s the [[Production Lets Encrypt: dehydrated]] wiki page with futher information to use HTTPS and lets encrypt certificates.&lt;br /&gt;
&lt;br /&gt;
Due to the minimalism of alpine linux, &#039;&#039;&#039;unfortunately the lighttpd packaging only provided vanilla configurations not close to alpine or easy admin maintenance&#039;&#039;&#039;, see the [[Production LAMP system: Lighttpd + PHP + MySQL]] wiki page to goin in deep about configuring lighttpd web server.&lt;br /&gt;
&lt;br /&gt;
==== Controlling Lighttpd ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Start lighttpd&#039;&#039;&#039;&#039;&#039;: After the installation {{Pkg|lighttpd}} is not running. As we made in first section was started already but if you want to start {{Pkg|lighttpd}} manually use:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-service lighttpd start}}&lt;br /&gt;
&lt;br /&gt;
You will get a feedback about the status.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 * Caching service dependencies                                 [ ok ]&lt;br /&gt;
 * Starting lighttpd...                                         [ ok ]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Stop lighttpd&#039;&#039;&#039;&#039;&#039;: If you want to stop the web server use &#039;&#039;stop&#039;&#039; in the same way of previous command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-service lighttpd stop}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Restart lighttpd&#039;&#039;&#039;&#039;&#039;: After changing the configuration file lighttpd needs to be restarted.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-service lighttpd restart}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Proper Runlevel&#039;&#039;&#039;&#039;&#039;: By default no services are added to start process, sysadmin must know what we want and what will services do, also other main reason are due in dockers there&#039;s no runlevels per se and Alpine linux are mostly used in dockers containers. You must added the servide only to the default runlevel, not to boot, because need networking activated&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-update add lighttpd default}}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
In production web, LAMP means &#039;&#039;&#039;L&#039;&#039;&#039;inux + &#039;&#039;&#039;A&#039;&#039;&#039;pache + &#039;&#039;&#039;M&#039;&#039;&#039;ysql + &#039;&#039;&#039;P&#039;&#039;&#039;hp installed and integrated, but today the &amp;quot;A&amp;quot; of apache are more used as Nginx or Lighttpd, and the &amp;quot;M&amp;quot; of MySQL are more used as Mariadb, the LAMP focused documents are:&lt;br /&gt;
&lt;br /&gt;
* [[Setting_Up_Lighttpd_with_PHP|Setting Up Lighttpd with PHP]] &lt;br /&gt;
* [[Lighttpd Advanced security]] &lt;br /&gt;
&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:Web_Server]]&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Cacti:_traffic_analysis_and_monitoring_network&amp;diff=21390</id>
		<title>Cacti: traffic analysis and monitoring network</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Cacti:_traffic_analysis_and_monitoring_network&amp;diff=21390"/>
		<updated>2022-01-06T14:04:30Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cacti is a complete network monitoring and data analyzing solution using RRDTool&#039;s data storage and graphing functionality. It is the most widely used monitoring tool by ISPs to see the network graphically.&lt;br /&gt;
&lt;br /&gt;
== Dedicated host pre configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Cacti has very special and fixed requirements&#039;&#039;&#039; from the host. For production systems, it must be installed on a dedicated host machine.&lt;br /&gt;
&lt;br /&gt;
{{Note|here we use &amp;quot;venenux.net&amp;quot; as the domain. please change to your domain. if you are installing locally, use &amp;quot;localdomain&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
=== Hostname setup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
hostname monitor&lt;br /&gt;
&lt;br /&gt;
echo &#039;hostname=&amp;quot;monitor&amp;quot;&#039; &amp;gt; /etc/conf.d/hostname &lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;monitor&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
&lt;br /&gt;
cat &amp;gt; /etc/hosts &amp;lt;&amp;lt; EOF&lt;br /&gt;
127.0.0.1 monitor.venenux.net monitor localhost.localdomain localhost&lt;br /&gt;
151.101.128.249 dl-cdn.alpinelinux.org&lt;br /&gt;
::1 localhost localhost.localdomain&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We added the ip address of cdn Alpine Linux to reduce DNS server traffic.&lt;br /&gt;
&lt;br /&gt;
=== Repositories and packages ===&lt;br /&gt;
&lt;br /&gt;
Unfortunately, some commands are more complex. We must take into consideration that common commands are just busybox minimalist versions, so we must make changes to ensure we are using the real ones. The following commands install bash as well as some other system tools as shown below. If they aren&#039;t present, Catci will fail randomly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
cat &amp;gt; /etc/apk/repositories &amp;lt;&amp;lt; EOF&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d&#039;.&#039; -f1,2)/main&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d&#039;.&#039; -f1,2)/community&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
apk update&lt;br /&gt;
&lt;br /&gt;
apk add bash attr dialog binutils findutils readline lsof less nano curl&lt;br /&gt;
&lt;br /&gt;
export PAGER=less&lt;br /&gt;
&lt;br /&gt;
cat &amp;gt; /etc/apk/repositories &amp;lt;&amp;lt; EOF&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d&#039;.&#039; -f1,2)/main&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d&#039;.&#039; -f1,2)/community&lt;br /&gt;
http://uk.alpinelinux.org/alpine/edge/main&lt;br /&gt;
http://uk.alpinelinux.org/alpine/edge/community&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
apk update&lt;br /&gt;
&lt;br /&gt;
apk add utmps&lt;br /&gt;
&lt;br /&gt;
cat &amp;gt; /etc/apk/repositories &amp;lt;&amp;lt; EOF&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d&#039;.&#039; -f1,2)/main&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d&#039;.&#039; -f1,2)/community&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
apk update&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take into consideration that if one package is retrieved, it must be the only package! i.e. not all the packages. First install all the dependencies and related files from the normal repository and later install only the required extras from edge! For that, you must visit https://pkgs.alpinelinux.org/packages and search for all the requirements of the involved package from edge. like &amp;lt;code&amp;gt;utmps&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
Before installing Cacti, many other packages must be installed and configured.&lt;br /&gt;
&lt;br /&gt;
* A web server e.g. &#039;&#039;lighttpd&#039;&#039;&lt;br /&gt;
* The &#039;&#039;PHP&#039;&#039; scripting language&lt;br /&gt;
* A database engine e.g. &#039;&#039;mariadb&#039;&#039;&lt;br /&gt;
* To retreive data, &#039;&#039;net-snmp&#039;&#039; tools&lt;br /&gt;
* To graph the data, the &#039;&#039;rrdtool&#039;&#039; package&lt;br /&gt;
&lt;br /&gt;
{{Warning|These complex configurations &#039;&#039;&#039;will be necessary&#039;&#039;&#039;, as Cacti is demanding in its installation requirements to ensure complete functionality.}}&lt;br /&gt;
&lt;br /&gt;
=== The web server: Lighttpd installation and configuration ===&lt;br /&gt;
&lt;br /&gt;
Cacti runs as a web program, so we need the web server configured, Because Apache2 is so well known, we will document only lighttpd. There is a lot of info available about configuration options:&lt;br /&gt;
&lt;br /&gt;
* setup port, cache engine, event handler of lighttpd, with htdocs&lt;br /&gt;
* setup web server status page&lt;br /&gt;
* setup alias mod for aliasing, cgi handler, and create the directories with the correct permissions&lt;br /&gt;
* setup the webserver start script and start the webserver to test it&lt;br /&gt;
* add network back-end handler. file descriptor setup and improve file cache retrieval time&lt;br /&gt;
* setup https and generate self signed certificate&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apk add lighttpd gamin&lt;br /&gt;
&lt;br /&gt;
mkdir -p /var/www/localhost/htdocs&lt;br /&gt;
sed -i -r &#039;s#\#.*server.port.*=.*#server.port          = 80#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
sed -i -r &#039;s#.*server.stat-cache-engine.*=.*# server.stat-cache-engine = &amp;quot;fam&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
sed -i -r &#039;s#\#.*server.event-handler = &amp;quot;linux-sysepoll&amp;quot;.*#server.event-handler = &amp;quot;linux-sysepoll&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
mkdir -p /var/www/localhost/htdocs/serverinfo&lt;br /&gt;
sed -i -r &#039;s#\#.*mod_status.*,.*#    &amp;quot;mod_status&amp;quot;,#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
sed -i -r &#039;s#.*status.status-url.*=.*#status.status-url  = &amp;quot;/serverinfo/server-status&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
sed -i -r &#039;s#.*status.config-url.*=.*#status.config-url  = &amp;quot;/serverinfo/server-config&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
mkdir -p /var/www/localhost/cgi-bin&lt;br /&gt;
sed -i -r &#039;s#\#.*mod_alias.*,.*#    &amp;quot;mod_alias&amp;quot;,#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
sed -i -r &#039;s#.*include &amp;quot;mod_cgi.conf&amp;quot;.*#   include &amp;quot;mod_cgi.conf&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
mkdir -p /var/lib/lighttpd&lt;br /&gt;
chown -R lighttpd:lighttpd /var/www/localhost/&lt;br /&gt;
chown -R lighttpd:lighttpd /var/lib/lighttpd&lt;br /&gt;
chown -R lighttpd:lighttpd /var/log/lighttpd&lt;br /&gt;
&lt;br /&gt;
rc-update add lighttpd default&lt;br /&gt;
&lt;br /&gt;
rc-service lighttpd restart&lt;br /&gt;
&lt;br /&gt;
checkset=&amp;quot;&amp;quot;;checkset=$(grep &#039;noatime&#039; /etc/lighttpd/lighttpd.conf);[[ &amp;quot;$checkset&amp;quot; != &amp;quot;&amp;quot; ]] &amp;amp;&amp;amp; \&lt;br /&gt;
echo listo || sed -i -r &#039;s#server settings.*#server settings&amp;quot;\nserver.use-noatime = &amp;quot;enable&amp;quot;\n#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
checkset=&amp;quot;&amp;quot;;checkset=$(grep &#039;network-backend&#039; /etc/lighttpd/lighttpd.conf);[[ &amp;quot;$checkset&amp;quot; != &amp;quot;&amp;quot; ]] &amp;amp;&amp;amp; \&lt;br /&gt;
echo listo || sed -i -r &#039;s#server settings.*#server settings&amp;quot;\nserver.network-backend = &amp;quot;linux-sendfile&amp;quot;\n#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
checkset=&amp;quot;&amp;quot;;checkset=$(grep &#039;max-fds&#039; /etc/lighttpd/lighttpd.conf);[[ &amp;quot;$checkset&amp;quot; != &amp;quot;&amp;quot; ]] &amp;amp;&amp;amp; \&lt;br /&gt;
echo listo || sed -i -r &#039;s#server settings.*#server settings\nserver.max-fds = 2048\n#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
rc-service lighttpd restart&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Warning|Next steps are &#039;&#039;&#039;recommended&#039;&#039;&#039; but optional, Cacti can use only https for the traffic between the host monitor and the rest of monitored devices! Cacti should be accessed only over TLS. (https) Otherwise, passwords and user data will be exposed. The following steps will generate a self signed cert file that will require accepting a custom exception on the web browser, but all of the https traffic will use TLS/SSL.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apk add openssl&lt;br /&gt;
&lt;br /&gt;
mkdir -p /etc/ssl/certs/&lt;br /&gt;
&lt;br /&gt;
openssl req -x509 -days 1460 -nodes -newkey rsa:4096 \&lt;br /&gt;
   -subj &amp;quot;/C=VE/ST=Bolivar/L=Upata/O=VenenuX/OU=Systemas:hozYmartillo/CN=localhost&amp;quot; \&lt;br /&gt;
   -keyout /etc/ssl/certs/localhost.pem -out /etc/ssl/certs/localhost.pem&lt;br /&gt;
&lt;br /&gt;
chmod 755 /etc/ssl/certs/localhost.pem&lt;br /&gt;
&lt;br /&gt;
cat &amp;gt; /etc/lighttpd/mod_ssl.conf &amp;lt;&amp;lt; EOF&lt;br /&gt;
server.modules += (&amp;quot;mod_openssl&amp;quot;)&lt;br /&gt;
\$SERVER[&amp;quot;socket&amp;quot;] == &amp;quot;0.0.0.0:443&amp;quot; {&lt;br /&gt;
    ssl.engine  = &amp;quot;enable&amp;quot;&lt;br /&gt;
    ssl.pemfile = &amp;quot;/etc/ssl/certs/localhost.pem&amp;quot;&lt;br /&gt;
    ssl.cipher-list = &amp;quot;ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM&amp;quot;&lt;br /&gt;
    ssl.honor-cipher-order = &amp;quot;enable&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
\$HTTP[&amp;quot;scheme&amp;quot;] == &amp;quot;http&amp;quot; {&lt;br /&gt;
    \$HTTP[&amp;quot;host&amp;quot;] =~ &amp;quot;.*&amp;quot; {&lt;br /&gt;
        url.redirect = (&amp;quot;.*&amp;quot; =&amp;gt; &amp;quot;https://%0\$0&amp;quot;)&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;s#\#.*mod_redirect.*,.*#    &amp;quot;mod_redirect&amp;quot;,#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
itawxrc=&amp;quot;&amp;quot;;itawxrc=$(grep &#039;include &amp;quot;mod_ssl.conf&#039; /etc/lighttpd/lighttpd.conf);[[ &amp;quot;$itawxrc&amp;quot; != &amp;quot;&amp;quot; ]] &amp;amp;&amp;amp; echo listo || \&lt;br /&gt;
sed -i -r &#039;s#.*include &amp;quot;mime-types.conf&amp;quot;.*#include &amp;quot;mime-types.conf&amp;quot;\ninclude &amp;quot;mod_ssl.conf&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;s#ssl.pemfile.*=.*#ssl.pemfile   = &amp;quot;/etc/ssl/certs/localhost.pem&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
rc-service lighttpd restart&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The PHP: installation and configurations ===&lt;br /&gt;
&lt;br /&gt;
Next requirement is the PHP scripting Language. Because Cacti are build with PHP, it has support for LDAP.&lt;br /&gt;
&lt;br /&gt;
{{Note|Cacti supports PHP5 and PHP7. In the next section, we will only cover PHP7 because that&#039;s only version available that works with recent Alpine versions. If you use an older Alpine host for testing, you can use this command to detect what to install &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;export phpmax=$(debver=$(cat /etc/alpine-release|cut -d &#039;.&#039; -f1);[ $debver -ge 6 ] &amp;amp;&amp;amp; echo  7|| echo 5)&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, the shel var &amp;lt;code&amp;gt;phpmax&amp;lt;/code&amp;gt; indicates based on Alpine version if 5 or 7 php will be used in command lines as: &amp;lt;code&amp;gt;apk add php$phpmax&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
The commit that mess is at, is: https://git.alpinelinux.org/aports/commit/community/cacti/cacti.php-fpm.conf?id=4272e802a1be191657becb739e6a248c1d0411a7 where a specific pool for php-fpm is made for cacti. It&#039;s a mess because it&#039;s not documented. We must avoid and ignore it if we are to properly configure the general pool:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
apk add php7-fpm php7-bcmath php7-bz2 php7-ctype php7-curl php7-dom \&lt;br /&gt;
 php7-enchant php7-exif php7-gd php7-gettext php7-gmp php7-iconv \&lt;br /&gt;
 php7-imap php7-intl php7-json php7-mbstring php7-opcache php7-openssl \&lt;br /&gt;
 php7-phar php7-posix php7-pspell php7-recode php7-session php7-simplexml \&lt;br /&gt;
 php7-sockets php7-sysvmsg php7-sysvsem php7-sysvshm php7-tidy php7-tokenizer \&lt;br /&gt;
 php7-xml php7-xmlreader php7-xmlrpc php7-xmlwriter php7-xsl php7-zip php7-sqlite3 \&lt;br /&gt;
 php7-gd php7-gmp php7-ldap php7-openssl php7-pdo_mysql php7-posix php7-sockets php7-xml&lt;br /&gt;
&lt;br /&gt;
apk add php7-pdo php7-pdo_mysql php7-mysqli php7-pdo_sqlite php7-sqlite3 \&lt;br /&gt;
 php7-odbc php7-pdo_odbc php7-dba&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following configurations are for high or huge loads on a 2G RAM server, for more information about configuring PHP on Alpine Linux see [[Production LAMP system: Lighttpd + PHP + MySQL]] wiki page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sed -i -r &#039;s|.*cgi.fix_pathinfo=.*|cgi.fix_pathinfo=1|g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#.*safe_mode =.*#safe_mode = Off#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#.*expose_php =.*#expose_php = Off#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#memory_limit =.*#memory_limit = 512M#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#upload_max_filesize =.*#upload_max_filesize = 56M#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#post_max_size =.*#post_max_size = 128M#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#^file_uploads =.*#file_uploads = On#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#^max_file_uploads =.*#max_file_uploads = 12#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#^allow_url_fopen = .*#allow_url_fopen = On#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#^.default_charset =.*#default_charset = &amp;quot;UTF-8&amp;quot;#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#^.max_execution_time =.*#max_execution_time = 90#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#^max_input_time =.*#max_input_time = 90#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#.*date.timezone =.*#date.timezone = America/Panama#g&#039; /etc/php*/php.ini&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;s|.*events.mechanism =.*|events.mechanism = epoll|g&#039; /etc/php*/php-fpm.conf&lt;br /&gt;
sed -i -r &#039;s|.*emergency_restart_threshold =.*|emergency_restart_threshold = 12|g&#039; /etc/php*/php-fpm.conf&lt;br /&gt;
sed -i -r &#039;s|.*emergency_restart_interval =.*|emergency_restart_interval = 1m|g&#039; /etc/php*/php-fpm.conf&lt;br /&gt;
sed -i -r &#039;s|.*process_control_timeout =.*|process_control_timeout = 8s|g&#039; /etc/php*/php-fpm.conf&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;s|^.*pm.max_requests =.*|pm.max_requests = 10000|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
sed -i -r &#039;s|^.*pm.max_children =.*|pm.max_children = 12|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
sed -i -r &#039;s|^.*pm.start_servers =.*|pm.start_servers = 4|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
sed -i -r &#039;s|^.*pm.min_spare_servers =.*|pm.min_spare_servers = 4|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
sed -i -r &#039;s|^.*pm.max_spare_servers =.*|pm.max_spare_servers = 8|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
sed -i -r &#039;s|^.*pm.process_idle_timeout =.*|pm.process_idle_timeout = 8s|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
sed -i -r &#039;s|^.*pm =.*|pm = ondemand|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
&lt;br /&gt;
mkdir -p /var/run/php-fpm7/&lt;br /&gt;
&lt;br /&gt;
chown lighttpd:root /var/run/php-fpm7&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;s|^.*listen =.*|listen = /run/php-fpm7/php7-fpm.sock|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
sed -i -r &#039;s|^pid =.*|pid = /run/php-fpm7/php7-fpm.pid|g&#039; /etc/php*/php-fpm.conf&lt;br /&gt;
sed -i -r &#039;s#^user =.*#user = lighttpd#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s#^group =.*#group = lighttpd#g&#039; /etc/php*/php.ini&lt;br /&gt;
sed -i -r &#039;s|^.*listen.owner =.*|listen.owner = lighttpd|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
sed -i -r &#039;s|^.*listen.group =.*|listen.group = lighttpd|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
sed -i -r &#039;s|^.*listen.mode =.*|listen.mode = 0660|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
&lt;br /&gt;
rc-update add php-fpm7 default&lt;br /&gt;
&lt;br /&gt;
service php-fpm7 restart&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After you have php ready, let&#039;s integrate it into the current preinstalled web server. We&#039;ve chosen lighttpd, so the commands are:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
mkdir -p /var/www/localhost/cgi-bin&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;s#\#.*mod_alias.*,.*#    &amp;quot;mod_alias&amp;quot;,#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
sed -i -r &#039;s#.*include &amp;quot;mod_cgi.conf&amp;quot;.*#   include &amp;quot;mod_cgi.conf&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
sed -i -r &#039;s#.*include &amp;quot;mod_fastcgi.conf&amp;quot;.*#\#   include &amp;quot;mod_fastcgi.conf&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
sed -i -r &#039;s#.*include &amp;quot;mod_fastcgi_fpm.conf&amp;quot;.*#   include &amp;quot;mod_fastcgi_fpm.conf&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
cat &amp;gt; /etc/lighttpd/mod_fastcgi_fpm.conf &amp;lt;&amp;lt; EOF&lt;br /&gt;
server.modules += ( &amp;quot;mod_fastcgi&amp;quot; )&lt;br /&gt;
index-file.names += ( &amp;quot;index.php&amp;quot; )&lt;br /&gt;
fastcgi.server = (&lt;br /&gt;
    &amp;quot;.php&amp;quot; =&amp;gt; (&lt;br /&gt;
      &amp;quot;localhost&amp;quot; =&amp;gt; (&lt;br /&gt;
        &amp;quot;socket&amp;quot;                =&amp;gt; &amp;quot;/var/run/php-fpm7/php7-fpm.sock&amp;quot;,&lt;br /&gt;
        &amp;quot;broken-scriptfilename&amp;quot; =&amp;gt; &amp;quot;enable&amp;quot;&lt;br /&gt;
      ))&lt;br /&gt;
)&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;s|^.*listen =.*|listen = /var/run/php-fpm7/php7-fpm.sock|g&#039; /etc/php*/php-fpm.d/www.conf&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;php-fpm7 restart&lt;br /&gt;
&lt;br /&gt;
rc-service lighttpd restart&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;&amp;lt;?php echo phpinfo(); ?&amp;gt;&amp;quot; &amp;gt; /var/www/localhost/htdocs/info.php&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test PHP is working correctly, browse to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://ipaddress/info.php&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; Change &amp;quot;ipaddrs&amp;quot; to the web server&#039;s ip address.&lt;br /&gt;
&lt;br /&gt;
=== The Database: MariaDB installation and configuration ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|Cacti also can run with PostgreSQL, it&#039;s a better choice for heavily loaded production and huge data systems. We documented mysql only because postgresql needs complex tunning parameters}}&lt;br /&gt;
&lt;br /&gt;
{{Note|You can install &#039;&#039;&#039;adminer to manage the database&#039;&#039;&#039; via a web browser. See [[Production LAMP system: Lighttpd + PHP + MySQL#adminer:_Web_Frontend_administration|Adminer in production LAMP systems]] that can manage any kind of database via a GUI}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apk add mysql mysql-client tzdata&lt;br /&gt;
&lt;br /&gt;
mysql_install_db --user=mysql --datadir=/var/lib/mysql&lt;br /&gt;
&lt;br /&gt;
rc-service mariadb start&lt;br /&gt;
&lt;br /&gt;
mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root mysql&lt;br /&gt;
&lt;br /&gt;
sed -i &amp;quot;s|.*max_allowed_packet\s*=.*|max_allowed_packet = 100M|g&amp;quot; /etc/my.cnf.d/mariadb-server.cnf&lt;br /&gt;
&lt;br /&gt;
sed -i &amp;quot;s|.*bind-address\s*=.*|bind-address=127.0.0.1|g&amp;quot; /etc/mysql/my.cnf&lt;br /&gt;
sed -i &amp;quot;s|.*bind-address\s*=.*|bind-address=127.0.0.1|g&amp;quot; /etc/my.cnf.d/mariadb-server.cnf&lt;br /&gt;
&lt;br /&gt;
cat &amp;gt; /etc/my.cnf.d/mariadb-server-default-charset.cnf &amp;lt;&amp;lt; EOF&lt;br /&gt;
[client]&lt;br /&gt;
default-character-set = utf8mb4&lt;br /&gt;
&lt;br /&gt;
[mysql]&lt;br /&gt;
default-character-set = utf8mb4&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
cat &amp;gt; /etc/my.cnf.d/mariadb-server-default-highload.cnf &amp;lt;&amp;lt; EOF&lt;br /&gt;
[mysqld]&lt;br /&gt;
collation_server = utf8mb4_unicode_ci&lt;br /&gt;
character_set_server = utf8mb4&lt;br /&gt;
max_heap_table_size = 32M&lt;br /&gt;
tmp_table_size      = 32M&lt;br /&gt;
join_buffer_size    = 62M&lt;br /&gt;
innodb_file_format  = Barracuda&lt;br /&gt;
innodb_large_prefix = 1&lt;br /&gt;
innodb_buffer_pool_size = 512M&lt;br /&gt;
innodb_flush_log_at_timeout = 3&lt;br /&gt;
innodb_read_io_threads  = 32&lt;br /&gt;
innodb_buffer_pool_instances = 1&lt;br /&gt;
innodb_io_capacity     = 5000&lt;br /&gt;
innodb_io_capacity_max = 10000&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
rc-service mariadb restart&lt;br /&gt;
&lt;br /&gt;
rc-update add mariadb default&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After those commands run the &amp;lt;code&amp;gt;mysql_secure_installation&amp;lt;/code&amp;gt; script, and answer as follows:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Enter current password for root (for none, enter):&#039;&#039;&#039; it must be provided because we&#039;ve set it previously. Correct response is &amp;lt;code&amp;gt;OK, successfully used password, moving on...&amp;lt;/code&amp;gt;&lt;br /&gt;
#  &#039;&#039;&#039;Switch to unix_socket authentication [Y/n]&#039;&#039;&#039; Not used. Must be disabled, &#039;&#039;&#039;answer NO&#039;&#039;&#039;, the response will be &amp;lt;code&amp;gt;... skipping.&amp;lt;/code&amp;gt;&lt;br /&gt;
# &#039;&#039;&#039;Change the root password? [Y/n]&#039;&#039;&#039; Press &amp;quot;n&amp;quot; only if you provided a good password, otherwise change it!&lt;br /&gt;
# &#039;&#039;&#039;Remove anonymous users? [Y/n]&#039;&#039;&#039; In a &#039;&#039;&#039;production system, we must remove them, so answer Y&#039;&#039;&#039; the correct response is &amp;lt;code&amp;gt;... Success!&amp;lt;/code&amp;gt;.&lt;br /&gt;
# &#039;&#039;&#039;Disallow root login remotely? [Y/n]&#039;&#039;&#039; Answer Y&#039;&#039;&#039; proper response is &amp;lt;code&amp;gt;... Success!&amp;lt;/code&amp;gt;.&lt;br /&gt;
# &#039;&#039;&#039;Remove test database and access to it? [Y/n]&#039;&#039;&#039; You should removed it, so answer Y&#039;&#039;&#039; the proper response is &amp;lt;code&amp;gt;... Success!&amp;lt;/code&amp;gt;.&lt;br /&gt;
# &#039;&#039;&#039;Reload privilege tables now? [Y/n]&#039;&#039;&#039; Aanswer Y&#039;&#039;&#039; proper response is &amp;lt;code&amp;gt;... Success!&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
After you respond to all of the questions, restart the service with &amp;lt;code&amp;gt;rc-service mariadb restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The tools: net-snmp and rrdtool ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Warning|do no set &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;agentAddress tcp:161,tcp6:[::1]:161&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, by default the package adds the udp 161 protocol, so if you set it, it will only listen and show info using ipv6 only}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apk add net-snmp net-snmp-tools rrdtool&lt;br /&gt;
&lt;br /&gt;
cat &amp;gt; /etc/snmp/snmpd.conf &amp;lt;&amp;lt; EOF&lt;br /&gt;
view systemonly included .1.3.6.1.2.1.1&lt;br /&gt;
view systemonly included .1.3.6.1.2.1.25.1&lt;br /&gt;
rocommunity  public localhost&lt;br /&gt;
rocommunity  public default -V systemonly&lt;br /&gt;
sysLocation    Bolivar Upata Venezuela&lt;br /&gt;
sysContact     infoadmin &amp;lt;info@pacificnetwork.com&amp;gt;&lt;br /&gt;
sysServices    72&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
rc-update add snmpd default&lt;br /&gt;
&lt;br /&gt;
rc-service snmpd restart&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we need only the commands for cacti. For more info about the topic see:&lt;br /&gt;
&lt;br /&gt;
* [[Setting_up_traffic_monitoring_using_rrdtool_(and_snmp)]]&lt;br /&gt;
* [[Setting_up_monitoring_using_rrdtool_(and_rrdcollect)]]&lt;br /&gt;
* [[Setting_up_A_Network_Monitoring_and_Inventory_System]]&lt;br /&gt;
&lt;br /&gt;
== Cacti Installation ==&lt;br /&gt;
&lt;br /&gt;
As of Alpine 3.12, Cacti still is in the edge branch, so first we pre-install the dependency packages. Afterward, from edge, we install only cacti.&lt;br /&gt;
&lt;br /&gt;
=== Installing Cacti Packages ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|As of Alpine 3.5, Cacti was a only one package, i.e. &amp;quot;cacti&amp;quot;. Beginning with Alpine 3.6, The cacti package is split into more than obe package. The commit that mess all is where a specific pool for php-fpm is made for cacti. It&#039;s a mess because it&#039;s not documented. We must avoid and ignore it if we are to properly configure the general pool:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
cat &amp;gt; /etc/apk/repositories &amp;lt;&amp;lt; EOF&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d&#039;.&#039; -f1,2)/main&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d&#039;.&#039; -f1,2)/community&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
apk update&lt;br /&gt;
&lt;br /&gt;
apk add bash busybox coreutils net-snmp-tools perl rrdtool ttf-dejavu php7-snmp&lt;br /&gt;
&lt;br /&gt;
apk add cacti cacti-setup cacti-php7 cacti-lang&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cacti pre Configuration ==&lt;br /&gt;
&lt;br /&gt;
Cacti is run under the cacti user. We temporally set the file permissions to world writeable, then later, we&#039;ll set them correctly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
cat &amp;gt; /etc/lighttpd/mod_cacti.conf &amp;lt;&amp;lt; EOF&lt;br /&gt;
alias.url += (&lt;br /&gt;
     &amp;quot;/cacti/&amp;quot;	    =&amp;gt;    &amp;quot;/usr/share/webapps/cacti/&amp;quot;&lt;br /&gt;
)&lt;br /&gt;
\$HTTP[&amp;quot;url&amp;quot;] =~ &amp;quot;^/cacti/&amp;quot; {&lt;br /&gt;
    dir-listing.activate = &amp;quot;disable&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;s#\#.*mod_alias.*,.*#    &amp;quot;mod_alias&amp;quot;,#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
sed -i -r &#039;s#\#.*mod_accesslog.*,.*#    &amp;quot;mod_accesslog&amp;quot;,#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
sed -i -r &#039;s#\#.*mod_setenv.*,.*#    &amp;quot;mod_setenv&amp;quot;,#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;s#.*include &amp;quot;mod_cgi.conf&amp;quot;.*#   include &amp;quot;mod_cgi.conf&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
checkssl=&amp;quot;&amp;quot;;checkssl=$(grep &#039;include &amp;quot;mod_cacti.conf&#039; /etc/lighttpd/lighttpd.conf);[[ &amp;quot;$checkssl&amp;quot; != &amp;quot;&amp;quot; ]] &amp;amp;&amp;amp; echo listo || sed -i -r &#039;s#.*include &amp;quot;mod_cgi.conf&amp;quot;.*#include &amp;quot;mod_cgi.conf&amp;quot;\ninclude &amp;quot;mod_cacti.conf&amp;quot;#g&#039; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
rc-service lighttpd restart&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cacti runs under the cacti user, but web server user (apache2, lighttpd) also needs access. So enable group access and as we said, temporally set world-writeable file permissions permissions:&lt;br /&gt;
&lt;br /&gt;
# grant temporary access to the web server&lt;br /&gt;
# Create the cacti database and populate it&lt;br /&gt;
# Grant Cacti MySQL user access (give it a more secure password):&lt;br /&gt;
# Quit from Mysql command prompt:&lt;br /&gt;
# Import the initial Cacti MySQL database&lt;br /&gt;
# set the user, password, and database name to the cacti config file&lt;br /&gt;
# temporarily grant world-write permission to the cacti log and lib directories&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
chown -R cacti:lighttpd /usr/share/webapps/cacti/;chown -R cacti:lighttpd /var/lib/cacti/&lt;br /&gt;
&lt;br /&gt;
mysql -u root -p -e &amp;quot;CREATE DATABASE cacti;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mysql -u root -p -e &amp;quot;GRANT ALL ON cacti.* TO &#039;cactiuser&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;cactipassword&#039;;FLUSH PRIVILEGES;&lt;br /&gt;
&lt;br /&gt;
mysql -u root -p -e &amp;quot;GRANT GRANT OPTION ON cacti.* TO &#039;cactiuser&#039;@&#039;localhost&#039;;FLUSH PRIVILEGES;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mysql -u root -p -e &amp;quot;GRANT SELECT ON mysql.time_zone_name TO &#039;cactiuser&#039;@&#039;localhost&#039;;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mysql --user=cactiuser -p cactipassword cacti &amp;lt; /usr/share/webapps/cacti/cacti.sql&lt;br /&gt;
&lt;br /&gt;
sed -i -r &#039;s#\$database_default.*=.*;#\$database_default  = &#039;cacti&#039;;#g&#039; /etc/cacti/config.php&lt;br /&gt;
sed -i -r &#039;s#\$database_username.*=.*;#\$database_username  = &#039;cactiuser&#039;;#g&#039; /etc/cacti/config.php&lt;br /&gt;
sed -i -r &#039;s#\$database_password.*=.*;#\$database_password  = &#039;cactipassword&#039;;#g&#039; /etc/cacti/config.php&lt;br /&gt;
&lt;br /&gt;
chmod 777 /var/log/cacti&lt;br /&gt;
chmod 666 /var/log/cacti/*.log&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cacti web setup install ===&lt;br /&gt;
&lt;br /&gt;
Login using:&lt;br /&gt;
 Password= admin user= admin&lt;br /&gt;
Next will be prompted to change password:&lt;br /&gt;
 change password.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the web page click:&lt;br /&gt;
: -&amp;gt; Next&lt;br /&gt;
Then select new install if+ it&#039;s not selected:&lt;br /&gt;
: -&amp;gt; New install, Next&lt;br /&gt;
&lt;br /&gt;
{{Warning|take note since cacti 1.2.8 and still at cacti 1.2.10, installer have several errors for &amp;lt;code&amp;gt;Cacti_Stats.xml.gz&amp;lt;/code&amp;gt; template, so last &amp;quot;check&amp;quot; has no description. You must uncheck last as described here: https://github.com/Cacti/cacti/issues/3313#issuecomment-594114681 Th template can be installed later via the cli as: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;php -d max_execution_time=90 /usr/share/webapps/cacti/cli/import_package.php&lt;br /&gt;
 --filename=Cacti_Stats.xml.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; under the templates directory of the cacti install, but currently it hangs and never gets installed. Reported at https://github.com/Cacti/cacti/issues/3313#issuecomment-601508135 }}&lt;br /&gt;
&lt;br /&gt;
Then finish&lt;br /&gt;
: -&amp;gt; Finish&lt;br /&gt;
Add to crontab:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cacti post configuration ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
chmod 775 /var/log/cacti&lt;br /&gt;
chmod 664 /var/log/cacti/*.log&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pooler and crontab ===&lt;br /&gt;
&lt;br /&gt;
As we said, cacti needs a crontab for pool collection of data! These steps are not necesary as of Alpine 3.7 because the cacti package installs all necesary files.&lt;br /&gt;
&lt;br /&gt;
{{Note|These steps are only for older cacti packages up to Alpine version 3.6. Starting with version 3.7, cacti packages install a crontab for data collection}}&lt;br /&gt;
&lt;br /&gt;
 cd /etc/crontabs&lt;br /&gt;
 vi root&lt;br /&gt;
copy to the end of the file:&lt;br /&gt;
 */5 * * * * lighttpd php /var/www/localhost/htdocs/cacti/poller.php &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
In case you are using another web server, you have to modify the &amp;quot;lighttpd&amp;quot; user.&lt;br /&gt;
 */5 * * * * &amp;quot;web server user&amp;quot; php /var/www/localhost/htdocs/cacti/poller.php &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Add your devices and you&#039;re ready to start monitoring!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== cacti plugins ===&lt;br /&gt;
&lt;br /&gt;
If you used the latest cacti, you must use the latest development version of each plugin especially if you&#039;re using php7 on your webserver:&lt;br /&gt;
&lt;br /&gt;
00&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
cd /usr/share/webapps/cacti/plugins/&lt;br /&gt;
&lt;br /&gt;
wget https://github.com/Cacti/plugin_mikrotik/archive/master.tar.gz -O cacti-1.2.11-plugin-monitor.tar.gz&lt;br /&gt;
wget https://github.com/Cacti/plugin_gexport/archive/master.tar.gz -O cacti-1.2.11-plugin-gexport.tar.gz&lt;br /&gt;
wget https://github.com/Cacti/plugin_routerconfigs/archive/master.tar.gz -O cacti-1.2.11-plugin-routerconfigs.tar.g&lt;br /&gt;
wget https://github.com/Cacti/plugin_monitor/archive/master.tar.gz cacti-1.2.11-plugin-reportit.tar.gz&lt;br /&gt;
wget https://github.com/Cacti/plugin_reportit/archive/master.tar.gz -O cacti-1.2.11-plugin-reportit.tar.gz&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After extract all of the files, change and fix permissions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
cd /usr/share/webapps/cacti/plugins/&lt;br /&gt;
&lt;br /&gt;
chown -R cacti:lighttpd /usr/share/webapps/cacti/&lt;br /&gt;
&lt;br /&gt;
chown -R cacti:lighttpd /var/lib/cacti/&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Go to cacti configuration and plugins via the web interface to install and enable all of them.&lt;br /&gt;
&lt;br /&gt;
== Re-installing Cacti ==&lt;br /&gt;
&lt;br /&gt;
Let&#039;s suppose you make a mess of everything and want to reinstall all of it from the beginning. Let&#039;s get started:&lt;br /&gt;
&lt;br /&gt;
=== Erase everything cacti related ===&lt;br /&gt;
&lt;br /&gt;
# remove istalled packages&lt;br /&gt;
# remove configuration files&lt;br /&gt;
# remove databases and users from mysql/postgresql (here only mysql for example)&lt;br /&gt;
# reconfigure to not load the cacti web server configuration&lt;br /&gt;
# restart services because the cacti pool was erased and lighttpd must reload its config files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apk del cacti cacti-setup cacti-php7 cacti-lang&lt;br /&gt;
&lt;br /&gt;
rm -rf /var/log/cacti&lt;br /&gt;
&lt;br /&gt;
rm -rf /usr/share/webapps/cacti&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/cacti&lt;br /&gt;
&lt;br /&gt;
mysql -u root -p -e &amp;quot;DROP DATABASE cacti;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mysql -u root -p -e &amp;quot;DROP USER &#039;cactiuser&#039;@&#039;localhost&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
sed -i &amp;quot;/include \&amp;quot;mod_cacti.conf\&amp;quot;/d&amp;quot; /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
rc-service php-fpm7 restart&lt;br /&gt;
&lt;br /&gt;
rc-service lighttpd restart&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After you complete all of these steps, repeat all the steps from [[Cacti:_traffic_analysis_and_monitoring_network#Cacti_Installation|Cacti_Installation section]].&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:Web_Server]]&lt;br /&gt;
[[Category:PHP]]&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Security]]&lt;br /&gt;
[[Category:Production]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Enable_Community_Repository&amp;diff=21389</id>
		<title>Enable Community Repository</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Enable_Community_Repository&amp;diff=21389"/>
		<updated>2022-01-06T13:42:21Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Alpine software repositories have main packages and contributions made. Each Alpine release has two branches of repositories. The &#039;&#039;&#039;/community&#039;&#039;&#039; repository of each Alpine release contains community supported packages that were accepted from the &#039;&#039;&#039;/testing&#039;&#039;&#039; repository. Only &#039;&#039;&#039;/main&#039;&#039;&#039; repository of each version of Alpine release are supported for some Main Alpine Developers and Man Powers.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Main packages&#039;&#039;&#039; are the Alpine package software that have direct support and updates from the Alpine core and main team, also have official documentation. Are always available for all releases and will have substitutions if some are not continued from upstream. Commonly those packages are selected due their responsibility and stability respecting upstream availability. Packages from &#039;&#039;testing&#039;&#039; that performs well or are mature goes to &#039;&#039;main&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Community packages&#039;&#039;&#039; are those made by users in team with the official developers and well near integrated to the Alpine packages. Those have supported by those user contributions and could end if the user also ends respect with Alpine work, but may be removed in a future release due lack of support by upstream author. Packages from &#039;&#039;testing&#039;&#039; that are accept goes to &#039;&#039;community&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Testing&#039;&#039;&#039; packages come into testing or edge repositories and are those made by any contributor on Alpine, the edge, this branch of repository has no release linked or related of Alpine. Those are in &#039;&#039;edge&#039;&#039; and when accepted goes to &#039;&#039;testing&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Using community repositories ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;community&#039;&#039;&#039; repository was introduced with Alpine Linux version 3.3.&lt;br /&gt;
&lt;br /&gt;
To enable the repository, edit the file {{Path|/etc/apk/repositories}} and add (or uncomment) a line that points to the &amp;quot;community&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Its format is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;https://&amp;lt;mirror-server&amp;gt;/alpine/&amp;lt;version&amp;gt;/community&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Tip|A usable editor is {{Pkg|nano}}, and it can be installed with &amp;lt;code&amp;gt;apk add nano&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
After enabling the community repository, one needs to update the index of available packages with:&lt;br /&gt;
{{Cmd|apk update}}&lt;br /&gt;
And then it&#039;s possible to install packages from the community repository.&lt;br /&gt;
&lt;br /&gt;
=== Adding community repositories with a script ===&lt;br /&gt;
&lt;br /&gt;
The following commands will add the main and community repositories for the Alpine version you&#039;re using. It will overwrite your existing repository settings.&lt;br /&gt;
&lt;br /&gt;
{{cmd|cat &amp;gt; /etc/apk/repositories &amp;lt;&amp;lt; EOF; $(echo)&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d&#039;.&#039; -f1,2)/main&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d&#039;.&#039; -f1,2)/community&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/edge/testing&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Dont forget to run this after:.&lt;br /&gt;
{{Cmd|apk update}}&lt;br /&gt;
&lt;br /&gt;
== Using specific package versions ==&lt;br /&gt;
&lt;br /&gt;
You can specify or pin &amp;quot;sticky&amp;quot; package versions like this:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;apk add packagename=1.2.3-suffix&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;apk add &#039;packagename&amp;lt;1.2.3-suffix&#039;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That will upgrade these packages only until the specified version.&lt;br /&gt;
&lt;br /&gt;
It&#039;s then safe to use &amp;lt;code&amp;gt;apk upgrade&amp;lt;/code&amp;gt; to upgrade all packages, while packages with versions will remain on the specified version.&lt;br /&gt;
&lt;br /&gt;
To set a minimum version just add &amp;lt;code&amp;gt;…&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Warning|Pinning a package to an exact version carries the risk that the package will be dropped from the repo, and at some time can&#039;t be downloaded anymore (e.g. during boot or Dockerfile build).&lt;br /&gt;
&lt;br /&gt;
The official recommendation can be read here, citation below.&lt;br /&gt;
 Alternately, you could simply set a minimum package version&lt;br /&gt;
 instead of an exact version.&lt;br /&gt;
 &lt;br /&gt;
 We don&#039;t at the moment have resources to store all built packages&lt;br /&gt;
 indefinitely in our infrastructure. Thus we currently keep only&lt;br /&gt;
 the latest for each stable branch.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Using testing repositories ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;testing&#039;&#039;&#039; repository was introduced with Alpine Linux edge development. To enable the repository, edit the file {{Path|/etc/apk/repositories}} using an editor ({{Pkg|nano}} for instance) and add a line that points to the &amp;quot;testing&amp;quot; directory, formatted as in:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;https://&amp;lt;mirror-server&amp;gt;/alpine/edge/testing&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After enabling the testing repository, one needs to obtain the latest index of available packages with:&lt;br /&gt;
{{Cmd|apk update}}&lt;br /&gt;
&lt;br /&gt;
Inexperienced users should not enable this.&lt;br /&gt;
&lt;br /&gt;
=== Using packages from testing (edge) ===&lt;br /&gt;
&lt;br /&gt;
Never pin packages from the &amp;quot;edge&amp;quot; branch of the alpine package repo, as these are in test and may be revoked. (At pkgs.alpinelinux.org/packages, click &amp;quot;edge&amp;quot; and change it to the alpine image version you use, and click &amp;quot;search&amp;quot; again.)&lt;br /&gt;
&lt;br /&gt;
Inexperienced users should not enable this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
[[Category:Package Manager]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Linux:Overview&amp;diff=21388</id>
		<title>Alpine Linux:Overview</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Linux:Overview&amp;diff=21388"/>
		<updated>2022-01-06T13:41:46Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Alpine uses [http://musl-libc.org/ muslc] as libc, and [https://en.wikipedia.org/wiki/BusyBox BusyBox] as core utilities. These choices tend to make Alpine especially minimalist and secure. &lt;br /&gt;
&lt;br /&gt;
== General overview ==&lt;br /&gt;
&lt;br /&gt;
Alpine Linux has one of the &#039;&#039;&#039;fastest boot times&#039;&#039;&#039; of any operating system.&lt;br /&gt;
&lt;br /&gt;
Famous because of its small size, it&#039;s &#039;&#039;&#039;heavily used in containers&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Also well know for &#039;&#039;&#039;wide use in embedded devices&#039;&#039;&#039; and as a &#039;&#039;&#039;base system for many enterprise routers&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The postmarketOS project which is designed to run on mobile devices is based on Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
=== Distinctive ===&lt;br /&gt;
&lt;br /&gt;
Alpine Linux follows the principles of &#039;&#039;&#039;the SSS distro: Simple+Small+Secure&#039;&#039;&#039;: due to usage of [http://musl-libc.org/ muslc] as the minimalist libc, BusyBox simple coreutils (with possibilities to alternate on inflated original packages of each coreutils tools also) and userland binaries compiled as Position Independent Executables (PIE) with stack smashing protection.&lt;br /&gt;
&lt;br /&gt;
=== Efficient ===&lt;br /&gt;
&lt;br /&gt;
Some main reasons:&lt;br /&gt;
&lt;br /&gt;
# Usage of [http://musl-libc.org/ muslc] as the minimalist libc&lt;br /&gt;
# Its own package manager called {{Pkg|apk}}, &lt;br /&gt;
# the {{Pkg|openrc}} init system, script driven set-ups and that’s it!&lt;br /&gt;
# {{Pkg|busybox}} simple coreutils (with possibilities to alternate on inflated original packages of each coreutils tools also)&lt;br /&gt;
&lt;br /&gt;
This provides you with a simple, &#039;&#039;&#039;crystal-clear Linux environment without all the noise&#039;&#039;&#039;, nothing else will get in the way.&lt;br /&gt;
&lt;br /&gt;
=== Secure ===&lt;br /&gt;
&lt;br /&gt;
All userland binaries are compiled as Position Independent Executables (PIE) with stack smashing protection.&lt;br /&gt;
&lt;br /&gt;
== Technical overview ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The OS design&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Alpine uses &#039;&#039;&#039;Linux&#039;&#039;&#039; as OS kernel, and their focus are &#039;&#039;&#039;SSS distribution, Simple Small and Secure&#039;&#039;&#039;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;A variety of architectures are officially supports:&lt;br /&gt;
* &#039;&#039;&#039;x86_64&#039;&#039;&#039;: The popular AMD64 compatible 64-bit x86 based machines, i386 are not recommended for newer/lasted hardware.&lt;br /&gt;
* &#039;&#039;&#039;x86&#039;&#039;&#039;: (i386 pc 32bit) and x86_64 (i686 pc 64bit and amd64)&lt;br /&gt;
* &#039;&#039;&#039;armhf&#039;&#039;&#039;: The newer ARM hard-float for newer, more powerful 32-bit devices alongside 64-bit&lt;br /&gt;
* &#039;&#039;&#039;armv7&#039;&#039;&#039;: The 32-bit ARM only execution state of the ARMv7 devices machines.&lt;br /&gt;
* &#039;&#039;&#039;aarch64&#039;&#039;&#039;: The 64-bit ARM only execution state of the ARMv8 device machines.&lt;br /&gt;
* &#039;&#039;&#039;ppc64le&#039;&#039;&#039;: For 64-bit PowerPC devices with pure little-endian mode, mostly for POWER8 and POWER9.&lt;br /&gt;
* &#039;&#039;&#039;s390x&#039;&#039;&#039;: For IBM Z mainframes, especially IBM Z and IBM LinuxONE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;It can be installed to a hard disk/SSD/other storage medium like any other distro; (sys mode). The storage medium in question can be any block device (USB, Flash, SDD, HDD). Always in start, the base Alpine system and all your changes will be unpacked into a memory-based filesystem. If run some install script process (data mode) will keep your setup on a hard disk/SSD/other storage medium, rather than unpacking into memory. The default setup here is to store your /var partition directly on the hard storage medium. But as in the diskless mode, your root system still comes from a static ISO image. &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The installation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;In Alpine&#039;s case, &#039;&#039;&#039;the installer consists of the {{Path|/sbin/setup-*}} scripts&#039;&#039;&#039;, which are also part of the {{Pkg|alpine-conf}} package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;&#039;A base Alpine install will include only needed packages&#039;&#039;&#039; such like {{Pkg|alpine-base}}, {{Pkg|syslinux}}, {{Pkg|linux-lts}} (or another kernel package), and depending of purpose some like {{Pkg|openssh}}/{{Pkg|chrony}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Alpine&#039;s boot loader case this is {{Pkg|syslinux}}, or its companions &amp;lt;code&amp;gt;isolinux&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;extlinux&amp;lt;/code&amp;gt;. Lasted releases has Grub and [[Alpine and UEFI|UEFI support]].&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The init system&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;An &amp;quot;init system&amp;quot; includes several different components. First, there is the initramfs loaded by the bootloader. Alpine&#039;s tool for generating these is {{Path|/sbin/mkinitfs}}, part of the {{Pkg|mkinitfs}} package, which is required by Alpine&#039;s kernel packages and by its {{Pkg|syslinux}} package. This tool&#039;s settings are read from {{Path|/etc/mkinitfs/*}}, and it installs the initscript {{Path|/usr/share/mkinitfs/initramfs-init}} into the initramfs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Second, Alpine uses [[Alpine Linux Init System|OpenRC]] to handle the rest of its initscripts. The base framework of this is in the {{Pkg|openrc}} package, which is required by {{Pkg|alpine-conf}}.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The packaging and development system&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The last important distinguishing feature of a Linux distro is its packaging and development systems.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;In Alpine&#039;s case, these are something a hybrid between [https://www.archlinux.org/ ArchLinux]&#039;s, on the one hand, and [http://www.gentoo.org/ Gentoo] and [http://www.freebsd.org/ FreeBSD]&#039;s, on the other. Our package-management and build utilities work much like Arch&#039;s:&lt;br /&gt;
&lt;br /&gt;
* {{Pkg|mkinitfs}}, mentioned above, rebuilds Alpine&#039;s initramfs, like Arch&#039;s &amp;quot;mkinitcpio&amp;quot;&lt;br /&gt;
* &#039;&#039;&#039;apk&#039;&#039;&#039; from {{Pkg|apk-tools}} is Alpine&#039;s package manager, like Arch&#039;s &amp;quot;pacman&amp;quot;; see [[Alpine Linux package management]]&lt;br /&gt;
* {{Pkg|abuild}} is Alpine&#039;s build utility, like Arch&#039;s &amp;quot;makepkg&amp;quot;; see [[Abuild and Helpers]]&lt;br /&gt;
* Alpine&#039;s package-building scripts are named APKBUILD, like Arch&#039;s &amp;quot;PKGBUILD&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;What Alpine borrows from Gentoo and FreeBSD is a tree of all the package-building scripts. We call this our [[Aports tree]], and we keep it as a git repository. (Compare Gentoo&#039;s &amp;quot;Portage&amp;quot; and FreeBSD&#039;s &amp;quot;ports&amp;quot;. You can setup something similar with Arch&#039;s &amp;quot;abs&amp;quot;, but it&#039;s not as tightly integrated with their package manager and build utilities.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;If you&#039;re only planning to install packages on a given system, and not do any development there, then the only pieces of this you&#039;ll need are {{Pkg|mkinitfs}} and {{Pkg|apk-tools}}, both included in a base Alpine install. If you do plan to do development, install {{Pkg|alpine-sdk}}, which includes gcc, git, abuild, and the like, and see [[Developer Documentation]].&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
* [[Comparison with other distros]]&lt;br /&gt;
* [[Tutorials and Howtos]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_configuration_management_scripts&amp;diff=21387</id>
		<title>Alpine configuration management scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_configuration_management_scripts&amp;diff=21387"/>
		<updated>2022-01-06T13:39:47Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Feature descriptions for available Alpine Linux setup scripts ({{Path|/sbin/setup-*}}).&lt;br /&gt;
&lt;br /&gt;
These scripts can be installed from alpine-conf package using apk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== setup-alpine ==&lt;br /&gt;
&lt;br /&gt;
This is the main Alpine configuration and installation script.&lt;br /&gt;
&lt;br /&gt;
The script interactively walks the user through executing several auxiliary &amp;lt;code&amp;gt;setup-*&amp;lt;/code&amp;gt; scripts, in the order shown below.&lt;br /&gt;
&lt;br /&gt;
The bracketed options represent example configuration choices, formatted as they may be supplied when manually calling the auxiliary setup scripts, or using a &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; &amp;quot;answerfile&amp;quot; (see below).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;setup-keymap&amp;lt;/code&amp;gt; [us us]&lt;br /&gt;
# [[#setup-hostname|setup-hostname]] [-n alpine-test]&lt;br /&gt;
# [[#setup-interfaces|setup-interfaces]] [-i &amp;lt; interfaces-file]&lt;br /&gt;
# &amp;lt;code&amp;gt;/etc/init.d/networking --quiet start &amp;amp;&amp;lt;/code&amp;gt;&lt;br /&gt;
# if none of the networking interfaces were configured using dhcp, then: &amp;lt;code&amp;gt;[[#setup-dns|setup-dns]]&amp;lt;/code&amp;gt; [-d example.com -n &amp;quot;192.168.0.1 [...]&amp;quot;]&lt;br /&gt;
# set the root password&lt;br /&gt;
# if not in quick mode, then: &amp;lt;code&amp;gt;[[#setup-timezone|setup-timezone]]&amp;lt;/code&amp;gt; [-z UTC | -z America/New_York | -p EST+5]&lt;br /&gt;
# enable the new hostname (&amp;lt;code&amp;gt;/etc/init.d/hostname --quiet restart&amp;lt;/code&amp;gt;)&lt;br /&gt;
# add &amp;lt;code&amp;gt;networking&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;urandom&amp;lt;/code&amp;gt; to the &#039;&#039;&#039;boot&#039;&#039;&#039; rc level, and &amp;lt;code&amp;gt;acpid&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;crond&amp;lt;/code&amp;gt; to the &#039;&#039;&#039;default&#039;&#039;&#039; rc level, and start the &#039;&#039;&#039;boot&#039;&#039;&#039; and &#039;&#039;&#039;default&#039;&#039;&#039; rc services&lt;br /&gt;
# extract the fully-qualified domain name and hostname from {{Path|/etc/resolv.conf}} and &amp;lt;code&amp;gt;hostname&amp;lt;/code&amp;gt;, and update {{Path|/etc/hosts}}&lt;br /&gt;
# &amp;lt;code&amp;gt;[[#setup-proxy|setup-proxy]]&amp;lt;/code&amp;gt; [-q &amp;lt;nowiki&amp;gt;&amp;quot;http://webproxy:8080&amp;quot;&amp;lt;/nowiki&amp;gt;], and activate proxy if it was configured&lt;br /&gt;
# &amp;lt;code&amp;gt;setup-apkrepos&amp;lt;/code&amp;gt; [-r (to select a mirror randomly)]&lt;br /&gt;
# if not in quick mode, then: &amp;lt;code&amp;gt;[[#setup-sshd|setup-sshd]]&amp;lt;/code&amp;gt; [-c openssh | dropbear | none]&lt;br /&gt;
# if not in quick mode, then: &amp;lt;code&amp;gt;setup-ntp&amp;lt;/code&amp;gt; [-c chrony | openntpd | busybox | none]&lt;br /&gt;
# if not in quick mode, then: &amp;lt;code&amp;gt;DEFAULT_DISK=none&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;[[#setup-disk|setup-disk]]&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt; [-m data /dev/sda] (see [[Installation#Installation_Overview]] about the disk modes)&lt;br /&gt;
# if installation mode selected during setup-disk was &amp;quot;data&amp;quot; instead of &amp;quot;sys&amp;quot;, then: &amp;lt;code&amp;gt;setup-lbu&amp;lt;/code&amp;gt; [/media/sdb1]&lt;br /&gt;
# if installation mode selected during setup-disk was &amp;quot;data&amp;quot; instead of &amp;quot;sys&amp;quot;, then: &amp;lt;code&amp;gt;setup-apkcache&amp;lt;/code&amp;gt; [/media/sdb1/cache | none]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; itself accepts the following command-line switches&lt;br /&gt;
&lt;br /&gt;
{{Define|-h|Shows the up-to-date usage help message.}}&lt;br /&gt;
&lt;br /&gt;
{{Define|-a|Create an overlay file: this creates a temporary directory and saves its location in ROOT; however, the script doesn&#039;t export this variable so I think this feature isn&#039;t currently functional.}}&lt;br /&gt;
;-c &amp;lt;var&amp;gt;answerfile&amp;lt;/var&amp;gt;&lt;br /&gt;
:Create a new &amp;quot;answerfile&amp;quot;, with default choices. You can edit the file and then invoke &amp;lt;code&amp;gt;setup-alpine -f &amp;lt;var&amp;gt;answerfile&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
;-f &amp;lt;var&amp;gt;answerfile&amp;lt;/var&amp;gt;&lt;br /&gt;
:Use an existing &amp;quot;answerfile&amp;quot;, which may override some or all of the interactive prompts.&lt;br /&gt;
{{Define|-q|Run in &amp;quot;quick mode&amp;quot;.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-hostname ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;setup-hostname&amp;lt;/code&amp;gt; [-h] [-n hostname]&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-h&#039;&#039;&#039; &amp;lt;var&amp;gt;Show help&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-n&#039;&#039;&#039; &amp;lt;var&amp;gt;Specify hostname&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script allows quick and easy setup of the system hostname by writing it to {{Path|/etc/hostname}}.  The script prevents you from writing an invalid hostname (such as one that used invalid characters or starts with a &#039;-&#039; or is too long).&lt;br /&gt;
The script can be invoked manually or is called as part of the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-interfaces ==&lt;br /&gt;
{{Cmd|setup-interfaces [-i &amp;amp;lt; &amp;lt;var&amp;gt;interfaces-file&amp;lt;/var&amp;gt;]}}&lt;br /&gt;
&lt;br /&gt;
Note that the contents of &amp;lt;var&amp;gt;interfaces-file&amp;lt;/var&amp;gt; has to be supplied as stdin, rather than naming the file as an additional argument. The contents should have the format of {{Path|/etc/network/interfaces}}, such as:&lt;br /&gt;
&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
     hostname alpine-test&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-dns ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;setup-dns&amp;lt;/code&amp;gt; [-h] [-d domain name] [-n name server]&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-h&#039;&#039;&#039; &amp;lt;var&amp;gt;Show help&amp;lt;/var&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-d&#039;&#039;&#039; &amp;lt;var&amp;gt;specify search domain name&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-n&#039;&#039;&#039; &amp;lt;var&amp;gt;name server IP&amp;lt;/var&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The setup-dns script is stored in {{Path|/sbin/setup-dns}} and allows quick and simple setup of DNS servers (and a DNS search domain if required).  Simply running &amp;lt;code&amp;gt;setup-dns&amp;lt;/code&amp;gt; will allow interactive use of the script, or the options can be specified.&lt;br /&gt;
&lt;br /&gt;
The information fed to this script is written to {{Path|/etc/resolv.conf}}&lt;br /&gt;
&lt;br /&gt;
Example usage (with 192.168.0.1 being the local router/dns-forwarder): {{Cmd|setup-dns -d example.org -n 192.168.0.1}}&lt;br /&gt;
&lt;br /&gt;
Example {{Path|/etc/resolv.conf}}:&lt;br /&gt;
&lt;br /&gt;
 search example.org&lt;br /&gt;
 nameserver 192.168.0.1&lt;br /&gt;
&lt;br /&gt;
It can be run manually but is also invoked in the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script unless interfaces are configured for DHCP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-timezone ==&lt;br /&gt;
:&amp;lt;code&amp;gt;setup-timezone&amp;lt;/code&amp;gt; [-z UTC | -z America/New_York | -p EST+5]&lt;br /&gt;
&lt;br /&gt;
Can pre-select the timezone using either of these switches:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-z&#039;&#039;&#039; &amp;lt;var&amp;gt;subfolder of&amp;lt;/var&amp;gt; {{Path|/usr/share/zoneinfo}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-p&#039;&#039;&#039; &amp;lt;var&amp;gt;POSIX TZ format&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-proxy ==&lt;br /&gt;
:&amp;lt;code&amp;gt;setup-proxy&amp;lt;/code&amp;gt; [-hq] [PROXYURL]&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-h&#039;&#039;&#039; &amp;lt;var&amp;gt;Show help&amp;lt;/var&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-q&#039;&#039;&#039; &amp;lt;var&amp;gt;Quiet mode&amp;lt;/var&amp;gt; prevents changes from taking effect until after reboot&lt;br /&gt;
&lt;br /&gt;
This script requests the system proxy to use in the form &amp;lt;code&amp;gt;http://&amp;lt;proxyurl&amp;gt;:&amp;lt;port&amp;gt;&amp;lt;/code&amp;gt; for example:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://10.0.0.1:8080&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To set no system proxy use &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt;.&lt;br /&gt;
This script exports the following environmental variables: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http_proxy=$proxyurl&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https_proxy=$proxyurl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ftp_proxy=$proxyurl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;code&amp;gt;$proxyurl&amp;lt;/code&amp;gt; is the value input.  &lt;br /&gt;
If &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt; was chosen then the value it is set to a blank value (and so no proxy is used).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-apkrepos ==&lt;br /&gt;
:&amp;lt;code&amp;gt;setup-apkrepos&amp;lt;/code&amp;gt; [-fhr] [REPO...]&lt;br /&gt;
&lt;br /&gt;
Setup &amp;lt;code&amp;gt;apk&amp;lt;/code&amp;gt; repositories.&lt;br /&gt;
&lt;br /&gt;
options:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-f&#039;&#039;&#039;  &amp;lt;var&amp;gt;Detect and add fastest mirror&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-r&#039;&#039;&#039;  &amp;lt;var&amp;gt;Add a random mirror and do not prompt&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-1&#039;&#039;&#039;  &amp;lt;var&amp;gt;Add first mirror on the list (normally a CDN)&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is run as part of the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-sshd ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;setup-sshd&amp;lt;/code&amp;gt; [-h] [-c choice of SSH daemon]&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-h&#039;&#039;&#039; &amp;lt;var&amp;gt;Show help&amp;lt;/var&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-c&#039;&#039;&#039; &amp;lt;var&amp;gt;SSH daemon&amp;lt;/var&amp;gt; where SSH daemon can be one of the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;openssh&amp;lt;/code&amp;gt; install the {{Pkg|openSSH}} daemon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dropbear&amp;lt;/code&amp;gt; install the {{Pkg|dropbear}} daemon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt; Do not install an SSH daemon&lt;br /&gt;
&lt;br /&gt;
Example usage: {{Cmd|setup-sshd -c dropbear}}&lt;br /&gt;
&lt;br /&gt;
The setup-sshd script is stored in {{Path|/sbin/setup-sshd}} and allows quick and simple setup of either the OpenSSH or Dropbear SSH daemon &amp;amp; client. &lt;br /&gt;
It can be run manually but is also invoked in the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-ntp ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;From [https://en.wikipedia.org/wiki/Network_Time_Protocol Wikipedia]&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Network Time Protocol (NTP)&#039;&#039;&#039; is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Cmd|usage: setup-ntp [-h] [-c choice of NTP daemon]&lt;br /&gt;
&lt;br /&gt;
Setup NTP time synchronization&lt;br /&gt;
&lt;br /&gt;
options:&lt;br /&gt;
 -h  Show this help&lt;br /&gt;
 -c  Choice of NTP daemon: busybox openntpd chrony none}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;setup-ntp&amp;lt;/code&amp;gt; script is stored in {{Path|/sbin/setup-ntp}} and allows quick and simple setup of the NTP client,&lt;br /&gt;
It can be run manually but is also invoked in the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-disk ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;DEFAULT_DISK=none setup-disk -q&amp;lt;/code&amp;gt; [-m data | sys] [&amp;lt;var&amp;gt;mountpoint directory&amp;lt;/var&amp;gt; | /dev/sda ...]&lt;br /&gt;
&lt;br /&gt;
In &amp;quot;sys&amp;quot; mode, it&#039;s an installer, it permanently installs Alpine on the disk, in &amp;quot;data&amp;quot; mode, it provides a larger and persistent /var volume.&lt;br /&gt;
&lt;br /&gt;
This script accepts the following command-line switches:&lt;br /&gt;
&lt;br /&gt;
;-k &amp;lt;var&amp;gt;kernel flavor&amp;lt;/var&amp;gt;&lt;br /&gt;
;-o &amp;lt;var&amp;gt;apkovl file&amp;lt;/var&amp;gt;&lt;br /&gt;
:Restore system from &amp;lt;var&amp;gt;apkovl file&amp;lt;/var&amp;gt;&lt;br /&gt;
;-m data | sys&lt;br /&gt;
:Don&#039;t prompt for installation mode. With &#039;&#039;&#039;-m data&#039;&#039;&#039;, the supplied devices are formatted to use as a {{Path|/var}} volume.&lt;br /&gt;
{{Define|-r|Use RAID1 with a single disk (degraded mode)}}&lt;br /&gt;
{{Define|-L|Create and use volumes in a LVM group}}&lt;br /&gt;
;-s &amp;lt;var&amp;gt;swap size in MB&amp;lt;/var&amp;gt;&lt;br /&gt;
:Use 0 to disable swap&lt;br /&gt;
{{Define|-q|Exit quietly if no disks are found}}&lt;br /&gt;
{{Define|-v|Verbose mode}}&lt;br /&gt;
&lt;br /&gt;
The script also honors the following environment variables:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;BOOT_SIZE&amp;lt;/code&amp;gt;&lt;br /&gt;
:Size of the boot partition in MB; defaults to 100. Only used if &#039;&#039;&#039;-m sys&#039;&#039;&#039; is specified or interactively selected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SWAP_SIZE&amp;lt;/code&amp;gt;&lt;br /&gt;
:Size of the swap volume in MB; set to 0 to disable swap. If not specified, will default to twice RAM, up to 4096, but won&#039;t be more than 1/3 the size of the smallest disk, and if less than 64 will just be 0. Only used if &#039;&#039;&#039;-m sys&#039;&#039;&#039; is specified or interactively selected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ROOTFS&amp;lt;/code&amp;gt;&lt;br /&gt;
:Filesystem to use for the / volume; defaults to ext4. Only used if &#039;&#039;&#039;-m sys&#039;&#039;&#039; is specified or interactively selected. Supported filesystems are: ext2 ext3 ext4 [[Btrfs|btrfs]] xfs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;BOOTFS&amp;lt;/code&amp;gt;&lt;br /&gt;
:Filesystem to use for the /boot volume; defaults to ext4. Only used if &#039;&#039;&#039;-m sys&#039;&#039;&#039; is specified or interactively selected. Supported filesystems are: ext2 ext3 ext4 [[Btrfs|btrfs]] xfs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;VARFS&amp;lt;/code&amp;gt;&lt;br /&gt;
:Filesystem to use for the /var volume; defaults to ext4. Only used if &#039;&#039;&#039;-m data&#039;&#039;&#039; is specified or interactively selected. Supported filesystems are: ext2 ext3 ext4 [[Btrfs|btrfs]] xfs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SYSROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
:Mountpoint to use when creating volumes and doing traditional disk install (&#039;&#039;&#039;-m sys&#039;&#039;&#039;). Defaults to {{Path|/mnt}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;MBR&amp;lt;/code&amp;gt;&lt;br /&gt;
:Path of MBR binary code, defaults to {{Path|/usr/share/syslinux/mbr.bin}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;BOOTLOADER&amp;lt;/code&amp;gt;&lt;br /&gt;
:Bootloader to use, defaults to syslinux. Supported bootloaders are: grub syslinux zipl.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISKLABEL&amp;lt;/code&amp;gt;&lt;br /&gt;
:Disklabel to use, defaults to dos. Supported disklabels are: dos gpt eckd.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Writes to /tmp/ovlfiles, /tmp/alpine-install-diskmode.out, and /tmp/sfdisk.out but that never seems to be used elsewhere. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Partitioning ===&lt;br /&gt;
&lt;br /&gt;
If you have complex partitioning needs, that go beyond above alpine-disk options, you can partition, format, and mount your volumes manually, and then just supply the root mountpoint to &amp;lt;code&amp;gt;setup-disk&amp;lt;/code&amp;gt;. Doing so implicitly behaves as though &#039;&#039;&#039;-m sys&#039;&#039;&#039; had also been specified.&lt;br /&gt;
&lt;br /&gt;
See [[Setting up disks manually]] for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RAID ====&lt;br /&gt;
&amp;lt;code&amp;gt;setup-disk&amp;lt;/code&amp;gt; will automatically build a RAID array if you supply the &#039;&#039;&#039;-r&#039;&#039;&#039; switch, or if you specify more than one device. The array will always be [https://en.m.wikipedia.org/wiki/Standard_RAID_levels#RAID_1 RAID1] (and [https://raid.wiki.kernel.org/index.php/RAID_superblock_formats#The_version-0.90_Superblock_Format --metadata=0.90]) for the /boot volumes, but will be [https://en.m.wikipedia.org/wiki/Standard_RAID_levels#RAID_5 RAID5] (and [https://raid.wiki.kernel.org/index.php/RAID_superblock_formats#The_version-1_Superblock_Format --metadata=1.2] for non-boot volumes when 3 or more devices are supplied.&lt;br /&gt;
&lt;br /&gt;
If you instead want to build your RAID array manually, see [[Setting up a software RAID array]]. Then format and mount the disks, and supply the root mountpoint to &amp;lt;code&amp;gt;setup-disk&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== LVM ====&lt;br /&gt;
&amp;lt;code&amp;gt;setup-disk&amp;lt;/code&amp;gt; will automatically build and use volumes in a LVM group if you supply the &#039;&#039;&#039;-L&#039;&#039;&#039; switch. The group and volumes created by the script will have the following names:&lt;br /&gt;
&lt;br /&gt;
* volume group: &#039;&#039;&#039;vg0&#039;&#039;&#039;&lt;br /&gt;
* swap volume: &#039;&#039;&#039;lv_swap&#039;&#039;&#039; (only created when swap size &amp;gt; 0)&lt;br /&gt;
* root volume: &#039;&#039;&#039;lv_root&#039;&#039;&#039; (only created when &#039;&#039;&#039;-m sys&#039;&#039;&#039; is specified or interactively selected)&lt;br /&gt;
* var volume: &#039;&#039;&#039;lv_var&#039;&#039;&#039; (only created when &#039;&#039;&#039;-m data&#039;&#039;&#039; is specified or interactively selected)&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;lv_var&#039;&#039;&#039; or &#039;&#039;&#039;lv_root&#039;&#039;&#039; volumes are created to occupy all remaining space in the volume group.&lt;br /&gt;
&lt;br /&gt;
If you need to change any of these settings, you can use &amp;lt;code&amp;gt;vgrename&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;lvrename&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;lvreduce&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lvresize&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you instead want to build your LVM system manually, see [[Setting up Logical Volumes with LVM]]. Then format and mount the disks, and supply the root mountpoint to &amp;lt;code&amp;gt;setup-disk&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=Setup-Disk Usage=&lt;br /&gt;
&lt;br /&gt;
usage: setup-disk [-hqr] [-k kernelflavor] [-m MODE] [-o apkovl] [-s SWAPSIZE]&lt;br /&gt;
		  [MOUNTPOINT | DISKDEV...]&lt;br /&gt;
&lt;br /&gt;
Install alpine on harddisk.&lt;br /&gt;
&lt;br /&gt;
If MOUNTPOINT is specified, then do a traditional disk install with MOUNTPOINT&lt;br /&gt;
as root.&lt;br /&gt;
&lt;br /&gt;
If DISKDEV is specified, then use the specified disk(s) without asking. If&lt;br /&gt;
multiple disks are specified then set them up in a RAID array. If there are&lt;br /&gt;
mode than 2 disks, then use raid level 5 instead of raid level 1.&lt;br /&gt;
&lt;br /&gt;
options:&lt;br /&gt;
 -h  Show this help&lt;br /&gt;
 -m  Use disk for MODE without asking, where MODE is either &#039;data&#039; or &#039;root&#039;&lt;br /&gt;
 -o  Restore system from given apkovl file&lt;br /&gt;
 -k  Use kernelflavor instead of $KERNEL_FLAVOR&lt;br /&gt;
 -L  Use LVM to manage partitions&lt;br /&gt;
 -q  Exit quietly if no disks are found&lt;br /&gt;
 -r  Enable software RAID1 with single disk&lt;br /&gt;
 -s  Use SWAPSIZE MB instead of $SWAP_SIZE MB for swap (Use 0 to disable swap)&lt;br /&gt;
 -v  Be more verbose about what is happening&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Disk Install Styles==&lt;br /&gt;
&lt;br /&gt;
You can select between &#039;sys&#039; or &#039;data&#039;.&lt;br /&gt;
&lt;br /&gt;
sys:&lt;br /&gt;
  This mode is a traditional disk install. The following partitions will be&lt;br /&gt;
  created on the disk: /boot, / (filesystem root) and swap.&lt;br /&gt;
    &lt;br /&gt;
  This mode may be used for development boxes, desktops, virtual servers, etc.&lt;br /&gt;
&lt;br /&gt;
data:&lt;br /&gt;
  This mode uses your disk(s) for data storage, not for the operating system.&lt;br /&gt;
  The system itself will run from tmpfs (RAM).&lt;br /&gt;
&lt;br /&gt;
  Use this mode if you only want to use the disk(s) for a mailspool, databases,&lt;br /&gt;
  logs, etc.&lt;br /&gt;
&lt;br /&gt;
none:&lt;br /&gt;
  Run without installing to disk.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-lbu ==&lt;br /&gt;
&lt;br /&gt;
This script will only be invoked for by &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; when installing &amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt; installation types (ramdisk)&lt;br /&gt;
&lt;br /&gt;
It configures where &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt; will store the .apkovl backup. See [[Alpine local backup]] for more information.&lt;br /&gt;
&lt;br /&gt;
When started, &amp;lt;code&amp;gt;setup-lbu&amp;lt;/code&amp;gt; will prompt where to store your data. The options it will prompt for will be taken from the directories found in &amp;lt;code&amp;gt;/media&amp;lt;/code&amp;gt; (except for &amp;lt;code&amp;gt;cdrom&amp;lt;/code&amp;gt;). [not sure how these are mounted: are they automatically mounted by setup-lbu? Does the user have to manually mount using another tty?]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-apkcache ==&lt;br /&gt;
&lt;br /&gt;
This script will only be invoked for by &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; when installing &amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt; installation types (ramdisk)&lt;br /&gt;
&lt;br /&gt;
It configures where to save the apk package files. The apkcache is where apk stores downloaded packages, such that the system does not need to download them again on each reboot, and doesn&#039;t have to depend on the network. See [[Local APK cache]] for a detailed explanation.&lt;br /&gt;
&lt;br /&gt;
You should be able to use a partition that you set up in the previous steps.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-bootable ==&lt;br /&gt;
This is a standalone script; it&#039;s not invoked by &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; but must be run manually.&lt;br /&gt;
&lt;br /&gt;
It allows to create boot media that boots the system running from RAM memory (diskless) like the installation images, but using a writable (i.e. not iso9660) filesystem. So that it can also serve to store local customizations (e.g. apkovl files and cached packages). &lt;br /&gt;
&lt;br /&gt;
First, the script copies files from an ISO image (as file on a CD/DVD/USB etc.) onto a USB-Stick/CompactFlash/SDCard etc., or harddisk partition. And then, it installs the syslinux bootloader to make the device bootable.&lt;br /&gt;
&lt;br /&gt;
However, its current syslinux installation seems to fail on non-FAT32 partitions. So in these cases, you may start over with a FAT32 filesystem, or rather with the desired filesystem and using &amp;lt;code&amp;gt;setup-bootable&amp;lt;/code&amp;gt; only with the &amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt; option, to skip the syslinux install, and then refer to the [[Create_a_Bootable_Device#Manually_copying_Alpine_files|manual method]] to fix the problem, or use one of the other bootloader options, instead.&lt;br /&gt;
&lt;br /&gt;
{{Tip| The [[Bootloaders]] page shows different ways to setup booting, and multi-boot menus!}}  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The setup-bootable script accepts the following arguments and command-line switches (you can run &amp;lt;code&amp;gt;setup-bootable -h&amp;lt;/code&amp;gt; to see a usage message).&lt;br /&gt;
&lt;br /&gt;
{{Cmd|setup-bootable &amp;lt;var&amp;gt;source&amp;lt;/var&amp;gt; [&amp;lt;var&amp;gt;dest&amp;lt;/var&amp;gt;]}}&lt;br /&gt;
&lt;br /&gt;
The argument &amp;lt;var&amp;gt;source&amp;lt;/var&amp;gt; can be a directory or an ISO (will be mounted to &amp;lt;code&amp;gt;MNT&amp;lt;/code&amp;gt; or {{Path|/mnt}}) or a URL (will be downloaded with &amp;lt;code&amp;gt;WGET&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt;). The argument &amp;lt;var&amp;gt;dest&amp;lt;/var&amp;gt; can be a directory mountpoint, or will default to {{Path|/media/usb}} if not supplied.&lt;br /&gt;
&lt;br /&gt;
{{Define|-k|Keep alpine_dev in {{Path|syslinux.cfg}}; otherwise, replace with UUID.}}&lt;br /&gt;
{{Define|-u|Upgrade mode: keep existing {{Path|syslinux.cfg}} and don&#039;t run &amp;lt;code&amp;gt;syslinux&amp;lt;/code&amp;gt;}}&lt;br /&gt;
{{Define|-f|Overwrite {{Path|syslinux.cfg}} even if &#039;&#039;&#039;-u&#039;&#039;&#039; was specified.}}&lt;br /&gt;
{{Define|-s|Force the running of &amp;lt;code&amp;gt;syslinux&amp;lt;/code&amp;gt; even if &#039;&#039;&#039;-u&#039;&#039;&#039; was specified.}}&lt;br /&gt;
{{Define|-v|Verbose mode}}&lt;br /&gt;
&lt;br /&gt;
The script will ensure that &amp;lt;var&amp;gt;source&amp;lt;/var&amp;gt; and &amp;lt;var&amp;gt;dest&amp;lt;/var&amp;gt; are available; will copy the contents of &amp;lt;var&amp;gt;source&amp;lt;/var&amp;gt; to &amp;lt;var&amp;gt;dest&amp;lt;/var&amp;gt;, ensuring first that there&#039;s enough space; and unless &#039;&#039;&#039;-u&#039;&#039;&#039; was specified, will make &amp;lt;var&amp;gt;dest&amp;lt;/var&amp;gt; bootable.&lt;br /&gt;
&lt;br /&gt;
Suppose the target device is /dev/sdXY, then this partition can be prepared for booting with&lt;br /&gt;
{{Cmd|# setup-bootable -v /media/&amp;lt;installation-media-device&amp;gt; /dev/sdXY&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For the manual way to set up boot media see [[Create_a_Bootable_Device#Manually_copying_Alpine_files|Manually_copying_Alpine_files]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== setup-xorg-base ==&lt;br /&gt;
&lt;br /&gt;
This is a standalone script; it&#039;s not invoked by &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; but must be run manually.&lt;br /&gt;
&lt;br /&gt;
It configures a graphical environment, installing basic Xorg packages and udev (replacing mdev), and is also required for Wayland sessions.&lt;br /&gt;
&lt;br /&gt;
The script installs, among other packages, e.g.: &amp;lt;code&amp;gt;xorg-server xf86-input-libinput xinit udev&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Additional packages to install may be supplied as arguments.&lt;br /&gt;
{{cmd|setup-xorg-base [additional package(s) to install]}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Video packages (optional) ====&lt;br /&gt;
&lt;br /&gt;
You may install specific xf86 xorg driver packages for your video card&#039;s chipset, as they may support specific features, effects and acceleration modes, and avoid error messages during X initialization.&lt;br /&gt;
&lt;br /&gt;
However, the most basic X features should work fine with just using the default kernel video-modesetting drivers.&lt;br /&gt;
&lt;br /&gt;
Info about the particular video cards that are installed in the computer may be found in the list of PCI devices:&lt;br /&gt;
{{cmd|# apk add pciutils&lt;br /&gt;
$ lspci}}&lt;br /&gt;
&lt;br /&gt;
To see available video driver packages run:&lt;br /&gt;
{{cmd|$ apk search xf86-video}}&lt;br /&gt;
&lt;br /&gt;
For example, &lt;br /&gt;
* For an Sis video chipset install &#039;xf86-video-sis&#039;.&lt;br /&gt;
{{Cmd|# apk add xf86-video-sis}}&lt;br /&gt;
&lt;br /&gt;
Others:&lt;br /&gt;
* For Intel video chipsets install &#039;xf86-video-intel&#039; and see [[Intel Video]].&lt;br /&gt;
{{Tip|In some cases, freezes on suspend/resume stop happening when changing the video port the monitor is connected to.}}&lt;br /&gt;
* For AMD Radeon Video see [[Radeon_Video]]&lt;br /&gt;
* For Alix1D use xf86-video-geode.&lt;br /&gt;
* In KVM/QEMU guests see [[QEMU#Using_Xorg_inside_Qemu|Xorg within KVM/QEMU]]&lt;br /&gt;
* In VirtualBox guests use xf86-video-vboxvideo, and install the [[VirtualBox_guest_additions|VirtualBox guest additions]] as well. They contain important parts for the driver.&lt;br /&gt;
* In VMware guests use xf86-video-vmware&lt;br /&gt;
* In Hyper-V guests use xf86-video-fbdev and install the [[Hyper-V_guest_services|Hyper-V guest services]] as well.&lt;br /&gt;
&lt;br /&gt;
==== Input packages ====&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;b&amp;gt;Numlock&amp;lt;/b&amp;gt; settings are not working, or getting &amp;lt;b&amp;gt;&#039;setleds not found&#039;&amp;lt;/b&amp;gt; errors:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add kbd}}&lt;br /&gt;
&lt;br /&gt;
If some input device is not working at all, the available xf86-input drivers can be listed with:&lt;br /&gt;
{{cmd|$ apk search xf86-input}}&lt;br /&gt;
&lt;br /&gt;
Typical legacy drivers:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add xf86-input-mouse xf86-input-keyboard}}&lt;br /&gt;
&lt;br /&gt;
And for touchpad tapping support on many laptops, also:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add xf86-input-synaptics}}&lt;br /&gt;
&lt;br /&gt;
==== Configure xorg-server (optional) ====&lt;br /&gt;
&lt;br /&gt;
On most systems, xorg should be able to autodetect all devices. However you can still configure xorg-server by hand by launching:&lt;br /&gt;
{{Cmd|# Xorg -configure}}&lt;br /&gt;
This will create a `/root/xorg.conf.new` file. You can modify this file to fit your needs.&amp;lt;BR&amp;gt;&lt;br /&gt;
(When finished modifying and testing the above configuration file, move it to `/etc/X11/xorg.conf` for normal usage.)&lt;br /&gt;
&lt;br /&gt;
==== Keyboard Layout (optional) ====&lt;br /&gt;
&lt;br /&gt;
If you use a keyboard layout different than &amp;quot;us&amp;quot;, and you are using a window manager or desktop environment that does not support to configure the keyboard layout itself, then you need to&lt;br /&gt;
&lt;br /&gt;
* [[Enable_Community_Repository#Using_community_repositories|Enable the &amp;quot;community&amp;quot; repository]]&lt;br /&gt;
&lt;br /&gt;
and install setxkbmap:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add setxkbmap}}&lt;br /&gt;
&lt;br /&gt;
Then try&lt;br /&gt;
 # setxkbmap &amp;lt;%a language layout from /usr/share/X11/xkb/rules/xorg.lst%&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to make it persistent add this section to /etc/X11/xorg.conf:&lt;br /&gt;
{{Cmd|Section &amp;quot;InputClass&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Keyboard Default&amp;quot;&lt;br /&gt;
	MatchIsKeyboard	&amp;quot;yes&amp;quot;&lt;br /&gt;
	Option		&amp;quot;XkbLayout&amp;quot; &amp;quot;&amp;lt;%a language layout from /usr/share/X11/xkb/rules/xorg.lst%&amp;gt;&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another way to change the keymap when logging into X is to use ~/.xinitrc.  The following example loads a British keymap, simply add this line to the beginning of the file:&lt;br /&gt;
&amp;lt;code&amp;gt;setxkbmap gb &amp;amp;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to create the ~/.xinitrc file, you may also want to add a second line like &amp;lt;code&amp;gt;exec openbox-session&amp;lt;/code&amp;gt; to still start the window manager with &amp;lt;code&amp;gt;startx&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;xinit&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Documentation needed ==&lt;br /&gt;
&lt;br /&gt;
=== setup-xen-dom0 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== setup-mta ===&lt;br /&gt;
Uses ssmtp.&lt;br /&gt;
&lt;br /&gt;
This is a standalone script; it&#039;s not invoked by &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; but must be run manually.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== setup-acf ===&lt;br /&gt;
This is a standalone script; it&#039;s not invoked by &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; but must be run manually.&lt;br /&gt;
&lt;br /&gt;
This script was named &amp;lt;code&amp;gt;setup-webconf&amp;lt;/code&amp;gt; before Alpine 1.9 beta 4.&lt;br /&gt;
&lt;br /&gt;
See [[:Category:ACF|ACF pages]] for more information.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Installation]]&lt;br /&gt;
* [[Post installation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=KDE&amp;diff=21386</id>
		<title>KDE</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=KDE&amp;diff=21386"/>
		<updated>2022-01-06T13:39:07Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;KDE is a software project comprising a desktop environment known as Plasma, a collection of libraries and frameworks known as KDE Frameworks, and several applications known as KDE Applications. Their [https://userbase.kde.org/Welcome_to_KDE_UserBase UserBase wiki] has detailed information about most KDE Applications.&lt;br /&gt;
&lt;br /&gt;
{{Note|the {{Pkg|plasma}} package isn&#039;t available for the &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt; architectures due to the {{Pkg|kdeplasma-addons}} dependency not being available there. However, the rest of Plasma can be installed separately to get a functional desktop.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* [[Installation|Install]] AlpineLinux&lt;br /&gt;
* [[Post_installation#Creating_a_new_user_account|Create a user account]] (optional but recommended)&lt;br /&gt;
* [[Post_installation#Repositories|Enable the Community repository]]&lt;br /&gt;
* [[Alpine_setup_scripts#setup-xorg-base|Install Xorg]]&lt;br /&gt;
&lt;br /&gt;
{{Note|[[Wayland]] can be used but may be less stable and Plasma may still require Xorg}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
==== Standard plasma installation ====&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add plasma elogind polkit-elogind dbus}}&lt;br /&gt;
&lt;br /&gt;
This will install the required Plasma packages, {{Pkg|sddm}} and pre-configure it to use the Breeze theme.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lightweight plasma installation ====&lt;br /&gt;
&lt;br /&gt;
Alternatively, a smaller installation can be done:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add plasma-desktop systemsettings sddm breeze elogind polkit-elogind dbus}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|If you are missing something that is in a standard Plasma installation check out the dependencies of the {{Pkg|plasma}} package because it is likely you will find whatever your missing there.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For both installation methods you need to enable the following services:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# rc-update add dbus}}&lt;br /&gt;
{{Cmd|# rc-update add elogind}}&lt;br /&gt;
{{Cmd|# rc-update add polkit}}&lt;br /&gt;
{{Cmd|# rc-update add udev}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|&#039;&#039;&#039;polkit&#039;&#039;&#039; and &#039;&#039;&#039;udev&#039;&#039;&#039; are technically optional (or have other alternatives) but if they are not installed/started features (or the system) may not work properly, modify this at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== KDE Applications ==&lt;br /&gt;
&lt;br /&gt;
To install the full set of KDE Applications, install {{Pkg|kde-applications}}. You can also choose to install a smaller set of applications by installing any of the subpackages:&lt;br /&gt;
&lt;br /&gt;
* {{Pkg|kde-applications-accessibility}}&lt;br /&gt;
* {{Pkg|kde-applications-admin}}&lt;br /&gt;
* {{Pkg|kde-applications-base}}&lt;br /&gt;
* {{Pkg|kde-applications-edu}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-games}}&lt;br /&gt;
* {{Pkg|kde-applications-graphics}}&lt;br /&gt;
* {{Pkg|kde-applications-multimedia}}&lt;br /&gt;
* {{Pkg|kde-applications-network}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-pim}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-sdk}}&lt;br /&gt;
* {{Pkg|kde-applications-utils}}&lt;br /&gt;
* {{Pkg|kde-applications-webdev}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Starting Plasma ==&lt;br /&gt;
&lt;br /&gt;
Plasma can be started using a display manager or from the console.&lt;br /&gt;
&lt;br /&gt;
==== Using a display manager ====&lt;br /&gt;
&lt;br /&gt;
When Plasma is installed via the {{Pkg|plasma}} meta-package, the display manager is set up using {{Pkg|sddm}}.&lt;br /&gt;
&lt;br /&gt;
Make sure you enable and start the SDDM service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rc-update add sddm&lt;br /&gt;
rc-service sddm start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Select &#039;&#039;Plasma&#039;&#039; to launch a new session in Wayland&lt;br /&gt;
* Select &#039;&#039;Plasma (X11)&#039;&#039; to launch a new session in Xorg&lt;br /&gt;
&lt;br /&gt;
==== From the console ====&lt;br /&gt;
&lt;br /&gt;
The Xorg session can be launched by installing {{Pkg|xinit}} and appending &amp;lt;code&amp;gt;exec startplasma-x11&amp;lt;/code&amp;gt; to your &amp;lt;code&amp;gt;.xinitrc&amp;lt;/code&amp;gt; file. To start X:&lt;br /&gt;
{{Cmd|xinit}}&lt;br /&gt;
&lt;br /&gt;
For the Wayland session run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Post installation]]&lt;br /&gt;
* [[Flatpak]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Linux_in_a_chroot&amp;diff=21385</id>
		<title>Alpine Linux in a chroot</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Linux_in_a_chroot&amp;diff=21385"/>
		<updated>2022-01-06T13:38:42Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: remove newbie reference to stop the discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
Inside the chroot environment, you can build, debug, and run Alpine packages or develop things. It&#039;s the most known way to do so without replacing your system or using a Virtual Machine.&lt;br /&gt;
This document explains how to set up an Alpine build environment in a chroot under a host Linux distro, that can also be used to install Alpine Linux from a non-Alpine Linux system or live environment.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Working Linux instalation where to perform all the process&lt;br /&gt;
* Linux kernel 2.6.22, with &amp;lt;code&amp;gt;curl&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;chroot&amp;lt;/code&amp;gt; binary installed&lt;br /&gt;
* target media with at least 100M, 900MB for more complete solution as minimum&lt;br /&gt;
* internet connection&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
The variables below: &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;${chroot_dir}&#039;&#039;&#039; = Should point to the new root directory&lt;br /&gt;
*&#039;&#039;&#039;${mirror}&#039;&#039;&#039; = Should be replaced with [http://nl.alpinelinux.org/alpine/MIRRORS.txt one of the available Alpine Linux mirrors].&lt;br /&gt;
*&#039;&#039;&#039;${arch}&#039;&#039;&#039; =  Should be the cpu architecture like x86 (i386) or amd64(x86_64)..&lt;br /&gt;
&lt;br /&gt;
== Set up APK ==&lt;br /&gt;
&lt;br /&gt;
Download the latest apk static package (replace &amp;lt;tt&amp;gt;${version}&amp;lt;/tt&amp;gt; with actual version):&lt;br /&gt;
&lt;br /&gt;
{{Cmd|curl -LO ${mirror}/latest-stable/main/${arch}/apk-tools-static-${version}.apk}}&lt;br /&gt;
&lt;br /&gt;
.apk packages are just gzipped tarballs, you can unpack them using:&lt;br /&gt;
{{Cmd|tar -xzf apk-tools-static-*.apk}}&lt;br /&gt;
&lt;br /&gt;
== Install the alpine base installation onto the chroot ==&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./sbin/apk.static -X ${mirror}/latest-stable/main -U --allow-untrusted -p ${chroot_dir} --initdb add alpine-base}}&lt;br /&gt;
&lt;br /&gt;
== Seting up the chroot ==&lt;br /&gt;
&lt;br /&gt;
Before you change root to the new directory, you need to create the required devices&lt;br /&gt;
&lt;br /&gt;
===== Method 1.a Simple way: Using the host&#039;s /dev =====&lt;br /&gt;
&lt;br /&gt;
{{Cmd|mount -o bind /dev ${chroot_dir}/dev}}&lt;br /&gt;
&lt;br /&gt;
{{Note|Bind mounts can be made read-only which would limit the chroot from writing to the devices}}&lt;br /&gt;
&lt;br /&gt;
===== Method 1.b Manual way: Creating needed nodes =====&lt;br /&gt;
&lt;br /&gt;
{{Warning|Manually creating devices will only provide the ones that have been created}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|mknod -m 666 ${chroot_dir}/dev/full c 1 7&lt;br /&gt;
mknod -m 666 ${chroot_dir}/dev/ptmx c 5 2&lt;br /&gt;
mknod -m 644 ${chroot_dir}/dev/random c 1 8&lt;br /&gt;
mknod -m 644 ${chroot_dir}/dev/urandom c 1 9&lt;br /&gt;
mknod -m 666 ${chroot_dir}/dev/zero c 1 5&lt;br /&gt;
mknod -m 666 ${chroot_dir}/dev/tty c 5 0}}&lt;br /&gt;
&lt;br /&gt;
If you need SCSI disc access you can create the device nodes like this:&lt;br /&gt;
&lt;br /&gt;
{{Note|Every device can have 15 sub-nodes, you should always increment by 16 for every new device}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|mknod -m 666 ${chroot_dir}/dev/sda b 8 0&lt;br /&gt;
mknod -m 666 ${chroot_dir}/dev/sda1 b 8 1&lt;br /&gt;
mknod -m 666 ${chroot_dir}/dev/sda2 b 8 2&lt;br /&gt;
mknod -m 666 ${chroot_dir}/dev/sda3 b 8 3&lt;br /&gt;
mknod -m 666 ${chroot_dir}/dev/sdb b 8 16&lt;br /&gt;
mknod -m 666 ${chroot_dir}/dev/sdb1 b 8 17}}&lt;br /&gt;
&lt;br /&gt;
==== Make the process fs and /sys fs available ====&lt;br /&gt;
&lt;br /&gt;
{{Cmd|mount -t proc none ${chroot_dir}/proc&lt;br /&gt;
mount -o bind /sys ${chroot_dir}/sys}}&lt;br /&gt;
&lt;br /&gt;
==== Set up name resolution ====&lt;br /&gt;
&lt;br /&gt;
A resolv.conf is needed for name resolution: &lt;br /&gt;
&lt;br /&gt;
You can either copy your host&#039;s resolv.conf:&lt;br /&gt;
{{Cmd|cp -L /etc/resolv.conf ${chroot_dir}/etc/}}&lt;br /&gt;
&lt;br /&gt;
or instead you can create a new one (this example uses OpenDNS):&lt;br /&gt;
{{Cmd|echo -e &#039;nameserver 8.8.8.8\nnameserver 2620:0:ccc::2&#039; &amp;gt; ${chroot_dir}/etc/resolv.conf}}&lt;br /&gt;
&lt;br /&gt;
==== Prepare the APK repositories ====&lt;br /&gt;
&lt;br /&gt;
Set up APK main repository (replace &amp;lt;tt&amp;gt;${branch}&amp;lt;/tt&amp;gt; with the latest stable branch name, e.g. v3.3):&lt;br /&gt;
&lt;br /&gt;
{{Cmd|mkdir -p ${chroot_dir}/etc/apk&lt;br /&gt;
echo &amp;quot;${mirror}/${branch}/main&amp;quot; &amp;gt; ${chroot_dir}/etc/apk/repositories}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|The chroot methods are commonly used to have Alpine installed in a existing system. Because of this, the steps for preparing a bootloader are not included.}}&lt;br /&gt;
&lt;br /&gt;
==== Entering your chroot ====&lt;br /&gt;
&lt;br /&gt;
You then can enter your chroot by running this command as the root user (UID 0).&lt;br /&gt;
&lt;br /&gt;
{{Cmd|chroot ${chroot_dir} /bin/ash -l}}&lt;br /&gt;
&lt;br /&gt;
==== Preparing init services ====&lt;br /&gt;
&lt;br /&gt;
If you plan to use your chroot with a init system or setup a new system on another device you should add these services:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-update add devfs sysinit&lt;br /&gt;
rc-update add dmesg sysinit&lt;br /&gt;
rc-update add mdev sysinit&lt;br /&gt;
&lt;br /&gt;
rc-update add hwclock boot&lt;br /&gt;
rc-update add modules boot&lt;br /&gt;
rc-update add sysctl boot&lt;br /&gt;
rc-update add hostname boot&lt;br /&gt;
rc-update add bootmisc boot&lt;br /&gt;
rc-update add syslog boot&lt;br /&gt;
&lt;br /&gt;
rc-update add mount-ro shutdown&lt;br /&gt;
rc-update add killprocs shutdown&lt;br /&gt;
rc-update add savecache shutdown}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: Create a page dedicated to installing GRUB and Syslinux and reference them here&lt;br /&gt;
==== Adding a bootloader ====&lt;br /&gt;
&lt;br /&gt;
[[GRUB]]&lt;br /&gt;
&lt;br /&gt;
{{Warning|Run this only if Alpine was installed to a dedicated partiton mounted at the &amp;lt;nowiki&amp;gt;${chroot_dir}&amp;lt;/nowiki&amp;gt; directory.}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|&amp;lt;nowiki&amp;gt;apk add syslinux&lt;br /&gt;
dd if=/usr/share/syslinux/mbr.bin of=/dev/sda&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Make sure that the device you give the &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; utility is the one you want to install the bootloader to. This process cannot be reverted!}}&lt;br /&gt;
 --&amp;gt;&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== Hardened kernels or alpine as chroot host ==&lt;br /&gt;
&lt;br /&gt;
If you are using Alpine as a native build system you will have to make sure that you can run &amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; from a chroot. Add the following to &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;kernel.grsecurity.chroot_deny_chmod = 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then reload the sysctl configuration&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sysctl -p&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== chroot: cannot run command &#039; ... Exec format error ==&lt;br /&gt;
&lt;br /&gt;
This usually indicates that you booted with one architecture (e.g. armf) and are trying to chroot into another (e.g. x86_64). The binaries must be built for the architecture that the host runs!&lt;br /&gt;
&lt;br /&gt;
Note that with &#039;&#039;&#039;one exception you can run 32 bit x86 chroot in x86_64, but not viceversa&#039;&#039;&#039;!&lt;br /&gt;
&lt;br /&gt;
== WARNING: Ignoring APKINDEX.xxxx.tar.gz ==&lt;br /&gt;
&lt;br /&gt;
Make sure &amp;lt;code&amp;gt;${chroot_dir}/etc/apk/repositories&amp;lt;/code&amp;gt; is valid and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;apk update&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
* You can also use script [https://github.com/alpinelinux/alpine-chroot-install/ alpine-chroot-install]&lt;br /&gt;
* https://web.archive.org/web/20190808203313/https://isc.sans.edu/forums/diary/Forensic+use+of+mount+bind/22854/&lt;br /&gt;
* Alpine Linux in a chroot on Fedora : http://git.alpinelinux.org/cgit/user/fab/scripts/tree/alpine-chroot.sh script&lt;br /&gt;
* Alpine Linux aarch64 in a chroot on AWS Linux : https://gist.github.com/emolitor/0567e51c0ce04f4b025fc78d2cf0b4f1 script&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[category: System Administration]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Tutorials_and_Howtos&amp;diff=21382</id>
		<title>Tutorials and Howtos</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Tutorials_and_Howtos&amp;diff=21382"/>
		<updated>2022-01-06T13:33:18Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: /* Beginners and Newbies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Todo|This material needs to be re-organized .. as &#039;&#039;&#039;Howtos are smaller articles&#039;&#039;&#039; and &#039;&#039;&#039;tutorials are more detailed document&#039;&#039;&#039; both need to be reordered as independent sections }}&lt;br /&gt;
&lt;br /&gt;
[[Image:package_edutainment.svg|right|link=]]&lt;br /&gt;
{{TOC left}}&lt;br /&gt;
&#039;&#039;&#039;Welcome to Tutorials and Howtos, a place of basic and advanced configuration tasks for your Alpine Linux.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The tutorials are hands-on&#039;&#039;&#039; 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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Howtos are smaller articles&#039;&#039;&#039; explaining how to perform a particular task with Alpine Linux, that expects a minimal knowledge from reader to perform actions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; contributions on those pages must be complete articles as well as requesting topics to be covered, don&#039;t override already made contributions. If you want to request a topic, please add your request in this page&#039;s [[Talk:Tutorials_and_Howtos|Discussion]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
==== Postinstall: desktops and applications ====&lt;br /&gt;
&lt;br /&gt;
* [[Desktop environments and Window managers]] (overall information only)&lt;br /&gt;
** [[Xfce]]&lt;br /&gt;
** [[LXQt]]&lt;br /&gt;
** [[Openbox]]&lt;br /&gt;
** [[MATE]]&lt;br /&gt;
* [[Alpine and UEFI|Alpine and UEFI Support Status and related topics]]&lt;br /&gt;
&lt;br /&gt;
==== Developers: compilers, IDEs and tools ====&lt;br /&gt;
&lt;br /&gt;
* [[Alpine newbie developer]]&lt;br /&gt;
** [[Alpine newbie developer: gitea|Alpine newbie developer: Git management web frontend gitea]]&lt;br /&gt;
** [[Alpine newbie developer: full stack web]]&lt;br /&gt;
&lt;br /&gt;
==== Servers: deploy in production ====&lt;br /&gt;
&lt;br /&gt;
* [[Alpine production deploy]]&lt;br /&gt;
** [[Production Web server: Lighttpd‎‎]]&lt;br /&gt;
** [[Production DataBases : mysql]]&lt;br /&gt;
** [[Production LAMP system: Lighttpd + PHP + MySQL‎‎]]&lt;br /&gt;
* Alpine production monitoring&lt;br /&gt;
** [[Cacti: traffic analysis and monitoring network]]&lt;br /&gt;
** [[Zabbix|Zabbix - the professional complete manager]]&lt;br /&gt;
&lt;br /&gt;
== Storage ==&lt;br /&gt;
&lt;br /&gt;
* [[Alpine local backup|Alpine local backup (lbu)]] &#039;&#039;(Permanently store your modifications in case your box needs reboot)&#039;&#039; &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
** [[Back Up a Flash Memory Installation]] &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
** [[Manually editing a existing apkovl]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up disks manually]] &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
* [[Setting up a software RAID array]]&lt;br /&gt;
&amp;lt;!-- ** [[Setting up a /var partition on software IDE raid1]]  Obsolete, Installation and Storage --&amp;gt; &lt;br /&gt;
* [[Raid Administration]]&lt;br /&gt;
* [[Setting up encrypted volumes with LUKS]]&lt;br /&gt;
* [[Setting up LVM on LUKS]]&lt;br /&gt;
* [[Setting up Logical Volumes with LVM]]&lt;br /&gt;
** [[Setting up LVM on GPT-labeled disks]]&lt;br /&gt;
** [[Installing on GPT LVM]]&lt;br /&gt;
* [[Filesystems|Formatting HD/Floppy/Other]] &amp;lt;!-- just a stub --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up iSCSI]]&lt;br /&gt;
** [[iSCSI Raid and Clustered File Systems]]&lt;br /&gt;
* [[Setting up NBD]]&lt;br /&gt;
* [[Setting up ZFS on LUKS]]&lt;br /&gt;
* [[Setting up ZFS with native encryption]]&lt;br /&gt;
* [[High performance SCST iSCSI Target on Linux software Raid]] &#039;&#039;(deprecated)&#039;&#039; &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
* [[Linux iSCSI Target (TCM)]]&lt;br /&gt;
* [[Disk Replication with DRBD]] &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Burning ISOs]] &amp;lt;!-- just some links now --&amp;gt;&lt;br /&gt;
* [[Partitioning and Bootmanagers]]&lt;br /&gt;
* [[Migrating data]]&lt;br /&gt;
* [[Create a bootable SDHC from a Mac]]&lt;br /&gt;
* [[Alpine on ARM]]&lt;br /&gt;
&lt;br /&gt;
== Networking ==&lt;br /&gt;
&lt;br /&gt;
* [[Configure Networking]]&lt;br /&gt;
* [[Connecting to a wireless access point]]&lt;br /&gt;
* [[Bonding]]&lt;br /&gt;
* [[Vlan]]&lt;br /&gt;
* [[Bridge]]&lt;br /&gt;
* [[Bridge wlan0 to eth0]]&lt;br /&gt;
* [[OpenVSwitch]]&lt;br /&gt;
* [[How to configure static routes]]&lt;br /&gt;
* [[Configure a Wireguard interface (wg)]]&lt;br /&gt;
&lt;br /&gt;
* [[Alpine Wall]] - [[How-To Alpine Wall]] - [[Alpine Wall User&#039;s Guide]] &#039;&#039;(a new firewall management framework)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[PXE boot]]&lt;br /&gt;
&lt;br /&gt;
* [[Using serial modem]]&lt;br /&gt;
* [[Using HSDPA modem]]&lt;br /&gt;
* [[Setting up Satellite Internet Connection]]&lt;br /&gt;
* [[Using Alpine on Windows domain with IPSEC isolation]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a SSH server]] &#039;&#039;(Using SSH is the preferred way to administer your box remotely)&#039;&#039; &amp;lt;!-- Server and Networking --&amp;gt;&lt;br /&gt;
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] &#039;&#039;(A simple two factor setup for OpenSSH)&#039;&#039;&lt;br /&gt;
* [[How to setup a wireless access point]] &#039;&#039;(Setting up Secure Wireless AP w/ WPA encryption with bridge to wired network)&#039;&#039;&lt;br /&gt;
* [[How to set up Alpine as a wireless router]] &#039;&#039;(Setting up a firewalled, Wireless AP with wired network on a Pi Zero W)&#039;&#039;&lt;br /&gt;
* [[Setting up a OpenVPN server with Alpine]] &#039;&#039;(Allowing single users or devices to remotely connect to your network)&#039;&#039;&lt;br /&gt;
&amp;lt;!-- [[Using Racoon for Remote Sites]] is a different VPN tunnelling method, but that article is just a stub --&amp;gt;&lt;br /&gt;
* [[Experiences with OpenVPN-client on ALIX.2D3]]  &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Generating SSL certs with ACF]] &amp;lt;!-- Generating SSL certs with ACF 1.9 --&amp;gt;&lt;br /&gt;
* [[Setting up unbound DNS server]]&lt;br /&gt;
* [[Setting up nsd DNS server]]&lt;br /&gt;
* [[TinyDNS Format]]&lt;br /&gt;
* [[Fault Tolerant Routing with Alpine Linux]] &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
* [[Freeradius Active Directory Integration]]&lt;br /&gt;
* [[Multi_ISP]] &#039;&#039;(Dual-ISP setup with load-balancing and automatic failover)&#039;&#039;&lt;br /&gt;
* [[OwnCloud]] &#039;&#039;(Installing OwnCloud)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Seafile: setting up your own private cloud]]&lt;br /&gt;
&lt;br /&gt;
* [[GNUnet]]&lt;br /&gt;
&lt;br /&gt;
== Post-Install ==&lt;br /&gt;
&amp;lt;!-- If you edit this, please coordinate with Installation and Developer_Documentation#Package_management.  Note that these three sections are not exact duplicates. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a new user]]&lt;br /&gt;
* [[Enable Community Repository]] &#039;&#039;(Providing additional packages)&#039;&#039;&lt;br /&gt;
* [[Alpine Linux package management|Package Management (apk)]] &#039;&#039;(How to add/remove packages on your Alpine)&#039;&#039;&lt;br /&gt;
   &amp;lt;!-- [[Alpine Linux package management#Local_Cache|How to enable APK caching]] --&amp;gt;&lt;br /&gt;
** [[Comparison with other distros]]&lt;br /&gt;
* [[Alpine local backup|Alpine local backup (lbu)]] &#039;&#039;(Permanently store your modifications in case your box needs reboot)&#039;&#039;&lt;br /&gt;
** [[Back Up a Flash Memory Installation]] &amp;lt;!-- new --&amp;gt;&lt;br /&gt;
** [[Manually editing a existing apkovl]]&lt;br /&gt;
* [[Alpine Linux Init System|Init System (OpenRC)]] &#039;&#039;(Configure a service to automatically boot at next reboot)&#039;&#039;&lt;br /&gt;
** [[Multiple Instances of Services]]&lt;br /&gt;
   &amp;lt;!-- [[Writing Init Scripts]] --&amp;gt;&lt;br /&gt;
* [[Alpine setup scripts#setup-xorg-base|Setting up Xorg]]&lt;br /&gt;
* [[Upgrading Alpine]]&lt;br /&gt;
&amp;lt;!-- Obsolete&lt;br /&gt;
 [[Upgrading Alpine - v1.9.x]]&lt;br /&gt;
 [[Upgrading Alpine - CD v1.8.x]]&lt;br /&gt;
 [[Upgrading Alpine - HD v1.8.x]]&lt;br /&gt;
 [[Upgrade to repository main|Upgrading to signed repositories]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a ssh-server]] &#039;&#039;(Using ssh is a good way to administer your box remotely)&#039;&#039;&lt;br /&gt;
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] &#039;&#039;(A simple two factor setup for OpenSSH)&#039;&#039;&lt;br /&gt;
* [[setup-acf]] &#039;&#039;(Configures ACF (webconfiguration) so you can manage your box through https)&#039;&#039;&lt;br /&gt;
* [[Changing passwords for ACF|Changing passwords]]&lt;br /&gt;
* [[Ansible]] &#039;&#039;(Configuration management)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Enable Serial Console on Boot]]&lt;br /&gt;
&amp;lt;!-- Obsolete?&lt;br /&gt;
* [[Error message on boot: Address space collision: host bridge window conflicts with Adaptor ROM]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* [[How to get regular stuff working]] &#039;&#039;some notes on need-to-know topics&#039;&#039;&lt;br /&gt;
* [[Installing Oracle Java]]&lt;br /&gt;
* [[Rsnapshot|Setting up periodic backups with &amp;lt;samp&amp;gt;rsnapshot&amp;lt;/samp&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
== Virtualization==&lt;br /&gt;
&lt;br /&gt;
* [[Xen Dom0]] &#039;&#039;(Setting up Alpine as a dom0 for Xen hypervisor)&#039;&#039;&lt;br /&gt;
* [[Xen Dom0 on USB or SD]]&lt;br /&gt;
* [[Create Alpine Linux PV DomU]]&lt;br /&gt;
* [[Xen PCI Passthrough]]&lt;br /&gt;
* [[Xen LiveCD]]&lt;br /&gt;
* [[QEMU]]&lt;br /&gt;
* [[KVM]] &#039;&#039;(Setting up Alpine as a KVM hypervisor)&#039;&#039;&lt;br /&gt;
* [[LXC]] &#039;&#039;(Setting up a Linux container in Alpine Linux)&#039;&#039;&lt;br /&gt;
* [[Docker]]&lt;br /&gt;
* [[Install_Alpine_on_VirtualBox]]&lt;br /&gt;
* [[Install Alpine on VMWare]]&lt;br /&gt;
&lt;br /&gt;
== Desktop Environment ==&lt;br /&gt;
&lt;br /&gt;
* [[AwesomeWM]]&lt;br /&gt;
* [[dwm]]&lt;br /&gt;
* [[EyeOS]] &#039;&#039;(Cloud Computing Desktop)&#039;&#039;&lt;br /&gt;
* [[Gnome]]&lt;br /&gt;
* [[KDE]]&lt;br /&gt;
* [[MATE]]&lt;br /&gt;
* [[Oneye]] &#039;&#039;(Cloud Computing Desktop - Dropbox Alternative)&#039;&#039;&lt;br /&gt;
* [[Nextcloud]] &#039;&#039;(Self hostable cloud suite - Dropbox Alternative)&#039;&#039;&lt;br /&gt;
* [[Remote Desktop Server]]&lt;br /&gt;
* [[River]]&lt;br /&gt;
* [[Suspend on LID close]]&lt;br /&gt;
* [[Sway]]&lt;br /&gt;
* [[Xfce Desktop]]&lt;br /&gt;
* [[Sound Setup]]&lt;br /&gt;
* [[PipeWire]]&lt;br /&gt;
* [[Printer Setup]]&lt;br /&gt;
* [[Default applications]]&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi ==&lt;br /&gt;
&lt;br /&gt;
* [[Raspberry Pi|Raspberry Pi (Installation)]]&lt;br /&gt;
* [[Raspberry Pi - Headless Installation]]&lt;br /&gt;
* [[Classic install or sys mode on Raspberry Pi]]&lt;br /&gt;
* [[RPI Video Receiver]] &#039;&#039;(network video decoder using Rasperry Pi and omxplayer)&#039;&#039;&lt;br /&gt;
* [[Linux Router with VPN on a Raspberry Pi]]&lt;br /&gt;
* [[Linux Router with VPN on a Raspberry Pi (IPv6)]]&lt;br /&gt;
* [[Raspberry Pi 4 - Persistent system acting as a NAS and Time Machine]]&lt;br /&gt;
* [[Raspberry Pi 3 - Configuring it as wireless access point -AP Mode]]&lt;br /&gt;
* [[Raspberry Pi 3 - Setting Up Bluetooth]]&lt;br /&gt;
* [[Raspberry Pi 3 - Browser Client]] - kiosk or digital sign&lt;br /&gt;
* [[Raspberry Pi Zero W - Installation]]&lt;br /&gt;
* [[Raspberry Pi Bluetooth Speaker]]&lt;br /&gt;
&lt;br /&gt;
== PowerPC ==&lt;br /&gt;
&lt;br /&gt;
* [[Ppc64le|Powerpc64le (Installation)]]&lt;br /&gt;
&lt;br /&gt;
== IBM Z (IBM z Systems) ==&lt;br /&gt;
&lt;br /&gt;
* [[s390x|s390x (Installation)]]&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
&lt;br /&gt;
=== Telephony ===&lt;br /&gt;
* [[Setting up Zaptel/Asterisk on Alpine]]&lt;br /&gt;
** [[Setting up Streaming an Asterisk Channel]]&lt;br /&gt;
* [[Freepbx on Alpine Linux]]&lt;br /&gt;
* [[FreePBX_V3]] &#039;&#039;(FreeSWITCH, Asterisk GUI web acces tool)&#039;&#039;&lt;br /&gt;
* [[2600hz]] &#039;&#039;(FreeSWITCH, Asterisk GUI web access tool)&#039;&#039;&lt;br /&gt;
* [[Kamailio]] &#039;&#039;(SIP Server, formerly OpenSER)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Mail ===&lt;br /&gt;
* [[Hosting services on Alpine]] &#039;&#039;(Hosting mail, webservices and other services)&#039;&#039;&lt;br /&gt;
** [[Hosting Web/Email services on Alpine]]&lt;br /&gt;
* [[ISP Mail Server HowTo]] &amp;lt;!-- solution, Mail --&amp;gt;&lt;br /&gt;
** [[ISP Mail Server Upgrade 2.x]]&lt;br /&gt;
** [[ISP Mail Server 2.x HowTo]] &#039;&#039;(Beta, please test)&#039;&#039;&lt;br /&gt;
** [[ISP Mail Server 3.x HowTo]]&lt;br /&gt;
* [[Roundcube]] &#039;&#039;(Webmail system)&#039;&#039;&lt;br /&gt;
* [[Setting up postfix with virtual domains]]&lt;br /&gt;
* [[Protecting your email server with Alpine]]&lt;br /&gt;
* [[Setting up clamsmtp]]&lt;br /&gt;
* [[Setting up dovecot with imap and ssl]]&lt;br /&gt;
* [[relay email to gmail (msmtp, mailx, sendmail]]&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
* [[Lighttpd]]&lt;br /&gt;
** [[Lighttpd Https access]]&lt;br /&gt;
** [[Setting Up Lighttpd with PHP]]&lt;br /&gt;
** [[Setting Up Lighttpd With FastCGI]]&lt;br /&gt;
* [[Cherokee]]&lt;br /&gt;
* [[Nginx]]&lt;br /&gt;
** [[Nginx_with_PHP#Nginx_with_PHP|Nginx with PHP]]&lt;br /&gt;
** [[Nginx as reverse proxy with acme (letsencrypt)]]&lt;br /&gt;
* [[Apache]]&lt;br /&gt;
** [[Apache with php-fpm]]&lt;br /&gt;
** [[Setting Up Apache with PHP]]&lt;br /&gt;
** [[Apache authentication: NTLM Single Signon]]&lt;br /&gt;
&lt;br /&gt;
* [[High Availability High Performance Web Cache]] &#039;&#039;(uCarp + HAProxy for High Availability Services such as Squid web proxy)&#039;&#039; &amp;lt;!-- solution, Server --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up Transparent Squid Proxy]] &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
** [[SqStat]] &#039;&#039;(Script to look at active squid users connections)&#039;&#039;&lt;br /&gt;
** [[Obtaining user information via SNMP]] &#039;&#039;(Using squark-auth-snmp as a Squid authentication helper)&#039;&#039; &amp;lt;!-- Networking and Server, &amp;lt;== Using squark-auth-snmp --&amp;gt;&lt;br /&gt;
* [[Setting up Explicit Squid Proxy]]&lt;br /&gt;
&lt;br /&gt;
* [[Drupal]] &#039;&#039;(Content Management System (CMS) written in PHP)&#039;&#039;&lt;br /&gt;
* [[WordPress]] &#039;&#039;(Web software to create website or blog)&#039;&#039;&lt;br /&gt;
* [[MediaWiki]] &#039;&#039;(Free web-based wiki software application)&#039;&#039;&lt;br /&gt;
* [[DokuWiki]]&lt;br /&gt;
* [[Darkhttpd]]&lt;br /&gt;
* [[Tomcat]]&lt;br /&gt;
* [[Kopano]] &#039;&#039;(Microsoft Outlook compatible Groupware)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Other Servers ===&lt;br /&gt;
* [[Setting up a ssh-server]] &#039;&#039;(Using ssh is a good way to administer your box remotely)&#039;&#039;&lt;br /&gt;
** [[HOWTO OpenSSH 2FA with password and Google Authenticator]] &#039;&#039;(A simple two factor setup for OpenSSH)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a nfs-server]]&lt;br /&gt;
* [[Setting up a samba-server]] &#039;&#039;(standard file sharing)&#039;&#039;&lt;br /&gt;
* [[Setting up a samba-ad-dc]] &#039;&#039;(Active Directory compatible domain controller)&#039;&#039;&lt;br /&gt;
* [[Phpizabi]] &#039;&#039;(Social Networking Platform)&#039;&#039;&lt;br /&gt;
* [[Statusnet]] &#039;&#039;(Microblogging Platform)&#039;&#039;&lt;br /&gt;
* [[Pastebin]] &#039;&#039;(Pastebin software application)&#039;&#039;&lt;br /&gt;
* [[Setting up Transmission (bittorrent) with Clutch WebUI]]&lt;br /&gt;
&lt;br /&gt;
* [[Patchwork]] &#039;&#039;(Patch review management system)&#039;&#039;&lt;br /&gt;
* [[Redmine]] &#039;&#039;(Project management system)&#039;&#039;&lt;br /&gt;
* [[Request-Tracker]] &#039;&#039;(Ticket system)&#039;&#039;&lt;br /&gt;
* [[OsTicket]] &#039;&#039;(Ticket system)&#039;&#039;&lt;br /&gt;
* [[Setting up trac wiki|Trac]] &#039;&#039;(Enhanced wiki and issue tracking system for software development projects)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_newbie_developer: gitea|Setting up Git management web frontend gitea]]&lt;br /&gt;
* [[Cgit]]&lt;br /&gt;
** [[Setting up a git repository server with gitolite and cgit]] &amp;lt;!-- doesn&#039;t exist yet --&amp;gt;&lt;br /&gt;
* [[Roundcube]] &#039;&#039;(Webmail system)&#039;&#039;&lt;br /&gt;
* [[Glpi]] &#039;&#039;(Manage inventory of technical resources)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[How to setup a Alpine Linux mirror]]&lt;br /&gt;
* [[Cups]]&lt;br /&gt;
* [[NgIRCd]] &#039;&#039;(Server for Internet Relay Chat/IRC)&#039;&#039;&lt;br /&gt;
* [[How To Setup Your Own IRC Network]] &#039;&#039;(Using {{Pkg|charybdis}} and {{Pkg|atheme-iris}})&#039;&#039;&lt;br /&gt;
* [[OpenVCP]] &#039;&#039;(VServer Control Panel)&#039;&#039;&lt;br /&gt;
* [[Mahara]] &#039;&#039;(E-portfolio and social networking system)&#039;&#039;&lt;br /&gt;
* [[Chrony and GPSD | Using chrony, gpsd, and a garmin LVC 18 as a Stratum 1 NTP source ]]&lt;br /&gt;
* [[Sending SMS using gnokii]]&lt;br /&gt;
* [[IPTV How To|Internet Protocol television (IPTV)]]&lt;br /&gt;
* [[UniFi_Controller]]&lt;br /&gt;
* [[DNSCrypt-Proxy]] &#039;&#039;Encrypt and authenticate DNS calls from your system&#039;&#039;&lt;br /&gt;
* [[Odoo]]&lt;br /&gt;
&lt;br /&gt;
=== Monitoring ===&lt;br /&gt;
* Setting up [[collectd]]&lt;br /&gt;
* [[Traffic monitoring]] &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up traffic monitoring using rrdtool (and snmp)]] &amp;lt;!-- Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up monitoring using rrdtool (and rrdcollect)]]&lt;br /&gt;
* [[Cacti: traffic analysis and monitoring network]] &#039;&#039;(Front-end for rrdtool networking monitor)&#039;&#039;&lt;br /&gt;
* [[LTTng]] &#039;&#039;(Kernel and userspace tracing)&#039;&#039;&lt;br /&gt;
* [[Zabbix|Zabbix - the professional complete manager]] &#039;&#039;(Monitor and track the status of network services and hardware)&#039;&#039;&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039; &amp;lt;!-- draft, solution, Networking and Monitoring and Server --&amp;gt;&lt;br /&gt;
** [[Setting up NRPE daemon]] &#039;&#039;(Performs remote Nagios checks)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up Smokeping|Smokeping]] &#039;&#039;(Network latency monitoring)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
** [[Setting up MRTG and Smokeping to Monitor Bandwidth Usage and Network Latency]]&lt;br /&gt;
* [[Setting Up Fprobe And Ntop|Ntop]] &#039;&#039;(NetFlow collection and analysis using a remote fprobe instance)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Cvechecker]] &#039;&#039;(Compare installed packages for Common Vulnerabilities Exposure)&#039;&#039; &amp;lt;!-- Monitoring and Security --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[IP Accounting]] &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Obtaining user information via SNMP]] &#039;&#039;(Using squark-auth-snmp as a Squid authentication helper)&#039;&#039; &amp;lt;!-- Networking and Server, &amp;lt;== Using squark-auth-snmp --&amp;gt;&lt;br /&gt;
* [[SqStat]] &#039;&#039;(Script to look at active squid users connections)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Piwik]] &#039;&#039;(A real time web analytics software program)&#039;&#039;&lt;br /&gt;
* [[Awstats]] &#039;&#039;(Free log file analyzer)&#039;&#039;&lt;br /&gt;
* [[Intrusion Detection using Snort]]&lt;br /&gt;
** [[Intrusion Detection using Snort, Sguil, Barnyard and more]]&lt;br /&gt;
* [[Dglog]] &#039;&#039;(Log analyzer for the web content filter DansGuardian)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Webmin]] &#039;&#039;(A web-based interface for Linux system)&#039;&#039;&lt;br /&gt;
* [[PhpPgAdmin]] &#039;&#039;(Web-based administration tool for PostgreSQL)&#039;&#039;&lt;br /&gt;
* [[PhpMyAdmin]] &#039;&#039;(Web-based administration tool for MYSQL)&#039;&#039;&lt;br /&gt;
* [[PhpSysInfo]] &#039;&#039;(A simple application that displays information about the host it&#039;s running on)&#039;&#039;&lt;br /&gt;
* [[Linfo]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up lm_sensors]]&lt;br /&gt;
&lt;br /&gt;
* [[ZoneMinder video camera security and surveillance]]&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Shell]]&lt;br /&gt;
* [[:Category:Programming]]&lt;br /&gt;
* [[Running glibc programs]]&lt;br /&gt;
* [[:Category:Drivers]]&lt;br /&gt;
* [[:Category:Multimedia]]&lt;br /&gt;
* [[Kernel Modesetting]]&lt;br /&gt;
* [[CPU frequency scaling]]&lt;br /&gt;
&lt;br /&gt;
== Complete Solutions ==&lt;br /&gt;
* [[DIY Fully working Alpine Linux for Allwinner and Other ARM SOCs]]&lt;br /&gt;
* [https://codeberg.org/AVG7/alpine-sway-x86_64 DIY Live-USB-Stick with Sway] &lt;br /&gt;
* [[Alpine on the Aopen Chromebase or Chromebox Mini with Mainline Kernel]]&lt;br /&gt;
* [[Replacing non-Alpine Linux with Alpine remotely]]&lt;br /&gt;
* [[High performance SCST iSCSI Target on Linux software Raid]]&lt;br /&gt;
* [[Fault Tolerant Routing with Alpine Linux]]&lt;br /&gt;
* [[Experiences with OpenVPN-client on ALIX.2D3]]&lt;br /&gt;
* [[Building a cloud with Alpine Linux]]&lt;br /&gt;
&lt;br /&gt;
* [[ISP Mail Server HowTo]] &#039;&#039;(Postfix+PostfixAdmin+DoveCot+Roundcube+ClamAV+Spamd - A full-serivce ISP mail server)&#039;&#039;&lt;br /&gt;
** [[ISP Mail Server Upgrade 2.x]]&lt;br /&gt;
** [[ISP Mail Server 2.x HowTo]] &#039;&#039;(Beta, please test)&#039;&#039;&lt;br /&gt;
* [[High Availability High Performance Web Cache]] &#039;&#039;(uCarp + HAProxy for High Availability Services such as Squid web proxy)&#039;&#039;&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039; &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
* [[Streaming Security Camera Video with VLC]]&lt;br /&gt;
* [[Dynamic Multipoint VPN (DMVPN)]] combined with [[Small_Office_Services]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
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]].&lt;br /&gt;
&lt;br /&gt;
== Drafts ==&lt;br /&gt;
Currently unfinished/works-in-progress.&lt;br /&gt;
* [[Using Racoon for Remote Sites]]&lt;br /&gt;
* [[Setting up Transparent Squid Proxy]] &#039;&#039;(Covers Squid proxy and URL Filtering system)&#039;&#039;&lt;br /&gt;
** [[Obtaining user information via SNMP]] &#039;&#039;(Using the Squark Squid authentication helper)&#039;&#039; [!-- no longer a draft --]&lt;br /&gt;
* [[Setting up Streaming an Asterisk Channel]]&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039;&lt;br /&gt;
* [[Intrusion Detection using Snort]] &#039;&#039;(Installing and configuring Snort and related applications on Alpine 2.0.x)&#039;&#039;&lt;br /&gt;
* [[IP Accounting]] &#039;&#039;(Installing and configuring pmacct for IP Accounting, Netflow/sFlow collector)&#039;&#039;&lt;br /&gt;
* [[Disk Replication with DRBD]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Newbies ==&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_newbie]] (for overall information in funny sections)&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_newbie_apk_packages|Alpine newbie users post install and easy setups]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#New_users:_hostname_and_network_wired_connection|First steps at post install]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#New_users:_common_needed_package_to_install|Enable repositories]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#New_users:_management_of_users_and_logins|Added the first user to use the system]]&lt;br /&gt;
** [[Alpine_newbie_apk_packages#install_basic_tools|First packages to install]] (need the previous [[Alpine_newbie_apk_packages#New_users:_common_needed_package_to_install|Enable repositories]]) already done!&lt;br /&gt;
&lt;br /&gt;
==== Installation: Use cases ====&lt;br /&gt;
&lt;br /&gt;
* [[Alpine newbie install manual]]&lt;br /&gt;
** [[Alpine Install: from a disc to a new computer single only boot]]&lt;br /&gt;
** [[Alpine Install: from a disc to a old computer single only boot]]&lt;br /&gt;
** [[Alpine Install: from a disc to a virtualbox machine single only]]&lt;br /&gt;
** [[Alpine Install: from a iso to a virtualbox machine with external disc]]&lt;br /&gt;
* [[Alpine_newbie_install_manual#Ways_to_install_Alpine_listed_by_architectures|Ways to install listed by architectures]]&lt;br /&gt;
** [[Alpine_newbie_install_manual#x86_64_x86_32_x86|x86_64 x86_32 x86 s390]]&lt;br /&gt;
** [[Alpine_newbie_install_manual#armhf_armv7|armhf armv7 aarch64]]&lt;br /&gt;
** [[Alpine_newbie_install_manual#ppc64le|ppc64le others PPC]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Newbie]]&lt;br /&gt;
[[Category:System_Administration]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Desktop_environments_and_Window_managers&amp;diff=21381</id>
		<title>Desktop environments and Window managers</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Desktop_environments_and_Window_managers&amp;diff=21381"/>
		<updated>2022-01-06T13:32:50Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Alpine Linux&#039;&#039;&#039; has no official desktop. Older versions used Xfce, but now, all GUI and graphical interfaces are optional. many are available and is attempted to be listed below:&lt;br /&gt;
&lt;br /&gt;
== Desktop environments ==&lt;br /&gt;
&lt;br /&gt;
# [[Xfce]]&lt;br /&gt;
# [[LXQt]]&lt;br /&gt;
# [[KDE|KDE Plasma]]&lt;br /&gt;
# [[Gnome]]&lt;br /&gt;
# [[MATE]]&lt;br /&gt;
&lt;br /&gt;
==  [https://en.wikipedia.org/wiki/Stacking_window_manager Stacking (floating) window managers] ==&lt;br /&gt;
&lt;br /&gt;
* [[Openbox]]&lt;br /&gt;
&lt;br /&gt;
== [https://en.wikipedia.org/wiki/Tiling_window_manager Tiling (dynamic) window managers] ==&lt;br /&gt;
&lt;br /&gt;
* [[Dwm]]&lt;br /&gt;
&lt;br /&gt;
* [[AwesomeWM|Awesome Window Manager]]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Fonts]]&lt;br /&gt;
[[Category:Desktop]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Desktop_environments_and_Window_managers&amp;diff=21380</id>
		<title>Desktop environments and Window managers</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Desktop_environments_and_Window_managers&amp;diff=21380"/>
		<updated>2022-01-06T13:32:38Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: please do not mix my newbie categories..&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Alpine Linux&#039;&#039;&#039; has no official desktop. Older versions used Xfce, but now, all GUI and graphical interfaces are optional. many are available and is attempted to be listed below:&lt;br /&gt;
&lt;br /&gt;
== Desktop environments ==&lt;br /&gt;
&lt;br /&gt;
# [[Xfce]]&lt;br /&gt;
# [[LXQt]]&lt;br /&gt;
# [[KDE|KDE Plasma]]&lt;br /&gt;
# [[Gnome]]&lt;br /&gt;
# [[MATE]]&lt;br /&gt;
&lt;br /&gt;
==  [https://en.wikipedia.org/wiki/Stacking_window_manager Stacking (floating) window managers] ==&lt;br /&gt;
&lt;br /&gt;
* [[Openbox]]&lt;br /&gt;
&lt;br /&gt;
== [https://en.wikipedia.org/wiki/Tiling_window_manager Tiling (dynamic) window managers] ==&lt;br /&gt;
&lt;br /&gt;
* [[Dwm]]&lt;br /&gt;
&lt;br /&gt;
* [[AwesomeWM|Awesome Window Manager]]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Fonts]]&lt;br /&gt;
[[Category:Desktop]]&lt;br /&gt;
[[Category:Newbie]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21360</id>
		<title>User talk:Guest09248</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21360"/>
		<updated>2022-01-05T19:50:31Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello, thank you for proposing several articles for deletion on the wiki, this calls attention to the fact that some of these articles need help.  Please when doing so do not blank or replace the entire article; simply add the proposal for deletion template to the top of the article, and then add your rationale to the article talk page so that a consensus can be reached.&lt;br /&gt;
&lt;br /&gt;
For instance, I have no idea why you want [[HOWTO OpenSSH 2FA with password and Google Authenticator]] deleted, so I have reverted your blanking there. That article is, to my knowledge, up-to-date.&lt;br /&gt;
&lt;br /&gt;
Thanks, [[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 22:40, 8 December 2021 (UTC)&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
hey .. thanks for grammar fixes, i appreciate your contributions to Alpine newbie section but take a look at:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolwikialpineinteelgram2021.png|frameless|center|Last pool about wiki pages, it seems my ones are the best]]&lt;br /&gt;
&lt;br /&gt;
that was from 2021 Dec, the 2019 is worse, i made a new pool about my pages and it seems in 2019 were better than today and the newbie pages are a still in progress structure.. please dont move structure and mix with official wiki pages.. &lt;br /&gt;
&lt;br /&gt;
By example my LAMP (the worse software piece of) page is a well received only by noobs.. but xperts will hate it! (in few days will have more negative reactions):&lt;br /&gt;
&lt;br /&gt;
[[File:Poolaboutlampwikipage.png|frameless|center|pool about reception of my worse wiki made page!]]&lt;br /&gt;
&lt;br /&gt;
take more at: https://t.me/s/alpine_linux/539 noobs will said &amp;quot;good&amp;quot; and people that are envy will compared with arch.. that&#039;s why you must explain why and all those comments has a piece of true.. and yes.. is more for noobs cos it said &amp;quot;newbie&amp;quot; .. experts users just read their own wikis as i made for my job..&lt;br /&gt;
&lt;br /&gt;
[[User:Mckaygerhard|Mckaygerhard]] ([[User talk:Mckaygerhard|talk]]) 12:40, 5 Jan 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21359</id>
		<title>User talk:Guest09248</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21359"/>
		<updated>2022-01-05T19:49:48Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello, thank you for proposing several articles for deletion on the wiki, this calls attention to the fact that some of these articles need help.  Please when doing so do not blank or replace the entire article; simply add the proposal for deletion template to the top of the article, and then add your rationale to the article talk page so that a consensus can be reached.&lt;br /&gt;
&lt;br /&gt;
For instance, I have no idea why you want [[HOWTO OpenSSH 2FA with password and Google Authenticator]] deleted, so I have reverted your blanking there. That article is, to my knowledge, up-to-date.&lt;br /&gt;
&lt;br /&gt;
Thanks, [[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 22:40, 8 December 2021 (UTC)&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
hey .. thanks for grammar fixes, i appreciate your contributions to Alpine newbie section but take a look at:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolwikialpineinteelgram2021.png|frameless|center|Last pool about wiki pages, it seems my ones are the best]]&lt;br /&gt;
&lt;br /&gt;
that was from 2021 Dec, the 2019 is worse, i made a new pool about my pages and it seems in 2019 were better than today and the newbie pages are a still in progress structure.. please dont move structure and mix with official wiki pages.. &lt;br /&gt;
&lt;br /&gt;
By example my LAMP (the worse software piece of) page is a well received:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolaboutlampwikipage.png|frameless|center|pool about reception of my worse wiki made page!]]&lt;br /&gt;
&lt;br /&gt;
take more at: https://t.me/s/alpine_linux/539 noobs will said &amp;quot;good&amp;quot; and people that are envy will compared with arch.. that&#039;s why you must explain why and all those comments has a piece of true.. and yes.. is more for noobs cos it said &amp;quot;newbie&amp;quot; .. experts users just read their own wikis as i made for my job..&lt;br /&gt;
&lt;br /&gt;
[[User:Mckaygerhard|Mckaygerhard]] ([[User talk:Mckaygerhard|talk]]) 12:40, 5 Jan 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21347</id>
		<title>User talk:Guest09248</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21347"/>
		<updated>2022-01-05T18:36:43Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello, thank you for proposing several articles for deletion on the wiki, this calls attention to the fact that some of these articles need help.  Please when doing so do not blank or replace the entire article; simply add the proposal for deletion template to the top of the article, and then add your rationale to the article talk page so that a consensus can be reached.&lt;br /&gt;
&lt;br /&gt;
For instance, I have no idea why you want [[HOWTO OpenSSH 2FA with password and Google Authenticator]] deleted, so I have reverted your blanking there. That article is, to my knowledge, up-to-date.&lt;br /&gt;
&lt;br /&gt;
Thanks, [[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 22:40, 8 December 2021 (UTC)&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
hey .. thanks for grammar fixes, i appreciate your contributions to Alpine newbie section but take a look at:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolwikialpineinteelgram2021.png|frameless|center|Last pool about wiki pages, it seems my ones are the best]]&lt;br /&gt;
&lt;br /&gt;
that was from 2021 Dec, the 2019 is worse, i made a new pool about my pages and it seems in 2019 were better than today and the newbie pages are a still in progress structure.. please dont move structure and mix with official wiki pages.. &lt;br /&gt;
&lt;br /&gt;
By example my LAMP (the worse software piece of) page is a well received:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolaboutlampwikipage.png|frameless|center|pool about reception of my worse wiki made page!]]&lt;br /&gt;
&lt;br /&gt;
take more at: https://t.me/s/alpine_linux/539&lt;br /&gt;
&lt;br /&gt;
[[User:Mckaygerhard|Mckaygerhard]] ([[User talk:Mckaygerhard|talk]]) 12:40, 5 Jan 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21345</id>
		<title>User talk:Guest09248</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21345"/>
		<updated>2022-01-05T18:33:45Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello, thank you for proposing several articles for deletion on the wiki, this calls attention to the fact that some of these articles need help.  Please when doing so do not blank or replace the entire article; simply add the proposal for deletion template to the top of the article, and then add your rationale to the article talk page so that a consensus can be reached.&lt;br /&gt;
&lt;br /&gt;
For instance, I have no idea why you want [[HOWTO OpenSSH 2FA with password and Google Authenticator]] deleted, so I have reverted your blanking there. That article is, to my knowledge, up-to-date.&lt;br /&gt;
&lt;br /&gt;
Thanks, [[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 22:40, 8 December 2021 (UTC)&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
hey .. thanks for grammar fixes, i appreciate your contributions to Alpine newbie section but take a look at:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolwikialpineinteelgram2021.png|frameless|center|Last pool about wiki pages, it seems my ones are the best]]&lt;br /&gt;
&lt;br /&gt;
that was from 2021 Dec, the 2019 is worse, i made a new pool about my pages and it seems in 2019 were better than today and the newbie pages are a still in progress structure.. please dont move structure and mix with official wiki pages.. &lt;br /&gt;
&lt;br /&gt;
By example my LAMP (the worse software piece of) page is a well received:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolaboutlampwikipage.png|frameless|center|pool about reception of my worse wiki made page!]]&lt;br /&gt;
&lt;br /&gt;
take more at: https://t.me/s/alpine_linux/541&lt;br /&gt;
&lt;br /&gt;
[[User:Mckaygerhard|Mckaygerhard]] ([[User talk:Mckaygerhard|talk]]) 12:40, 5 Jan 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21344</id>
		<title>User talk:Guest09248</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21344"/>
		<updated>2022-01-05T18:32:39Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello, thank you for proposing several articles for deletion on the wiki, this calls attention to the fact that some of these articles need help.  Please when doing so do not blank or replace the entire article; simply add the proposal for deletion template to the top of the article, and then add your rationale to the article talk page so that a consensus can be reached.&lt;br /&gt;
&lt;br /&gt;
For instance, I have no idea why you want [[HOWTO OpenSSH 2FA with password and Google Authenticator]] deleted, so I have reverted your blanking there. That article is, to my knowledge, up-to-date.&lt;br /&gt;
&lt;br /&gt;
Thanks, [[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 22:40, 8 December 2021 (UTC)&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
hey .. thanks for grammar fixes, i appreciate your contributions to Alpine newbie section but take a look at:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolwikialpineinteelgram2021.png|frameless|center|Last pool about wiki pages, it seems my ones are the best]]&lt;br /&gt;
&lt;br /&gt;
that was from 2021 Dec, the 2019 is worse, i made a new pool about my pages and it seems in 2019 were better than today and the newbie pages are a still in progress structure.. please dont move structure and mix with official wiki pages.. &lt;br /&gt;
&lt;br /&gt;
By example my LAMP (the worse software piece of) page is a well received:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolaboutlampwikipage.png|thumb|pool about reception of my worse wiki made page!]]&lt;br /&gt;
&lt;br /&gt;
[[User:Mckaygerhard|Mckaygerhard]] ([[User talk:Mckaygerhard|talk]]) 12:40, 5 Jan 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21343</id>
		<title>User talk:Guest09248</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User_talk:Guest09248&amp;diff=21343"/>
		<updated>2022-01-05T18:31:49Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: thanks but please mantain structure of newbie pages separate from wiki ones&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello, thank you for proposing several articles for deletion on the wiki, this calls attention to the fact that some of these articles need help.  Please when doing so do not blank or replace the entire article; simply add the proposal for deletion template to the top of the article, and then add your rationale to the article talk page so that a consensus can be reached.&lt;br /&gt;
&lt;br /&gt;
For instance, I have no idea why you want [[HOWTO OpenSSH 2FA with password and Google Authenticator]] deleted, so I have reverted your blanking there. That article is, to my knowledge, up-to-date.&lt;br /&gt;
&lt;br /&gt;
Thanks, [[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 22:40, 8 December 2021 (UTC)&lt;br /&gt;
&lt;br /&gt;
hey .. thanks for grammar fixes, i appreciate your contributions to Alpine newbie section but take a look at:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolwikialpineinteelgram2021.png|frameless|center|Last pool about wiki pages, it seems my ones are the best]]&lt;br /&gt;
&lt;br /&gt;
that was from 2021 Dec, the 2019 is worse, i made a new pool about my pages and it seems in 2019 were better than today and the newbie pages are a still in progress structure.. please dont move structure and mix with official wiki pages.. &lt;br /&gt;
&lt;br /&gt;
By example my LAMP (the worse software piece of) page is a well received:&lt;br /&gt;
&lt;br /&gt;
[[File:Poolaboutlampwikipage.png|thumb|pool about reception of my worse wiki made page!]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=File:Poolaboutlampwikipage.png&amp;diff=21342</id>
		<title>File:Poolaboutlampwikipage.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=File:Poolaboutlampwikipage.png&amp;diff=21342"/>
		<updated>2022-01-05T18:31:13Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Pool about the newbie version of LAMP mysql + php wiki page made by mckaygerhard respect rest of wiki.&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:Mckaygerhard&amp;diff=21341</id>
		<title>User:Mckaygerhard</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:Mckaygerhard&amp;diff=21341"/>
		<updated>2022-01-05T18:26:48Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= &amp;quot;PICCORO&amp;quot; Герхард Lenz McKAY =&lt;br /&gt;
&lt;br /&gt;
For spanish users: https://mckayemu.github.io/alpineinstalls/&lt;br /&gt;
&lt;br /&gt;
* https://gitlab.alpinelinux.org/mckaygerhard/alpine-newbie&lt;br /&gt;
&lt;br /&gt;
Documenting in proper way the lack of alpine documentation.&lt;br /&gt;
&lt;br /&gt;
[[File:Poolwikialpineinteelgram2021.png|frameless|center|Last pool about wiki pages, it seems my ones are the best]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:Mckaygerhard&amp;diff=21340</id>
		<title>User:Mckaygerhard</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:Mckaygerhard&amp;diff=21340"/>
		<updated>2022-01-05T18:24:24Z</updated>

		<summary type="html">&lt;p&gt;Mckaygerhard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= &amp;quot;PICCORO&amp;quot; Герхард Lenz McKAY =&lt;br /&gt;
&lt;br /&gt;
For spanish users: https://mckayemu.github.io/alpineinstalls/&lt;br /&gt;
&lt;br /&gt;
* https://gitlab.alpinelinux.org/mckaygerhard/alpine-newbie&lt;br /&gt;
&lt;br /&gt;
Documenting in proper way the lack of alpine documentation.&lt;br /&gt;
&lt;br /&gt;
[[File:Poolwikialpineinteelgram2022.png|Last 2021 pool about wiki pages, it seems my editing are the only good!]]&lt;/div&gt;</summary>
		<author><name>Mckaygerhard</name></author>
	</entry>
</feed>