Без опису

bach 4c6386e2b5 added warning about drupal 9 mariadb version and zfs+maridb bug 3 роки тому
assets bdb69186f3 added support for ipv6 on nginx confs 3 роки тому
bin d1adce6aa6 fixed git-repos path 3 роки тому
install.sh 5373b6c84b bug fix 3 роки тому
readme.md 4c6386e2b5 added warning about drupal 9 mariadb version and zfs+maridb bug 3 роки тому

readme.md

Install web server and secure it on alpine linux 3.12

/!\ WARNING if your file system is ZFS, will not be compatible with drupal 9 because of mariadb bug

https://bugs.alpinelinux.org/issues/9046

Branches

each alpine linux stable release has it's branch (master is a clone of the last one)

Features

  • upgrade
  • bash
  • misc (procps vim curl tmux etckeeper htop lynx unzip grep shadow coreutils certbot pwgen tzdata)
  • dotfiles
  • user
  • secure openssh
  • Ufw@edgecommunity
  • Fail2ban
  • Knockd
  • Mariadb (bug https://bugs.alpinelinux.org/issues/9046)
  • mysql backups
  • php7-fpm (7.3.22)
  • redis
  • Nginx
  • drush
  • composer
  • vhosts
  • letsencrypt
  • git barre repos
  • zabbix-agent (3.4 || 4)
  • urbackup-client
  • solr
  • Proftpd

how to use it

on a fresh install as root

0 you may need to install ssh server

apk add openssh
rc-update add sshd
/etc/init.d/sshd start

1 install git

apk add git

2 clone the repo

git clone -b 3.12 --single-branch https://figureslibres.io/gogs/bachir/alpine-web-werver.git

3 you have to be root

su

4 install bash

cd alpine-web-server
. bin/bash

5 run the full install

. install.sh

All script in bin/ can be ran seperatly, but from the repos source exclusively eg: . bin/vhost.sh. Be aware that all scripts need bash and some depends on packages and config installed by bin/misc.sh, run it once right after bin/bash.sh if you wont use the full install.sh.

ref

Alpine Linux wiki