Browse Source

changed default settings and added more pkgs

master
Dan 2 years ago
parent
commit
7aa45d119d
Signed by: dan GPG Key ID: 7DFC51AC7A70FBAB
1 changed files with 13 additions and 13 deletions
  1. +13
    -13
      airootfs/root/pwoss-server.sh

+ 13
- 13
airootfs/root/pwoss-server.sh View File

@ -5,12 +5,12 @@
# Installation script for Arch Linux.
# With LUKS, LVM, KDE and other packages.
#
# Visit https://git.pwoss.xyz/desktop/iso for latest code and other details
# Visit https://git.pwoss.org/server/iso for latest code and other details
#
############################ GPLv2 License
# Copyright (C) 11 Sept 2019 Modified by Daniel Sundermann for https://git.pwoss.xyz/desktop/iso
# Copyright (C) 22 June 2019 Adam Charlton at https://git.pwoss.xyz/server/iso
# Copyright (C) 11 Sept 2019 Modified by Daniel Sundermann for https://git.pwoss.org/server/iso
# Copyright (C) 22 June 2019 Adam Charlton at https://git.pwoss.org/server/iso
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
@ -46,10 +46,10 @@ CRYPTPWDROOT="pwoss" # Root partition
CRYPTPWDHOME="pwoss" # Home partition (Also gets a LUKS key.)
## Quantity of hard drives
QDISKS="" # Select the number "1" OR "2". If you have more than 2 hard drives, select 2.
QDISKS="1" # Select the number "1" OR "2". If you have more than 2 hard drives, select 2.
## Choose encryption
ENCRYPTION="" # Select "YES" OR "NO" whether you want encryption or not.
ENCRYPTION="YES" # Select "YES" OR "NO" whether you want encryption or not.
## Timezone
TIMEZONE="Pacific/Auckland" # Your timezone (Command='timedatectl list-timezones')
@ -59,10 +59,10 @@ TIMEZONE="Pacific/Auckland" # Your timezone (Command='timedatectl list-t
#MICROCODE="intel-ucode" # Intel CPU (choose amd OR intel)
## Packages
PACKAGES="base base-devel grub efibootmgr linux-headers openssh sudo git ufw $MICROCODE bash-completion archiso cronie mariadb nginx php reflector" # Add or delete only pkgs after '$MICROCODE'
PACKAGES="base linux base-devel grub efibootmgr linux-headers openssh git ufw networkmanager networkmanager-openvpn lvm2 $MICROCODE bash-completion cronie mariadb nginx-mainline php php-fpm php-gd radicale openvpn easy-rsa ddclient reflector nano python2-certifi xmlsec ffmpeg fuse2 libarchive vala libevent libldap libmariadbclient python2-chardet python2-dateutil python2-django python-flup python2-gunicorn python2-memcached python2-pillow python2-pytz python2-requests python2-requests-oauthlib python2-six mysql-python wget msmtp msmtp-mta unbound expat dnscrypt-proxy samba fail2ban" # Add or delete only pkgs after '$MICROCODE'
## Enable services
SERVICES="sshd ufw mariadb nginx php"
SERVICES="sshd ufw NetworkManager nginx php-fpm cronie unbound dnscrypt-proxy smb fail2ban"
############################# Change only between the 2 lines
@ -530,10 +530,11 @@ fdisk -l
lsblk
# Install Arch
$REFLECTOR
eval $CMD << PACSTRAP_CMDS | pacstrap -i /mnt $PACKAGES
# default install packages base
# default install packages base-devel
#
# default install packages linux (initramfs = mkinitcpio)
# default install packages vala (ttf-font = gnu-free-fonts)
y # confirm installation of packages
PACSTRAP_CMDS
@ -615,10 +616,9 @@ PASSWD_CMDS
# User configs
## Copy PwOSS script to home for further installations
mkdir /mnt/home/$USERNAME/Desktop/
cp -f home/user/pwoss-desktop-env.sh /mnt/home/$USERNAME/Desktop/
chmod u+x /mnt/home/$USERNAME/Desktop/pwoss-desktop-env.sh
eval $CHROOT chown -R $USERNAME:$USERNAME /home/$USERNAME/Desktop
cp -f home/user/pwoss-server-conf.sh /mnt/home/$USERNAME/
chmod u+x /mnt/home/$USERNAME/pwoss-server-conf.sh
eval $CHROOT chown -R $USERNAME:$USERNAME /home/$USERNAME/pwoss-server-conf.sh
# Unmount the hdds


Loading…
Cancel
Save