More markdown

This commit is contained in:
Patrick Neumann 2020-11-29 20:04:06 +00:00
parent 58cb1221c5
commit 44d338065d

160
README.md
View File

@ -6,7 +6,7 @@ This is the place preferably for the development of scripts (Shell, Python, ...)
Because I'm a big fan of Debian GNU/Linux on servers I have build Debian-Live-DVDs for other (older) projects. Because I'm a big fan of Debian GNU/Linux on servers I have build Debian-Live-DVDs for other (older) projects.
But for forensics and virtualization I have switched to Arch Linux and "archiso". But for forensics and virtualization you often need to be up to date and that is why I have switched to Arch Linux (rolling release) with "archiso".
For development (and maybe later use) a living installation on a removable media was more comfortable. For development (and maybe later use) a living installation on a removable media was more comfortable.
@ -16,124 +16,82 @@ It could be that I will generate an ISO image again after development is complet
## Installation ## Installation
https://wiki.archlinux.org/index.php/Installation_guide I followed the official installation guide on https://wiki.archlinux.org/index.php/Installation_guide but skip the creation of a swap partition!
Skip the swap partition! To increase the lifetime of the flash drive I followed a few points of https://wiki.archlinux.org/index.php/Install_Arch_Linux_on_a_removable_medium.
https://wiki.archlinux.org/index.php/Install_Arch_Linux_on_a_removable_medium
## Post-installation (as root) ## Post-installation (as root)
timedatectl set-ntp true ```
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime # timedatectl set-ntp true
vi /etc/locale.gen # ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
locale-gen # vi /etc/locale.gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf # locale-gen
echo "KEYMAP=de-latin1" > /etc/vconsole.conf # echo "LANG=en_US.UTF-8" > /etc/locale.conf
localectl set-keymap --no-convert de-latin1 # echo "KEYMAP=de-latin1" > /etc/vconsole.conf
echo "hellonium" > /etc/hostname # localectl set-keymap --no-convert de-latin1
echo "127.0.1.1 hellonium.localdomain hellonium" >> /etc/hosts # echo "hellonium" > /etc/hostname
pacman -S intel-ucode amd-ucode linux-firmware # echo "127.0.1.1 hellonium.localdomain hellonium" >> /etc/hosts
grub-install --target=x86_64-efi --efi-directory=boot --removable --recheck # pacman -S intel-ucode amd-ucode linux-firmware
grub-mkconfig -o /boot/grub/grub.cfg # grub-install --target=x86_64-efi --efi-directory=boot --removable --recheck
systemctl enable systemd-networkd.service # grub-mkconfig -o /boot/grub/grub.cfg
systemctl start systemd-networkd.service # systemctl enable systemd-networkd.service
rm /etc/resolv.conf # systemctl start systemd-networkd.service
systemctl enable systemd-resolved.service # rm /etc/resolv.conf
systemctl start systemd-resolved.service # systemctl enable systemd-resolved.service
ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf # systemctl start systemd-resolved.service
groupadd lucifer # ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
useradd -m -g lucifer -G wheel,optical,storage -s /bin/bash lucifer # groupadd lucifer
passwd lucifer # useradd -m -g lucifer -G wheel,optical,storage -s /bin/bash lucifer
# passwd lucifer
```
## Install Arch Linux packages (as root) ## Install Arch Linux packages (as root)
xf86-video-intel ```
intel-compute-runtime # pacman -S xf86-video-intel intel-compute-runtime nvidia opencl-nvidia xf86-video-amdgpu xf86-video-ati opencl-mesa xf86-video-nouveau xf86-video-vesa base-devel bash-completion bc binwalk chntpw dconf-editor firefox galculator gdm gedit git gnome grub hashcat inetutils libeatmydata libewf lvm2 mdadm minisign mlocate multipath-tools nano openssh ophcrack pacman-contrib python-pycryptodome qemu qemu-arch-extra signify sleuthkit sudo testdisk ttf-dejavu vim vinagre which xarchiver xorg xorg-apps xorg-drivers xorg-fonts
nvidia ```
opencl-nvidia
xf86-video-amdgpu (I hope I have not missed a package!?)
xf86-video-ati
opencl-mesa
xf86-video-nouveau
xf86-video-vesa
base-devel
bash-completion
bc
binwalk
chntpw
dconf-editor
firefox
galculator
gdm
gedit
git
gnome
grub
hashcat
inetutils
libeatmydata
libewf
lvm2
mdadm
minisign
mlocate
multipath-tools
nano
openssh
ophcrack
pacman-contrib
python-pycryptodome
qemu
qemu-arch-extra
signify
sleuthkit
sudo
testdisk
ttf-dejavu
vim
vinagre
which
xarchiver
xorg
xorg-apps
xorg-drivers
xorg-fonts
## More configuration (as root) ## More configuration (as root)
localectl --no-convert set-x11-keymap de ```
visudo (uncomment %wheel ... NOPASSWD:) # localectl --no-convert set-x11-keymap de
systemctl enable sshd.service # visudo (uncomment %wheel ... NOPASSWD:)
systemctl start sshd.service # systemctl enable sshd.service
sudo usermod -a -G kvm lucifer # systemctl start sshd.service
sudo sytemctl enable gdm # sudo usermod -a -G kvm lucifer
# sudo sytemctl enable gdm
```
## AUR ## The AUR part
I have choosen trizen for installing AUR recipes. I have choosen trizen for installing AUR recipes.
Install it as user (lucifer): Install it as user (lucifer):
mkdir ~/builds && cd ~/builds ```
git clone https://aur.archlinux.org/trizen.git $ mkdir ~/builds && cd ~/builds
cd trizen $ git clone https://aur.archlinux.org/trizen.git
makepkg -sirc $ cd trizen
$ makepkg -sirc
```
Install AUR packages as user (lucifer) with trizen: Now you will be able to install AUR packages as a user (lucifer) with trizen like:
trizen -S <PACKAGE> ```
$ trizen -S <PACKAGE>
```
## Install AUR packages (as luciver) ## Install AUR packages (as luciver)
aic94xx-firmware ```
upd72020x-fw $ trizen -S aic94xx-firmware upd72020x-fw wd719x-firmware dc3dd fred guymager perl-image-exiftool regripper-git xmount
wd719x-firmware ```
dc3dd
fred The following recipes could be somewhat problematic:
guymager
perl-image-exiftool ```
regripper-git $ trizen -S zfs-linux zfs-utils
xmount ```
zfs-linux (AUR - can be somewhat problematic!)
zfs-utils (AUR - can be somewhat problematic!)