Difference between revisions of "Installing CentOS 8"
From Applied Optics Wiki
Rikesh Patel (talk | contribs) |
Rikesh Patel (talk | contribs) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
* and add rdblacklist=nouveau nouveau.modeset=0 after quiet if graphic issues | * and add rdblacklist=nouveau nouveau.modeset=0 after quiet if graphic issues | ||
* can also change LABEL when it gets to boot menu using tab | * can also change LABEL when it gets to boot menu using tab | ||
− | * root account/passwd, sort connection first (hostname *.eee.nottingham.ac.uk), if usb can't be found use network install and find correct repo (http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/), packages include files and storage server + network servers + standard, select all drives and click next to configure, | + | * root account/passwd, sort connection first (hostname *.eee.nottingham.ac.uk), if usb can't be found use network install and find correct repo (http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/), packages include files and storage server + network servers + standard, select all drives and click next to configure |
+ | * dnf install http://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm | ||
+ | * 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 graphical.target | ||
+ | * 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 multi-user.target 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 https://dlang.org/install.sh | bash -s dmd; follow wiki instructions from curl | ||
+ | * sudo yum install p7zip* ark | ||
+ | * dnf install epel-release; dnf copr enable castor/remmina; dnf install 'remmina*' | ||
+ | * disable kdewallet (system settings, kde wallet); cp /usr/libexec/xrdp/startwm.sh /etc/xrdp/ | ||
+ | * sudo yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm | ||
+ | * to install from vpm, goto /eee/bin/ and sudo from there, also for update | ||
+ | * to get the latest matlab to install, need to install using ./matlab_R20xx_gxxxx/bin/glnxa64/install_unix_legacy |
Latest revision as of 09:24, 1 December 2020
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 1.9.9.3
- 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 *.eee.nottingham.ac.uk), if usb can't be found use network install and find correct repo (http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/), packages include files and storage server + network servers + standard, select all drives and click next to configure
- dnf install http://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
- 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 graphical.target
- 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 multi-user.target 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 https://dlang.org/install.sh | bash -s dmd; follow wiki instructions from curl
- sudo yum install p7zip* ark
- dnf install epel-release; dnf copr enable castor/remmina; dnf install 'remmina*'
- disable kdewallet (system settings, kde wallet); cp /usr/libexec/xrdp/startwm.sh /etc/xrdp/
- sudo yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
- to install from vpm, goto /eee/bin/ and sudo from there, also for update
- to get the latest matlab to install, need to install using ./matlab_R20xx_gxxxx/bin/glnxa64/install_unix_legacy