Installing CentOS 8

From Applied Optics Wiki
Revision as of 16:54, 15 October 2020 by Rikesh Patel (talk | contribs)

Jump to: navigation, search

This is the install notes for CentOS 8 (linux/stream) - this should only be used for the platform servers.

  • Create disk using Universal USB installer
  • had to change D:/EFI/BOOT/grub.cfg change
  • ...inst.stage2=hd:LABEL=CentOS-Stream-8-x86_64-dvd quiet to ...inst.stage2=hd:LABEL=UUI quiet
  • and add rdblacklist=nouveau nouveau.modeset=0 after quiet if graphic issues
  • can also change LABEL when it gets to boot menu using tab
  • root account/passwd, sort connection first (hostname *, if usb can't be found use network install and find correct repo (, packages include files and storage server + network servers + standard, select all drives and click next to configure
  • dnf install
  • dnf grouplist
  • had to enable powertools in etc/yum.repos.d/CentOS-PowerTools.repo
  • yum repolist to check
  • dnf groupinstall "KDE Plasma Workspaces"
  • systemctl set-default
  • yum install sddm\*
  • systemctl enable sddm -f
  • yum install nfs* autofs yp*
  • follow kubuntu install guide from access shared drives, do systemctl enable rpcbind ypbind autofs
  • authselect list; authselect check; authselect disable-feature with-mkhomedir; authselect apply-changes
  • getsebool -a | less; setsebool -P allow_ypbind 1; setsebool -P automount_disable_trans 1; setsebool -P nfs_export_all_rw 1; setsebool -P use_nfs_home_dirs 1;
  • dnf groupinstall "Server with GUI"; yum install xrdp; systemctl enable xrdp --now; firewall-cmd --add-port=3389/tcp --permanent; firewall-cmd --reload;
  • systemctl enable nfs-blkmap nfs-mountd nfs-server --now
  • yum install tcsh ksh thunderbird cmake git mercurial subversion valgrind gimp gv inkscape texlive gtk2-devel gtk3-devel libreoffice-core libreoffice-base libreoffice-writer libreoffice-impress libreoffice-calc xfig fail2ban tmux
  • cd /home/share/suse_hacks/kubuntu_16.04/; cp -f fail2ban-local.conf /etc/fail2ban/jail.d/fail2ban-local.conf; cp -f f2b-loop.conf /etc/fail2ban/filter.d/f2b-loop.conf; systemctl enable fail2ban --now
  • if [ -f /lib/udev/uvcdynctrl ]; then sed -i 's/debug=1/debug=0/' /lib/udev/uvcdynctrl; fi
  • mkdir -p /eee/tmp; chown root:root /eee/tmp; chmod a+rwt /eee/tmp; cp -f idmapd.conf /etc/idmapd.conf; cp -f sudoers-local /etc/sudoers.d/; cp -f environment /etc/environment; systemctl add-wants rpcbind.service
  • yum install ncurses-devel ncurses-compat-libs; ./install_eee_packages; yum install java-latest-openjdk
  • yum install snapd; systemctl enable --now snapd.socket; manual install detox
  • fix pulseaudio by increasing the number of inofity watch limit (/etc/sysctl.conf add the line fs.inotify.max_user_watches=100000), use pulseaudio and pavucontrol to add mic input (or change hardware input)
  • manually install MS teams
  • for onedrive - sudo dnf groupinstall 'Development Tools'; sudo dnf install libcurl-devel; sudo dnf install sqlite-devel; curl -fsS | bash -s dmd; follow wiki instructions from curl
  • sudo yum install p7zip* ark;