<?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=CorruptedBear</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=CorruptedBear"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/CorruptedBear"/>
	<updated>2026-05-07T04:21:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installation&amp;diff=16087</id>
		<title>Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installation&amp;diff=16087"/>
		<updated>2019-08-04T13:31:35Z</updated>

		<summary type="html">&lt;p&gt;CorruptedBear: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following information will assist you with the installation of [http://alpinelinux.org/about Alpine Linux].&lt;br /&gt;
[[Image:hdd_mount.png|left|link=]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation Quick-Start in 3 Easy Steps ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; font-size:30px; font-weight:bold;&amp;quot;&amp;gt;&lt;br /&gt;
1st&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:65px; background-color:#EDF2F2; border-style:solid; border-color:#6F7C91; border-width:0px; border-left-width:5px; min-height:55px; padding:5px;&amp;quot;&amp;gt;&lt;br /&gt;
[http://alpinelinux.org/downloads Download] one of the latest stable-release ISOs. Then compare the image&#039;s checksum to the one in the corresponding checksum file (&amp;lt;code&amp;gt;*.sha256&amp;lt;/code&amp;gt;) and verify its GPG signature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; font-size:30px; font-weight:bold;&amp;quot;&amp;gt;&lt;br /&gt;
2nd&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:65px; background-color:#E0E9E9; border-style:solid; border-color:#606A82; border-width:0px; border-left-width:5px; min-height:55px; padding:5px;&amp;quot;&amp;gt;&lt;br /&gt;
If you have a CD drive from which you can boot, then [[Burning ISOs|burn the ISO onto a blank CD]] using your favorite CD burning software. Else [[Create a Bootable USB|create a bootable USB drive]].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; font-size:30px; font-weight:bold;&amp;quot;&amp;gt;&lt;br /&gt;
3rd&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:65px; background-color:#9faecc; border-style:solid; border-color:#324065; border-width:0px; border-left-width:5px; min-height:55px; padding:5px;&amp;quot;&amp;gt;&lt;br /&gt;
Boot from the CD or USB drive, login as root with no password, and voilà! Enjoy Alpine Linux!&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Clear}}&lt;br /&gt;
One of the [[Installation#Post-Install|first commands you might want to use]] is &amp;lt;code&amp;gt;[[setup-alpine]]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Installation Handbook ==&lt;br /&gt;
=== Basics ===&lt;br /&gt;
Alpine can be used in any of three modes:&lt;br /&gt;
&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;diskless mode&lt;br /&gt;
&amp;lt;dd&amp;gt;You&#039;ll boot from a read-only medium such as the installation CD, a [[Create a Bootable USB|USB drive]], or a [[Create a Bootable Compact Flash|Compact Flash card]]. {{Tip| To prepare either a USB or Compact Flash card, you can use the &amp;lt;code&amp;gt;[[setup-bootable]]&amp;lt;/code&amp;gt; script; see the pages linked above for details.}} When you use Alpine in this mode, you need to use [[Alpine local backup|Alpine Local Backup (lbu)]] to save your modifications between reboots. That requires some writable medium, usually removable. If your boot medium is, for example, a USB drive, you can save modifications there; you don&#039;t need a separate partition or drive. See also [[Local APK cache]].&lt;br /&gt;
{{Note| When the &amp;lt;code&amp;gt;[[setup-alpine]]&amp;lt;/code&amp;gt; script asks for a disk, say &amp;quot;none&amp;quot;. It will then prompt whether you&#039;d like to preserve modifications on any writable medium.}}&lt;br /&gt;
&amp;lt;dt&amp;gt;data mode&lt;br /&gt;
&amp;lt;dd&amp;gt;As in diskless mode, your OS is run from a read-only medium. However, here a writable partition (usually on a hard disk) is used to store the data in {{Path|/var}}. That partition is accessed directly, rather than copied into a tmpfs; so this is better-suited to uses where large amounts of data need to be preserved between reboots. {{Note| The &amp;lt;code&amp;gt;[[setup-alpine]]&amp;lt;/code&amp;gt; script handles installing Alpine in this mode, too, when you supply a writable partition instead of &amp;quot;none&amp;quot;, and request mode &amp;quot;data&amp;quot;.}} This mode may be used for mailspools, database and log servers, and so on.&lt;br /&gt;
&amp;lt;dt&amp;gt;sys mode&lt;br /&gt;
&amp;lt;dd&amp;gt;This is a [[Install to disk|traditional hard-disk install]] (see link for details). &amp;lt;!-- includes [[Installing Alpine on HDD overwriting everything]] --&amp;gt; Both the boot system and your modifications are written to the hard disk in a standard Linux hierarchy. {{Note| The &amp;lt;code&amp;gt;[[setup-alpine]]&amp;lt;/code&amp;gt; script handles installing Alpine in this mode, too, when you supply a writable partition instead of &amp;quot;none&amp;quot;, and request mode &amp;quot;sys&amp;quot;. By default, it will create three partions on your disk for {{Path|/boot}}, {{Path|/}}, and {{Path|swap}}; however you can also [[Setting up disks manually|partition your disk manually]].&lt;br /&gt;
}} This mode may be used for [[Desktops|desktops]], development boxes, and virtual servers.&lt;br /&gt;
    &amp;lt;!-- [[Native Harddisk Install 1.6]] Obsolete --&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Advanced ===&lt;br /&gt;
* [[Kernels]]&lt;br /&gt;
* [[Create UEFI boot USB]]&lt;br /&gt;
* [[Tutorials_and_Howtos#Storage|Setting up storage with RAID, LVM, LUKS encryption, iSCSI, or suchlike]]&lt;br /&gt;
* [[Setting up disks manually]]&lt;br /&gt;
* [[Partitioning and Bootmanagers]]&lt;br /&gt;
* [[Migrating data]]&lt;br /&gt;
* Details about [[Alpine setup scripts]]&lt;br /&gt;
&lt;br /&gt;
* [[Installing Alpine on HDD dualbooting|Install to HDD with dual-boot]]&lt;br /&gt;
* [[Create A VirtualBox Guest with Grub and XFS]]&lt;br /&gt;
* [[Replacing non-Alpine Linux with Alpine remotely]]&lt;br /&gt;
&amp;lt;!-- [[Installing Xubuntu using Alpine boot floppy]] Obsolete --&amp;gt;&lt;br /&gt;
&amp;lt;!-- [[Installing Alpine Linux on USB Automated]] Obsolete --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Bootstrapping Alpine Linux]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- If you edit the following, please coordinate with Developer_Documentation#Configuring_your_system.  Note that these two sections are not exact duplicates. --&amp;gt;&lt;br /&gt;
* [[Installing Alpine Linux in a chroot]]&lt;br /&gt;
* [[Install Alpine on LXC]]&lt;br /&gt;
* [[Install Alpine on LXD|Install Alpine on Ubuntu with LXD]]&lt;br /&gt;
* Install Alpine on [[Install Alpine on VirtualBox|VirtualBox]], [[Install Alpine on VMware|VMware]], [[Install Alpine on coLinux|coLinux]], [[Qemu]], &amp;lt;!-- includes [[Install Alpine in Qemu]], [[Running Alpine in Qemu Live mode]], [[Running Alpine Linux As a QEMU networked Guest]], --&amp;gt; [[Install Alpine on Amazon EC2|Amazon EC2]], or [[Install Alpine on Rackspace|RackSpace]]&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 LiveCD]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a basic vserver]]&lt;br /&gt;
* [[Setting up the build environment on HDD]]&lt;br /&gt;
* [[Setting up a compile vserver]] for official or for [[Setting up a compile vserver for third party packages|third party]] packages&lt;br /&gt;
&amp;lt;!-- [[Create an Alpine 1.9 vserver template]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Post-Install ===&lt;br /&gt;
&amp;lt;!-- If you edit this, please coordinate with and Tutorials_and_Howtos#Post-Install and Developer_Documentation#Package_management. Note that these three sections are not exact duplicates. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- [[Configure Networking]] --&amp;gt;&lt;br /&gt;
* [[Tutorials_and_Howtos#Networking|Setting up Networking]]&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;
* [[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|Back Up a Flash Memory (&amp;quot;diskless mode&amp;quot;) Installation]]&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;
&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;
* [[setup-acf]] &#039;&#039;(Configures ACF (webconfiguration) so you can manage your box through https)&#039;&#039;&lt;br /&gt;
* [[Hosting services on Alpine]]&#039;&#039;(Links to several mail/web/ssh server setup pages)&#039;&#039;&lt;br /&gt;
* [[Changing passwords for ACF|Changing passwords]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- [[Running glibc programs]] Installation and Dev --&amp;gt;&lt;br /&gt;
* [[Setting the timezone]] &#039;&#039;(Not needed for the default musl- or uClibc-based installs)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a new user]]&lt;br /&gt;
&lt;br /&gt;
=== Further Help and Information ===&lt;br /&gt;
* [[FAQ|FAQs]]&lt;br /&gt;
* [[Tutorials and Howtos]]&lt;br /&gt;
* [[Contribute|How to Contribute]]&lt;br /&gt;
* [[Developer Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>CorruptedBear</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_new_user&amp;diff=16086</id>
		<title>Setting up a new user</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_new_user&amp;diff=16086"/>
		<updated>2019-08-04T05:56:25Z</updated>

		<summary type="html">&lt;p&gt;CorruptedBear: Created page with &amp;quot;Creating a user is an important step when first configuring a Linux system. Generally &amp;#039;&amp;#039;root&amp;#039;&amp;#039; account is used for administration only as it has access to the operating system...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Creating a user is an important step when first configuring a Linux system. Generally &#039;&#039;root&#039;&#039; account is used for administration only as it has access to the operating system and its configuration.&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
When Alpine Linux is first installed by default it comes with the user &#039;&#039;root&#039;&#039; with no password set. For security reasons it&#039;s always a good idea to either set a password to the user &#039;&#039;root&#039;&#039; or disabling the login to the user, which its why is suggested to run &amp;lt;code&amp;gt;[[setup-alpine]]&amp;lt;/code&amp;gt; to change &#039;&#039;root&#039;&#039; password.&lt;br /&gt;
&lt;br /&gt;
Creating an account allows it to have it&#039;s own $HOME directory and allows you to limit access to the configuration of the operating system for security reasons.&lt;br /&gt;
&lt;br /&gt;
= Creating a new user =&lt;br /&gt;
&lt;br /&gt;
Using the command &#039;&#039;&#039;adduser&#039;&#039;&#039; will allow you to create a new user in the system.&lt;br /&gt;
 # adduser --help&lt;br /&gt;
 Usage: adduser [OPTIONS] USER [GROUP]&lt;br /&gt;
 Create new user, or add USER to GROUP&lt;br /&gt;
 -h DIR		Home directory&lt;br /&gt;
 -g GECOS	GECOS field&lt;br /&gt;
 -s SHELL	Login shell&lt;br /&gt;
 -G GRP		Group&lt;br /&gt;
 -S		Create a system user&lt;br /&gt;
 -D		Don&#039;t assign a password&lt;br /&gt;
 -H		Don&#039;t create home directory&lt;br /&gt;
 -u UID		User id&lt;br /&gt;
 -k SKEL		Skeleton directory (/etc/skel)&lt;br /&gt;
&lt;br /&gt;
If no &#039;&#039;OPTIONS&#039;&#039; is set, by default when creating a new user, it will create a home directory in {{Path|/home/&amp;lt;username&amp;gt;}}, with the shell set that uses the &#039;&#039;root&#039;&#039; account (ash by default), user ID and group ID 1000+, and the GECOS field &#039;&#039;Linux User,,,&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Example creating a user ==&lt;br /&gt;
{{Cmd|adduser test}}&lt;br /&gt;
&lt;br /&gt;
It will prompt to set a password for the new user&lt;br /&gt;
 # adduser test&lt;br /&gt;
 Changing password for test&lt;br /&gt;
 New password: &lt;br /&gt;
 Retype password: &lt;br /&gt;
 passwd: password for test changed by root&lt;br /&gt;
&lt;br /&gt;
The new user can be seen in &lt;br /&gt;
&lt;br /&gt;
{{Cat|/etc/passwd|root:x:0:0:root:/root:/bin/ash&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
test:x:1000:1000:Linux User,,,:/home/test:/bin/ash}}&lt;br /&gt;
&lt;br /&gt;
You can now &#039;&#039;exit&#039;&#039; and login to the new account.&lt;br /&gt;
&lt;br /&gt;
= TODO =&lt;br /&gt;
Adding user to a group?, Privilege escalation with sudo?&lt;/div&gt;</summary>
		<author><name>CorruptedBear</name></author>
	</entry>
</feed>