Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_8_migration_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
centos_8_migration_notes [2020/10/15 07:01] juckinscentos_8_migration_notes [2020/10/15 18:30] juckins
Line 64: Line 64:
   * Note firewall rules   * Note firewall rules
     * [[https://serverfault.com/questions/655851/is-there-a-simple-way-to-export-import-firewalld-settings|Export Firewall Rules to new server]]     * [[https://serverfault.com/questions/655851/is-there-a-simple-way-to-export-import-firewalld-settings|Export Firewall Rules to new server]]
- 
-Note these installed perl RPMs: 
- 
-''# rpm -qa --qf "%{NAME}\n" | grep -i perl | sort'' 
- 
-<code> 
-ImageMagick-perl 
-perl 
-perl-autodie 
-perl-Array-Diff 
-perl-Array-Unique 
-perl-B-Lint 
-perl-Business-ISBN 
-perl-Business-ISBN-Data 
-perl-Carp 
-perl-CGI 
-perl-Class-ISA 
-perl-common-sense 
-perl-Compress-Raw-Bzip2 
-perl-Compress-Raw-Zlib 
-perl-constant 
-perl-CPAN 
-perl-Data-Dumper 
-perl-DBD-MySQL 
-perl-DBI 
-perl-devel 
-perl-Digest 
-perl-Digest-MD5 
-perl-Digest-SHA 
-perl-Encode 
-perl-Encode-Locale 
-perl-Env 
-perl-Exporter 
-perl-ExtUtils-Install 
-perl-ExtUtils-MakeMaker 
-perl-ExtUtils-Manifest 
-perl-ExtUtils-ParseXS 
-perl-FCGI 
-perl-File-BaseDir 
-perl-File-CheckTree 
-perl-File-DesktopEntry 
-perl-File-Listing 
-perl-File-MimeInfo 
-perl-File-Path 
-perl-File-ReadBackwards 
-perl-File-Slurp 
-perl-File-Temp 
-perl-Filter 
-perl-Font-AFM 
-perl-GD 
-perl-Getopt-Long 
-perl-HTML-Element-Extended 
-perl-HTML-Format 
-perl-HTML-Parser 
-perl-HTML-TableExtract 
-perl-HTML-Tagset 
-perl-HTML-Tree 
-perl-HTTP-Cookies 
-perl-HTTP-Daemon 
-perl-HTTP-Date 
-perl-HTTP-Message 
-perl-HTTP-Negotiate 
-perl-HTTP-Tiny 
-perl-IO-All 
-perl-IO-Compress 
-perl-IO-HTML 
-perl-IO-Socket-IP 
-perl-IO-Socket-SSL 
-perl-IPC-System-Simple 
-perl-JSON 
-perl-JSON-XS 
-perl-libs 
-perl-libwww-perl 
-perl-List-Compare 
-perl-List-MoreUtils 
-perl-Locale-Codes 
-perl-Locale-Maketext 
-perl-local-lib 
-perl-LWP-MediaTypes 
-perl-LWP-Protocol-https 
-perl-macros 
-perl-Module-Pluggable 
-perl-Mozilla-CA 
-perl-Net-Daemon 
-perl-Net-HTTP 
-perl-Net-LibIDN 
-perl-Net-SSLeay 
-perl-Newt 
-perl-parent 
-perl-Parse-Yapp 
-perl-PathTools 
-perl-PlRPC 
-perl-Pod-Checker 
-perl-Pod-Escapes 
-perl-Pod-LaTeX 
-perl-podlators 
-perl-Pod-Parser 
-perl-Pod-Perldoc 
-perl-Pod-Plainer 
-perl-Pod-Simple 
-perl-Pod-Usage 
-perl-Scalar-List-Utils 
-perl-Socket 
-perl-Storable 
-perl-String-CRC32 
-perl-Sys-Syslog 
-perl-Test-Harness 
-perl-Test-Simple 
-perl-Text-ParseWords 
-perl-Text-Soundex 
-perl-Text-Unidecode 
-perl-Thread-Queue 
-perl-threads 
-perl-threads-shared 
-perl-TimeDate 
-perl-Time-HiRes 
-perl-Time-Local 
-perl-Types-Serialiser 
-perl-URI 
-perl-WWW-RobotRules 
-perl-XML-LibXML 
-perl-XML-NamespaceSupport 
-perl-XML-SAX 
-perl-XML-SAX-Base 
-</code> 
  
 Must-Have functionality: Must-Have functionality:
Line 212: Line 87:
   * Working crontabs for each user   * Working crontabs for each user
   * [[python_notes|Install Python 3]]   * [[python_notes|Install Python 3]]
- 
-Contents of /etc/yum.repos.d (CentOS 7): 
-  * adobe-linux-x86_64.repo 
-  * CentOS-Base.repo 
-  * CentOS-CR.repo 
-  * CentOS-Debuginfo.repo 
-  * CentOS-fasttrack.repo 
-  * CentOS-Media.repo 
-  * CentOS-Sources.repo 
-  * CentOS-Vault.repo 
-  * epel.repo 
-  * epel-testing.repo 
-  * google-chrome.repo 
-  * nux-dextop.repo 
- 
----- 
- 
-For a continuation of GNOME2 in CentOS7, use "MATE" 
- 
-  * Best option is to do a "minimal install" and follow [[http://www.45drives.com/wiki/index.php/Installing_MATE_on_CentOS_7|Installing MATE on CentOS 7]] 
- 
-Other info on MATE: 
- 
-  * https://www.centos.org/forums/search.php?keywords=gnome \\ 
-  * https://www.centos.org/forums/viewtopic.php?f=48&t=47271&p=202339&hilit=gnome#p202339 \\ 
-  * http://wiki.centos.org/FAQ/CentOS7 \\ 
-  * https://www.centos.org/forums/ 
-  * https://www.centos.org/forums/viewtopic.php?f=48&t=47670 
-  * http://blog.boeiend.be/?p=125 
  
 Customize MATE Desktop displays Customize MATE Desktop displays
Line 434: Line 280:
   * [[http://juckins.net/dokuwiki/lib/exe/fetch.php?media=sample.jpg|JPG image]]   * [[http://juckins.net/dokuwiki/lib/exe/fetch.php?media=sample.jpg|JPG image]]
   * [[http://juckins.net/dokuwiki/lib/exe/fetch.php?media=sample.png|PNG image]]   * [[http://juckins.net/dokuwiki/lib/exe/fetch.php?media=sample.png|PNG image]]
- 
-[[http://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/|Install Google Chrome]] 
- 
-[[http://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/|Install Google Chrome (Alt)]] 
- 
-Fix Google Chrome fonts: 
- 
-[[http://www.binarytides.com/gorgeous-looking-fonts-ubuntu-linux/]] 
-<code> 
-# dnf install google*fonts 
-</code> 
-  * open Chrome, go to Settings > Advanced and set fonts as follows: 
-    * Standard font: Noto Serif 
-    * Serif font: Noto Serif 
-    * Sans-serif font: Noto Sans 
-    * Fixed-width font: Roboto Mono 
  
  
 [[http://www.if-not-true-then-false.com/2014/install-oracle-java-8-on-fedora-centos-rhel/|Install Oracle Java]] (note, this is not the default CentOS, it will not auto-update)  [[http://www.if-not-true-then-false.com/2014/install-oracle-java-8-on-fedora-centos-rhel/|Install Oracle Java]] (note, this is not the default CentOS, it will not auto-update) 
  
-Adobe Reader - use evince instead +Install X2Go
- +
-Install NX/NoMachine v3 +
-  * Install 3 RPMs noted above +
-  * Edit /etc/ssh/sshd_config and comment out line "AuthorizedKeysFile .ssh/authorized_keys" because NX uses authorized_keys2 +
-  * /bin/systemctl restart  sshd.service +
-  * To start up MATE, edit /usr/NX/etc/node.cfg to be: +
-  * CommandStartGnome "/etc/X11/xinit/Xsession mate-session" (note "xinit" was added to path) +
-  * To fix keyboard mapping, open terminal and run this command: +
-    * setxkbmap -model evdev -layout us > /tmp/setxkbmap.log 2>&+
-    * [[http://askubuntu.com/questions/123867/keyboard-map-is-incorrect-when-using-an-nx-client|Keyboard Mapping is incorrect with NX Client]] +
-    * You can make a little bash script and have it run as a startup application +
-  * Notes gleaned from https://www.nomachine.com/AR07K00676 and http://askubuntu.com/questions/84852/how-does-one-install-nx-server-or-freenx-on-11-10 +
- +
-NX/NoMachine Troubleshooting: +
-  * Had v3 RPMs installed; removed and installed v4 to test. Failed. Removed v4 RPMs. +
-  * Upon reinstalling the 3 v3 RPMs, could not authenticate to target server. +
-  * Removed nxclient, nxnode, nxserver v3 RPMs again. +
-  * rm -rf /usr/NX completely +
-  * Reinstalled the 3 v3 RPMs.  Authentication fixed +
-  * Start/stop server with the following: +
-    * /usr/NX/bin/nxserver --status +
-    * /usr/NX/bin/nxserver --stop +
-    * /usr/NX/bin/nxserver --start +
- +
-NX for work VPN +
-  * Removed nxclient-3.5.0-7.x86_64.rpm, nxnode-3.5.0-9.x86_64.rpm, nxserver-3.5.0-11.x86_64.rpm +
-  * Used http://www.rpmfind.net/linux/rpm2html/search.php?query=opennx to find opennx +
-  * Installed opennx-0.16-724.el6.centos.1.x86_64.rpm +
-  * Tried connecting to remote machine as shadow session and it also failed; ensured the remote machine had a normal session established first using the same user +
- +
-VPN connections +
-  * <del>NetworkManager-openconnect not available in channels</del> (in epel) +
-  * <del>Retrieved from rpm.pbone.net ftp://ftp.pbone.net/mirror/li.nux.ro/download/nux/dextop/el7Server/x86_64/NetworkManager-openconnect-0.9.8.4-2.el7.nux.x86_64.rpm</del> +
- +
-<del>Percona toolkit: percona-toolkit-2.2.11-1.noarch.rpm</del>+
  
 Restore Thunderbird profile Restore Thunderbird profile
Line 498: Line 293:
  
 Test ASMAD for processing end-to-end Test ASMAD for processing end-to-end
- 
-<del>Install Skype rpm (skype-4.3.0.37-fedora.i586.rpm) following these steps: 
-</del> 
- 
-<code> 
-dnf install alsa-plugins-pulseaudio.i686 qt.i686 1:qt-x11.i686 libXScrnSaver.i686 libXv.i686 
-rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm 
-dnf localinstall http://download.skype.com/linux/skype-4.3.0.37-fedora.i586.rpm 
-</code> 
- 
-[[https://www.centos.org/forums/viewtopic.php?f=48&t=47070|Skype Tips]] 
  
 SSH issues SSH issues
Line 661: Line 445:
  
 See Linux Mint [[https://forums.linuxmint.com/viewtopic.php?t=246194|Sound settings keep switching output against my will]] and possibly [[https://forums.linuxmint.com/viewtopic.php?t=224479|HDMI + Sound + Mint 18]] See Linux Mint [[https://forums.linuxmint.com/viewtopic.php?t=246194|Sound settings keep switching output against my will]] and possibly [[https://forums.linuxmint.com/viewtopic.php?t=224479|HDMI + Sound + Mint 18]]
- 
----- 
-__OLD Notes and Issues__ 
- 
-If on VirtualBox, go to main menu and choose "Insert Guest Additions CD Image..." and run the following commands: 
-<code> 
-mount -o ro /dev/disk/by-label/VBOXADDITIONS* /mnt 
-cd /mnt 
-./VBoxLinuxAdditions.run --nox11 
-shutdown -r now 
-</code> 
- 
-Missing Desktop icons: https://www.centos.org/forums/viewtopic.php?f=48&t=47271 
- 
-  - Make sure caja is the default file manager in System --> Control Center --> Preferred Applications -->System tab. 
-  - Add caja to automatically start in System--> Control Center --> Startup Applications. 
-  - Reboot. 
- 
-**Tried /usr/bin/display with a .jpg or .png file, but this error results:** 
- 
-<code> 
-[juckins@centos7-test-64: /tmp/splash]$ display default.png  
-display: color is not known to server `FOREGROUND':  
-No such file or directory @ error/xwindow.c/XGetPixelPacket/3064. 
-</code> 
- 
-  * This does work on FC20 i686.  libpng may be a different version.  http://forum.porteus.org/viewtopic.php?t=3900&p=28045   
-  * Test images in $HOME/Downloads 
- 
-ImageMagick may be a different version. 
- 
-UPDATE: Does work after installing Skype and its dependencies below (nux-desktop?) 
- 
-Comment out the GRUB_TERMINAL_OUTPUT line in /etc/default/grub using a # at the start of the line, and grub should use a graphics mode again 
- 
-First see if the default kernel is the latest one for boot.  If not, add the following line to /etc/default/grub 
-<code>GRUB_DEFAULT=0</code> 
-Also remove the "rhgb quiet" flags. 
-Get the splash.png from http://juckins.net/dokuwiki/lib/exe/fetch.php?media=splash.png and put into /boot/grub2/ 
-<code>GRUB_BACKGROUND="/boot/grub2/splash.png"</code> 
-Then run:  
-<code>grub2-mkconfig -o /boot/grub2/grub.cfg</code> 
- 
-Notes on grub splash screen: 
- 
-  * https://ask.fedoraproject.org/en/question/28087/how-do-i-set-the-grub2-background-image/  
-  * https://help.ubuntu.com/community/Grub2/Displays 
centos_8_migration_notes.txt · Last modified: 2022/06/08 16:03 by juckins