All Projects β†’ Cyclenerd β†’ Postinstall

Cyclenerd / Postinstall

Licence: gpl-3.0
πŸ’» Bash Script to automate post-installation steps

Programming Languages

shell
77523 projects
bash
514 projects

Projects that are alternatives of or similar to Postinstall

Serverfarmer
Manage multiple servers with different operating systems, configurations, requirements etc. for many separate customers in an outsourcing model.
Stars: ✭ 122 (+17.31%)
Mutual labels:  redhat, ubuntu, debian, centos, freebsd, netbsd
Anlinux Resources
Image and Script for LinuxOnAndroid App
Stars: ✭ 135 (+29.81%)
Mutual labels:  termux, ubuntu, debian, centos, arch-linux, fedora
Anlinux Adfree
AnLinux, Ad free version.
Stars: ✭ 127 (+22.12%)
Mutual labels:  termux, ubuntu, debian, centos, arch-linux, fedora
Anlinux App
AnLinux allow you to run Linux on Android without root access.
Stars: ✭ 614 (+490.38%)
Mutual labels:  termux, ubuntu, debian, centos, arch-linux, fedora
Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (+191.35%)
Mutual labels:  ubuntu, debian, centos, freebsd, fedora, openbsd
Ansible Role Apache
Ansible Role - Apache 2.x.
Stars: ✭ 341 (+227.88%)
Mutual labels:  redhat, ubuntu, debian, centos, fedora
Openvpn Install
Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
Stars: ✭ 7,142 (+6767.31%)
Mutual labels:  ubuntu, debian, centos, arch-linux, fedora
Wslu
A collection of utilities for Windows 10 Linux Subsystems
Stars: ✭ 2,020 (+1842.31%)
Mutual labels:  ubuntu, debian, centos, arch-linux, alpine-linux
Mg
Micro (GNU) Emacs-like text editor ❀️ public-domain
Stars: ✭ 117 (+12.5%)
Mutual labels:  debian, freebsd, openbsd, alpine-linux, netbsd
ansible-role-daemonize
Ansible Role - Daemonize.
Stars: ✭ 14 (-86.54%)
Mutual labels:  debian, ubuntu, fedora, centos, redhat
Iredmail
Full-featured, open source mail server solution for mainstream Linux/BSD distributions.
Stars: ✭ 343 (+229.81%)
Mutual labels:  ubuntu, debian, centos, freebsd, openbsd
Ansible Mariadb Galera Cluster
Stars: ✭ 49 (-52.88%)
Mutual labels:  hacktoberfest, redhat, ubuntu, debian, centos
Howdy
πŸ›‘οΈ Windows Helloβ„’ style facial authentication for Linux
Stars: ✭ 3,237 (+3012.5%)
Mutual labels:  hacktoberfest, ubuntu, debian, arch-linux, fedora
Ansible Role Security
Ansible Role - Security
Stars: ✭ 398 (+282.69%)
Mutual labels:  redhat, ubuntu, debian, centos, fedora
piu
Cross platform package manager wrapper
Stars: ✭ 33 (-68.27%)
Mutual labels:  debian, fedora, centos, arch-linux, alpine-linux
Atilo
Linux installer for termux
Stars: ✭ 629 (+504.81%)
Mutual labels:  termux, ubuntu, debian, centos, fedora
Fpm Within Docker
Leverage fpm inside pre-baked docker images in order to build and test native DEB and RPM packages.
Stars: ✭ 80 (-23.08%)
Mutual labels:  ubuntu, debian, centos, fedora
darknet.py
darknet.py is a network application with no dependencies other than Python and Tor, useful to anonymize the traffic of linux servers and workstations.
Stars: ✭ 71 (-31.73%)
Mutual labels:  debian, ubuntu, fedora, centos
Ansible Role Firewall
Ansible Role - iptables Firewall configuration.
Stars: ✭ 343 (+229.81%)
Mutual labels:  ubuntu, debian, centos, fedora
Ansible Role Docker
Ansible Role - Docker
Stars: ✭ 845 (+712.5%)
Mutual labels:  redhat, ubuntu, debian, centos

postinstall.sh

Build Status

Bash Script to automate post-installation steps. Helps to install packages on different operating systems.

Apple macOS Arch Linux CentOS Debian Fedora FreeBSD Mageia OpenBSD Red Hat SUSE Slackware Ubuntu Android Termux Alpine Linux

Puppy, Cygwin and Haiku are also supported.

Overview

postinstall.sh is simple bash shell script which in turn generates scripts. The generation depends on the operating system and type of installation. The templates that are included in the generation can be stored in the file system or on a web server. This can also be your GitHub repository. Just fork this repository and edit it according to your needs.

postinstall.sh is not a configuration management system. If you want to install many servers automatically, you should look at ansible. But if you want to quickly reinstall your laptop or Raspberry Pi, postinstall.sh can help you.

Please check the Wiki for more information.

Installation

Download:

curl -f https://raw.githubusercontent.com/Cyclenerd/postinstall/master/postinstall.sh -o postinstall.sh

Alternative download with short URL:

curl -fL http://bit.ly/get_postinstall -o postinstall.sh

Create a package lists and scripts as explained in this repository or in the Wiki.

Example:

mkdir install
cd install
vi packages.list

Run as root:

bash postinstall.sh -b install

Usage

Usage: postinstall.sh [-t <TYPE>] [-b <BASE>] [-h]:
        [-t <TYPE>]      sets the type of installation (default: server)
        [-b <BASE>]      sets the base url or dir (default: https://raw.githubusercontent.com/Cyclenerd/postinstall/master/base)
        [-h]             displays help (this message)

Example: postinstall.sh or postinstall.sh -t workstation

Screenshot

WSL

Program Flow

  • Determine operating system and architecture
  • Check package manager and requirements
  • Generate script to run before and after installation and list of packages to install
  • Install packages

Requirements

Only bash, curl, tput (ncurses-utils) and a package manager for the respective operating system:

  • Alpine Linux β†’ apk
  • Apple macOS β†’ port or brew
  • Arch Linux β†’ pacman
  • Cygwin β†’ apt-cyg
  • Debian / Ubuntu β†’ apt-get
  • FreeBSD β†’ pkg
  • Haiku β†’ pkgman
  • Mageia β†’ urpmi
  • NetBSD β†’ pkg_add
  • OpenBSD β†’ pkg_add
  • OpenWRT β†’ opkg
  • Puppy β†’ pkg (https://gitlab.com/sc0ttj/Pkg)
  • Red Hat / Fedora / CentOS β†’ dnf or yum
  • Slackware β†’ slackpkg
  • SUSE / openSUSE β†’ zypper
  • Termux β†’ pkg

TODO

  • More and better documentation
  • Support for even more operating systems and package managers

Help is welcome πŸ‘

License

GNU Public License version 3. Please feel free to fork and modify this on GitHub (https://github.com/Cyclenerd/postinstall).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].