centos_7_migration_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
centos_7_migration_notes [2019/04/14 22:04] – juckins | centos_7_migration_notes [2019/06/08 10:07] – juckins | ||
---|---|---|---|
Line 56: | Line 56: | ||
Restarting Services: http:// | Restarting Services: http:// | ||
- | For migrating a system, take note of this info first: | + | For migrating a system |
* Make a test user on CentOS6 and one on CentOS7 | * Make a test user on CentOS6 and one on CentOS7 | ||
* Compare hidden files to see if anything changed between OSs | * Compare hidden files to see if anything changed between OSs | ||
Line 65: | Line 65: | ||
* users | * users | ||
* <color # | * <color # | ||
- | * [[https:// | + | * [[https:// |
- | * [[https:// | + | * [[https:// |
* [[http:// | * [[http:// | ||
* Don't forget to add semicolons with this: # sed -i ‘/[^;] *$/ | * Don't forget to add semicolons with this: # sed -i ‘/[^;] *$/ | ||
Line 81: | Line 81: | ||
* /etc/hosts | * /etc/hosts | ||
* / | * / | ||
- | * / | + | |
- | * Samba users, passwords, shares | + | |
+ | * / | ||
+ | * / | ||
+ | * Make sure service is running and will start at boot. | ||
+ | * Check output with: testparm -v | ||
* nxclient-3.5.0-7.x86_64.rpm | * nxclient-3.5.0-7.x86_64.rpm | ||
* nxnode-3.5.0-9.x86_64.rpm | * nxnode-3.5.0-9.x86_64.rpm | ||
Line 99: | Line 103: | ||
perl | perl | ||
perl-autodie | perl-autodie | ||
+ | perl-Array-Diff | ||
+ | perl-Array-Unique | ||
perl-B-Lint | perl-B-Lint | ||
perl-Business-ISBN | perl-Business-ISBN | ||
Line 219: | Line 225: | ||
* edit / | * edit / | ||
* Check logs: # cat / | * Check logs: # cat / | ||
- | * Ensure service is running: ''# | + | * Ensure service is running: |
+ | * ''# | ||
+ | * ''# | ||
* [[gmail_as_a_relay_on_linux|Set up Gmail Relay and test]] | * [[gmail_as_a_relay_on_linux|Set up Gmail Relay and test]] | ||
* Disable SELinux | * Disable SELinux | ||
- | * VSFTP | + | * VSFTP (for security cameras) |
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// | ||
* As root: setsebool -P allow_ftpd_full_access on | * As root: setsebool -P allow_ftpd_full_access on | ||
* As root: systemctl restart vsftpd | * As root: systemctl restart vsftpd | ||
+ | * As root: systemctl enable vsftpd | ||
* Samba | * Samba | ||
- | * [[http:// | + | * [[samba_file_sharing|Samba |
- | * [[https:// | + | |
* < | * < | ||
* Virtual Box | * Virtual Box | ||
* Working crontabs for each user | * Working crontabs for each user | ||
+ | * [[python_notes|Install Python 3]] | ||
Contents of / | Contents of / | ||
Line 336: | Line 345: | ||
* [[http:// | * [[http:// | ||
* Array:: | * Array:: | ||
+ | * //Note, this module is not needed. Was used in ASMAD compare_stops.pl and compare_origin.pl// | ||
* Start up cpan as root (initial time) | * Start up cpan as root (initial time) | ||
* Run through the manual configuration process, accept the defaults | * Run through the manual configuration process, accept the defaults | ||
Line 342: | Line 352: | ||
* cpan Array:: | * cpan Array:: | ||
* Time:: | * Time:: | ||
- | * //Note, this module | + | * //Note, this module |
* As root, had to: | * As root, had to: | ||
* cd / | * cd / | ||
Line 414: | Line 424: | ||
* With PHP 5.6, the latest version of phpMyAdmin (4.6.4) is fully supported | * With PHP 5.6, the latest version of phpMyAdmin (4.6.4) is fully supported | ||
* Copy config from previous machine | * Copy config from previous machine | ||
+ | |||
+ | Setup ddclient: | ||
+ | * https:// | ||
+ | * yum -y install ddclient | ||
+ | * Use / | ||
+ | |||
+ | Setup duckdns: | ||
+ | * crontab is < | ||
+ | |||
+ | Setup ydns: | ||
+ | * crontab is < | ||
Firewall notes: | Firewall notes: | ||
Line 531: | Line 552: | ||
* Additional tips: http:// | * Additional tips: http:// | ||
* systemctl restart sshd.service | * systemctl restart sshd.service | ||
+ | * User accounts at remove machines connecting to the new machine will need their $HOME/ | ||
- | Update GRUB | + | Update GRUB and splash screen |
+ | * My saved splash images with varying resolutions are in / | ||
* <color # | * <color # | ||
* cd / | * cd / | ||
Line 538: | Line 561: | ||
* vi grub | * vi grub | ||
* remove "rhgb quiet" from the GRUB_CMDLINE_LINUX call | * remove "rhgb quiet" from the GRUB_CMDLINE_LINUX call | ||
- | * add " | + | * add " |
* comment out this line: GRUB_TERMINAL_OUTPUT=" | * comment out this line: GRUB_TERMINAL_OUTPUT=" | ||
* add this line: GRUB_BACKGROUND="/ | * add this line: GRUB_BACKGROUND="/ | ||
* Ensure it is rw-r-r permissions | * Ensure it is rw-r-r permissions | ||
* [[http:// | * [[http:// | ||
- | * For VM/ | + | * For VM/ |
* For UEFI-based installs, as root: grub2-mkconfig -o / | * For UEFI-based installs, as root: grub2-mkconfig -o / | ||
* More info at [[https:// | * More info at [[https:// |
centos_7_migration_notes.txt · Last modified: 2023/12/14 10:10 by juckins