![]() ![]() Re-enter the password to confirm the process. You'll be prompted to set up a password for the user. To set a password for the user, use the passwd command: passwd username If you want to use another shell, you would change this option to the path to your preferred shell. The -h option specifies the home directory, while the -s option specifies the pathname for the shell, ash, which is the default shell for BusyBox and thus the shell installed in Alpine Linux. You'll replace "username" with the name of the user you want to use for login. To add another user, simply type: adduser -h /home/username -s /bin/ash/ username It's a security risk and you might accidentally damage important system files. You don't want to run as root all the time. When you first install Alpine, the only user is root. You'll want to make some customizations to the default system to make it truly useful. When you finally boot into your new Alpine installation, it's still pretty bare, with just the text console and the shell. You might try to install a package recommended in the documentation only to find out that it doesn't exist in the repository. Some of the information might be out of date. You can find more details on setting up Alpine on your machine in the documentation and the wiki. The script will ask you things like your keyboard layout and time zone and will help you in partitioning your disk as well. While Alpine doesn't hold your hand very much, they've included some scripts that will walk you through the installation process. If you've installed Arch Linux, this process will be familiar to you. All of the setup is done at the command line. This option is for those who really like to tailor systems to their requirements.Īt installation, you log into the booted system as root. You'll then have to download any other required packages. I hope this helps! Do I need to run setup-alpine?ĭifferences from the Default "Virtual" SetupIf you want to install a very minimal system, get the Netboot image, which only includes the bare minimum to boot and connect to the network. # Differences from the Default "Virtual" Setup The out of the box defaults should work for most people. You do not need to run 'alpine-setup' unless you wish to reconfigure your keyboard layout, hostname, package-mirrors, networking configuration, disk layout, ntp server, or cron daemon. In addition to the defaults, we add the following additional packages to provide a consistent command set for troubleshooting across our distributions:ĭescription # Do I need to run `setup-alpine`? A separate swap disk is used on our platform instead of a swap partition. This differs from the Alpine Linux default installation which would partition your disk and create a "/" partition, a "/boot" partition, and a swap partition. ![]() We use a partition-less disk layout which contains the "/" and "/boot" paths together on the same ext4 filesystem. We use the "Virtual" distribution in what I believe to be "sys mode", so we would not need to setup "persistence" per se as would be required if you were setting up a live-usb installation. Our Alpine Linux distribution image comes preconfigured as close as possible to the distribution defaults. Differences from the Default "Virtual" Setup ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |