User:Hd scania

From ParabolaWiki
Jump to: navigation, search

1 My other profiles

  1. https://sf.net/u/hd-scania
  2. https://directory.fsf.org/wiki/user:hd_scania
  3. https://LibrePlanet.org/wiki/user:hd_scania
  4. https://trisquel.info/users/gdscania
  5. https://g0v.social/@hd_scania
  6. https://pod.disroot.org/people/402cd9700d4b013669ab3a6137633966
  7. https://forum.disroot.org/u/hd.scania
  8. https://forum.disroot.org/u/ktpm652204
  9. https://guo.media/hd_scania
  10. https://discourse.redox-os.org/u/hd_scania
  11. https://forum.f-droid.org/u/hd_scania
  12. https://www.codechef.com/users/hd_scania
  13. https://t.me/parabola_nu
  14. https://t.me/pc_sysinstall
  15. https://t.me/rbevangelion_hk
  16. https://t.me/src_hk
  17. https://t.me/PassionTimes
  18. https://t.me/hd_scania_transports
  19. https://t.me/krb00bs_hk
  20. https://www.drupal.org/u/hd_scania
  21. https://gnusocial.net/hdscania
  22. https://www.collaction.hk/@hd_scania
  23. https://mastodon.social/@hd_scania
  24. https://joindiaspora.com/people/06a5b490a032013517e60242ac110007
  25. https://medium.com/@hd_scania

2 My operating systems

Systems Dates installed Filesystems Kernels? Init systems? Display managers? Nonfree repo? Package managers Forks of? Release models Qt desktops Non-Qt desktops Download sizes (approx; in hex)
Parabola 10 July 2017 /dev/sda2 and /dev/sda7 Linux-libre OpenRC SDDM no pacman GNU system and Arch rolling LXQt, Liri, Openbox/KDE Cinnamon, MATE, Xfce, awesome, blackbox, fluxbox, arch:fvwm, arch:IceWM, jwm, twm 0x1.fG
PureOS 13 January 2018 /dev/sda13 Linux-libre systemd SDDM no deb GNU proejct and Debian testing rolling Openbox/KDE Cinnamon, MATE, Xfce 0x2.5G
Devuan 2 ASCII 21 August 2017 /dev/sda12 Linux-nonfree OpenRC SDDM yes deb Debian stable and nosystemd LTS LXQt, Openbox/KDE Xfce, Cinnamon, MATE 0x0.fG
Trisquel mini 8 Flidas 29 March 2017 /dev/sda14 Linux-libre upstart LightDM no deb GNU project and Debian stable LTS LXQt and Openbox/KDE bspwm, fluxbox, Cinnamon, MATE, Xfce, LXDE 0x0.dG
Whonix 13 29 March 2017 Xen Linux-libre systemd SDDM no deb GNU project and Debian stable LTS Openbox/KDE Xfce 0x3.dG
GuixSD 24 May 2018 /dev/sda3 Linux-libre shepherd SLiM no guix GNU project rolling LXQt and Openbox/KDE Xfce and GNOME 0x0.bG
Hyperbola 6 November 2017 /dev/sda15 Linux-libre OpenRC SDDM no pacman GNU project and an Arch stable snapshots LTS LXQt and Openbox/KDE MATE, Xfce, Deepin, Budgie 0x0.dG (a downgrade from Parabola)
Trident (formerly TrueOS) 30 December 2017 /dev/ada0p1 FreeBSD nonfree kernel OpenRC PCDM no FreeBSD-pkg TrueOS > FreeBSD-CURRENT rolling Lumina and Openbox/KDE 0x1.fG (estimated)
HardenedBSD 23 September 2018 /dev/ada0p17 FreeBSD nonfree kernel FreeBSD-rc SDDM no FreeBSD-pkg FreeBSD-CURRENT rolling Lumina and Openbox/KDE MATE 0x1G
GhostBSD 8 October 2018 /dev/ada0p20 FreeBSD nonfree kernel OpenRC SLiM yes FreeBSD-pkg FreeBSD-STABLE LTS Lumina MATE 0x2.bG
VoidLinux 24 May 2018 /dev/sda4 (amd64-musl)
/dev/sda5 (amd64-glibc)
Linux-nonfree runit LXDM no xbps Independent rolling LXQt and Openbox/KDE bspwm, fluxbox, Cinnamon, MATE, Xfce 0x0.dG
SliTaz 17 June 2018 /dev/sda9 Linux-nonfree arch:busybox LXDM no TazPkg Independent rolling Openbox/KDE 0x40M
Calculate (nonfree) 19 December 2017 /dev/sda8 (CLDL) Linux-nonfree OpenRC SDDM yes Emerge Gentoo rolling LXQt 0x1.dG
PCLinuxOS (nonfree) 25 February 2018 /dev/sda10 and /dev/sda18 Linux-nonfree SysVinit SDDM yes APT-RPM Independent rolling LXQt and Trinity MATE and Xfce 0x1.bG

3 Installation scripts for the GNU/Linux-libre newcomers

3.1 FOREWARNS

