Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dpi:dpi_components:dpiui:configuration [2025/05/23 14:20] – elena.krasnobryzh | en:dpi:dpi_components:dpiui:configuration [2026/05/07 14:42] (current) – [Migrating the GUI from CentOS 7 to VEOS] elena.krasnobryzh | ||
|---|---|---|---|
| Line 93: | Line 93: | ||
| - Disable the requiretty requirement in the file ''/ | - Disable the requiretty requirement in the file ''/ | ||
| + | |||
| + | =====Migrating the GUI from CentOS 7 to VEOS===== | ||
| + | - Install the latest version of the GUI on a **new** machine. For more information, | ||
| + | - Update the GUI to the latest version on an **old** machine. For more information, | ||
| + | - Disable all cron jobs related to the GUI on the **old machine**: <code bash># Back up current crontab jobs | ||
| + | crontab -l > ./ | ||
| + | |||
| + | # Delete all user tasks | ||
| + | crontab -r | ||
| + | |||
| + | # Stopping the cron system service | ||
| + | sudo service crond stop</ | ||
| + | - Export the dpiui2 database from the **old** machine using the mysqldump utility.\\ :!: **Make sure you have enough free disk space beforehand!** <code bash>. / | ||
| + | |||
| + | mysqldump --add-drop-table --single-transaction=TRUE -u $DB_USERNAME --password=$DB_PASSWORD -h $DB_HOST -P $DB_PORT $DB_DATABASE | gzip > dpiui2.sql.gz</ | ||
| + | - Back up the contents of the **old** machine in the ''/ | ||
| + | - Import the '' | ||
| + | |||
| + | gunzip < dpiui2.sql.gz | mysql -u $DB_USERNAME --password=$DB_PASSWORD $DB_DATABASE</ | ||
| + | - Upload the contents of the archive created in step 5 to the **new** machine, into the ''/ | ||
| + | - Reinstall the GUI package on a **new** machine: <code bash>yum reinstall dpiui2</ | ||
| + | - Verify that everything is working correctly on the **new** GUI and that all policies/ | ||
| + | - Run the uninstallation script on the **old** machine: <code bash> | ||