Giter Club home page Giter Club logo

alpine.sh's Introduction

alpine.sh

An answerfile and automated post-install script for Alpine Linux

Forked from https://git.sr.ht/~henriquehbr/alpine.sh

After cloning, execute git config core.hooksPath hooks to enable git hooks

Generating the ISO

The instructions below assume you already have both docker and make installed on your computer

Run the command below to build and run the container that will generate the ISO:

make build-iso

When it's done, the ISO will be located on the iso directory

If you only want to only update APKBUILD checksums, pass the onlychecksum=0 argument when running build-iso, example below:

make build-iso onlychecksum=0

Installation

Boot into the newly created bootable media, and log in as root, and install alpine.sh package by running:

apk add alpine.sh

After installing alpine.sh, an answerfile will be created at /etc/profile.d/answerfile, edit it accordingly to your needs, these settings will determine many important aspects of your system

Remember to either log out and log in again for the variables to be set on your environment or to source it manually by running . /etc/profile.d/answerfile

With that out of the way, run the command below to install Alpine:

setup-alpine

The installation process will be entirely automated, with the exception of the root password, and the confirmation when formatting/partitioning the disk

When the installer finishes, remove the installation media, reboot, and log-in as root using the password you defined

Post-installation

The post-install script performs the finishing touches required to make the system more usable, to run it, simply run sh - -c post-install while connected to the admin user over SSH and follow the instructions on screen

And then you're done, enjoy your minimal Alpine Linux installation!

alpine.sh's People

Contributors

samuel-martineau avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.