YOU MUST HAVE WELL AND PRIOR PARTITIONED YOUR SSD IN THE GPT SCHEME USING gdisk COMMAND, AND DEVICES /dev/sda4, /dev/sda5, or /dev/sda11 VARY TO YOUR OWN SCHEME!
See also in Trisquel forums

3.2 My recommeneded /etc/pacman.conf

[nonprism]
Include = /etc/pacman.d/mirrorlist
SigLevel = Optional TrustAll

[nonsystemd]
Include = /etc/pacman.d/mirrorlist
SigLevel = Optional TrustAll

[core]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[pcr]
Include = /etc/pacman.d/mirrorlist

[pcr-testing]
Include = /etc/pacman.d/mirrorlist
SigLevel = Optional TrustAll

[libre]
Include = /etc/pacman.d/mirrorlist

[testing]
Include = /etc/pacman.d/mirrorlist
SigLevel = Optional TrustAll

[liri-unstable]
SigLevel = Optional TrustAll
Server = https://repo.liri.io/archlinux/unstable/x86_64

[spark]
SigLevel = Never TrustAll
Server = https://spark.fleshless.org/spark
Server = https://mirror.fleshless.org/spark/spark

[spark-extra]
SigLevel = Never TrustAll
Server = https://spark.fleshless.org/spark-extra
Server = https://mirror.fleshless.org/spark/spark-extra

[spark-testing]
SigLevel = Never TrustAll
Server = https://spark.fleshless.org/spark-testing
Server = https://mirror.fleshless.org/spark/spark-testing

[libre-multilib]
Include = /etc/pacman.d/mirrorlist
SigLevel = Optional TrustAll

[multilib]
Include = /etc/pacman.d/mirrorlist
SigLevel = Optional TrustAll

[pcr-multilib]
Include = /etc/pacman.d/mirrorlist
SigLevel = Optional TrustAll

3.3 Net install basics (text install using a graphcial term like qterminal)

3.3.1 Laptop edition

  • For full installers if you dnt like systemd you are free to switch to OpenRC instead of systemd under the below OpenRC groups and patterns.
