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 21dcfab396
changed init ram file system to linux-hardened
18 hours ago
airootfs changed init ram file system to linux-hardened 18 hours ago
efiboot/loader updated to archiso v.46 1 month ago
isolinux updated to archiso v.46 1 month ago
syslinux updated to new archiso procedure (v49?) 2 days ago
LICENSE added content from .xyz domain 11 months ago
README.md updated to new archiso procedure (v49?) 2 days ago
build.sh updated to new archiso procedure (v49?) 2 days ago
packages.x86_64 updated to new archiso procedure (v49?) 2 days ago
pacman.conf updated to archiso v.46 1 month ago
profiledef.sh updated to new archiso procedure (v49?) 2 days 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

 

Build your ISO

git clone https://git.pwoss.org/server/iso.git
cd /path/to/repo/ISO/
mkarchiso -v .

NOTE:
It is recommended to perform all the following steps as the root user with the umask set to 0022. If not, it is very likely that the live environment will have wrong file permissions.

NOTE 2:
Change profiledef.sh to your needs.

 

General options

Check mkarchiso -h.

 

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="1" # Select the number "1" OR "2". If you have more than 2 hard drives, select 2.
  2. ENCRYPTION="YES" # 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