A fully functional server installation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dan f791daad75
added all pkgs from documentaition
1 month ago
airootfs added all pkgs from documentaition 1 month ago
efiboot/loader added content from .xyz domain 1 month ago
isolinux added content from .xyz domain 1 month ago
syslinux added content from .xyz domain 1 month ago
LICENSE added content from .xyz domain 1 month ago
README.md updated README 1 month ago
build.sh added content from .xyz domain 1 month ago
mkinitcpio.conf added content from .xyz domain 1 month ago
packages.x86_64 new archiso pkgs + reflector 1 month ago
pacman.conf changeed to org link 1 month ago

README.md

Still in progress. The ISO does not yet contain a complete configuration.
But the arch installation is really quick. Just without any PwOSS configuration.

Download ISO

 

Create your own ISO

You need a working Arch system to create the ISO.
You can use VirtualBox or download the ISO directly.

 

Dependancy

sudo pacman -S archiso

 

Usage [options]

iso_name: PwOSS
iso_version: PWOSS_201906
iso_label: pwoss_linux
publisher: PwOSS
application:‘PwOSS Linux’

 

Example:

git clone https://git.pwoss.org/server/iso.git
cd /path/to/repo/ISO/
sudo ./build.sh -N PwOSS-Server -V 11.09.2019 -L pwoss_server -P DanSman -A 'PwOSS Server'

 

General options

-N <iso_name>      Set an iso filename (prefix)
                    Default: ${iso_name}"
-V <iso_version>   Set an iso version (in filename)
                    Default: ${iso_version}
-L <iso_label>     Set an iso label (disk label)"
                    Default: ${iso_label}"
-P <publisher>     Set a publisher for the disk"
                    Default: '${iso_publisher}'"
-A <application>   Set an application name for the disk"
                    Default: '${iso_application}'"
-D <install_dir>   Set an install_dir (directory inside iso)"
                    Default: ${install_dir}"
-w <work_dir>      Set the working directory"
                    Default: ${work_dir}"
-o <out_dir>       Set the output directory"
                    Default: ${out_dir}"
-v                 Enable verbose output"
-h                 This help message"

 

PwOSS - ISO

Necessary modifications

Boot into your Live ISO and change the script before running it!
nano pwoss-server.sh

You NEED to change:

  1. QDISKS="" # Select the number "1" OR "2". If you have more than 2 hard drives, select 2.
  2. ENCRYPTION="" # Select "YES" OR "NO" whether you want encryption or not.

That’s the absolute minimum you have to change. Of course you can also change the passwords etc.. But stay between the 2 lines!

############################# Change only between the 2 lines

 

HDD or SSD

If you are installing Arch on a HDD hard disk instead of an SSD hard disk, you must delete root_trim=yes from grub.

With Encryption:
nano etc/default/grub-luks

GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda2:root root=/dev/vg0/root resume=/dev/vg0/swap root_trim=yes"

Without Encryption:
nano etc/default/grub

GRUB_CMDLINE_LINUX="root_trim=yes"

 

Packages

You can easily add or delete your own packages. Do NOT delete from package base to $MICROCODE (inlcuding $MICROCODE).

 

Usage

 pwoss <[options]> -u [<username>]
 pwoss <[options]> --username=[<username>]

Options:
 -h     --help              show this message
 -u     --username          set username          e.g. $USERNAME
 -p     --password          set user password     e.g. $PASSWORD
 -r     --root-password     set root password     e.g. $PASSWORDROOT
 -e     --encryption        set encryption        e.g. $ENCRYPTION
 -cr    --crypt-root        set root password     e.g. $CRYPTPWDROOT
 -ch    --crypt-home        set home password     e.g. $CRYPTPWDHOME
 -t     --timezone          set timezine          e.g. $TIMEZONE
 -q     --quantity-disks    set numbers of hd     e.g. $QDISKS
 -d     --disk              set install disk      e.g. $HARDDISK
 -d2    --disk2             set home disk         e.g. $HARDDISK2

 

Install on Arch ISO

Boot into any Arch Linux ISO and type the following:

pacman -Sy git
git clone https://git.pwoss.org/server/iso.git
cd ISO/airootfs/
sh pwoss-server.sh

   

License

GNU GENERAL PUBLIC LICENSE Version 2