sudo mkfs.ext4 /dev/sda5 -L parabola && sudo mount /dev/sda5 /opt && sudo rm -rf /opt/*
sudo pacman -Syy --noconfirm parabola-keyring archlinux-keyring && sudo pacman-key --populate archlinux parabola && sudo pacman-key --refresh-keys
sudo pacstrap /opt linux-libre linux-libre-headers parabola-keyring archlinux-keyring gptfdisk pacman nano guix sudo mkinitcpio git mlocate efibootmgr grub os-prober update-grub sed breeze-grub openrc openrc-base base-openrc base openrc-security openrc-desktop openrc-net filesystem networkmanager-openrc util-linux libutil-linux sddm networkmanager-qt xorg xorg-apps xorg-drivers xorg-xinit xorg-xauth xorg-xdm libnm networkmanager iputils torsocks qterminal plasma openbox obconf-qt plasma-wayland-session partitionmanager midori telegram-desktop trisquel-themes breeze breeze-icons breeze-gtk oxygen marble-qt vlc
sudo genfstab -U /opt >> /opt/etc/fstab && sudo arch-chroot /opt
rm -rfv /var/cache/pacman/pkg/*
blkid && nano /etc/fstab && sudo mkinitcpio -p linux-libre
mkdir -pv /home/hd_scania/Desktop /home/data && chown -vR 1000:0 /home/hd_scania /home/data
useradd hd_scania && passwd hd_scania && passwd root -dl
nano /etc/sudoers && nano /etc/sudoers.d/hd_scania
hd_scania   ALL=(ALL)   NOPASSWD: ALL
nano /etc/hosts && nano /etc/hostname
rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime
mkdir -p /boot/efi && mount /dev/sda4 /boot/efi
grub-install --target=x86_64-efi --bootloader-id=parabola --recheck /dev/sda4
exit
sudo reboot -fi

3.3.2 NAS edition

  • Installing Parabola for NAS should mostly follow this reference script and NEVER RUN GRAPHICAL INSTALLERS.
sudo mkfs.ext4 /dev/sda1 && sudo mount /dev/sda1 /opt && sudo rm -rf /opt/*
sudo pacman -Syy --noconfirm parabola-keyring && sudo pacman-key --populate archlinux parabola && sudo pacman-key --refresh-keys
sudo pacstrap /mnt linux-libre linux-libre-headers parabola-keyring archlinux-keyring gdisk pacman nano guix sudo mkinitcpio git efibootmgr grub os-prober update-grub sed breeze-grub openrc openrc-base base-openrc openrc-security openrc-net openrc-desktop openrc-net filesystem-nosystemd networkmanager-openrc util-linux-nosystemd libutil-linux-nosystemd networkmanager-qt xorg xorg-apps xorg-drivers xorg-xinit xorg-xauth xorg-xdm libnm networkmanager nm-connection-editor iputils network-manager-applet polkit-elogind upower torsocks sddm qterminal bspwm xscreensaver nginx bind tinyssh dropbear tftp-hpa atftp perl-file-nfslock mkpxelinux liblockfile mkinitcpio-nfs-utils nfs-utils-openrc sshuttle tinyssh bftpd xrdp x11vnc tigervnc ksmtp postfix exim nginx-passenger kimap dovegot filezilla nextcloud freetds mariadb-galera python-rethinkdb tarantool ipvsadm x2goserver-openrc gitlab gitlab-shell gitlab-gitaly gitlab-workhorse discosrv-git litecoin-qt bitcoin-qt fair-coin litecoin-qt bitcoin-qt fair-coin bfgminer cpuminer pybitmessage-git zeronet-git armory axel eolie telegram-desktop
sudo genfstab -U /opt >> /mnt/etc/fstab && sudo arch-chroot /opt
rm -rfv /var/cache/pacman/pkg/*
blkid && nano /etc/fstab && sudo mkinitcpio -p linux-libre-lts
mkdir -pv /home/hd_scania/Desktop /home/gnu /home/fsf /home/parabola /home/PureOS /home/trisquel /home/fdroid
chown -vR 1000:0 /home/hd_scania/Desktop /home/gnu /home/fsf /home/parabola /home/PureOS /home/trisquel /home/fdroid
useradd hd_scania && passwd hd_scania && passwd root -dl
nano /etc/sudoers && nano /etc/sudoers.d/hd_scania
hd_scania   ALL=(ALL)   NOPASSWD: ALL
nano /etc/hosts && nano /etc/hostname
rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime
mkdir -p /boot/efi && mount /dev/sda2 /boot/efi
grub-install --target=x86_64-efi --bootloader-id=parabola --recheck /dev/sda2
exit
sudo reboot -fi

|}

3.4 Farewell to systemd then migrate to OpenRC (after Calamares full install with systemd)

sudo pacman -Rccnnssuu --noconfirm systemd
sudo pacman -Su --noconfirm filesystem openrc openrc-base base-openrc nano sed sudo mlocate linux-libre mkinitcpio openrc-desktop

3.5 Extra apps installation

sudo pacman -Su --noconfirm parabolaiso calamares
  • System goodies
sudo pacman -Su --noconfirm shepherd guix musl partitionmanager screenfetch
sudo pacman -Su --noconfirm --needed gnunet-gtk gnurl tor-openrc torsocks onioncat zeronet-git tor-hardened-preferences meek xen libvirt virt-manager multilib-devel seabios ovmf
  • My additional goodies to improve your desktop UX (ordered)
    • LXQt enhancements
      • Themes, kwin, xfwm4 for LXQt
      • Additional non-tiling window managers for LXQt
    • Openbox/KDE session, including session using Wayland procotol
    • Xfce desktops that is GTK-based and lightweight
    • Liri shell using Wayland protocol
sudo pacman -Su --noconfirm trisquel-themes kwin xfwm4 breeze-icons breeze oxygen
sudo pacman -Su --noconfirm awesome blackbox fluxbox fvwm icewm jwm xorg-twm menumaker xdgmenumaker
sudo pacman -Su --noconfirm --needed openbox obconf-qt plasma ark plasma-wayland-session
sudo pacman -Su --noconfirm --needed xfce4 xfce4-goodies
sudo pacman -Su --noconfirm liri-git --assume-installed qt5-webengine --ignore qt5-webengine && sudo pacman -Rnnssuu --noconfirm liri-browser-git liri-terminal-git
  • Graphics and productivities
sudo pacman -Su --noconfirm gimp gpaint mtpaint pinta peek scrot abiword gnumeric
  • NAS basics
sudo pacman -Su --noconfirm apache-openrc bind-openrc nginx-openrc tinyssh dropbear tftp-hpa atftp perl-file-nfslock mkpxelinux liblockfile mkinitcpio-nfs-utils nfs-utils-openrc sshuttle tinyssh bftpd xrdp x11vnc tigervnc ksmtp postfix exim nginx-passenger kimap dovegot filezilla nextcloud freetds mariadb-galera python-rethinkdb tarantool ipvsadm x2goserver-openrc gitlab gitlab-shell gitlab-gitaly gitlab-workhorse discosrv-git litecoin-qt bitcoin-qt fair-coin litecoin-qt bitcoin-qt fair-coin bfgminer cpuminer pybitmessage-git zeronet-git armory
  • OpenStreetMap free maps instead of nonfree Google maps
sudo pacman -Su --noconfirm marble-qt navit
  • Emoji, Japanese, Chinese tables
sudo pacman -Su --noconfirm ibus-table ibus-qt noto-fonts-emoji cldr-emoji-annotation nodejs-emojione unicode-emoji ibus-anthy ibus-rime brise ibus-table-chinese 
  • Sound and videos
sudo pacman -Su --noconfirm vlc kid3-qt qt-recordmydesktop youtube-dl-qt kodi
sudo pacman -Su --noconfirm blackarch ndiswrapper-dkms fasm smbnetfs chmlib libmspack openchange dcfldd dsniff volatility mdk3 zaproxy
  • Games and Wine
sudo pacman -Su --noconfirm libretro wine

4 My nonfree SuSE developments (legacy)