Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:dpi:dpi_components:dpiui:configuration [2026/05/06 14:41] – 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 105: | Line 105: | ||
| # Stopping the cron system service | # Stopping the cron system service | ||
| sudo service crond stop</ | 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> | + | - Export the dpiui2 database from the **old** machine using the mysqldump utility.\\ :!: **Make sure you have enough free disk space beforehand!** <code bash>. / |
| - | - Back up the contents of the **old** machine in the ''/ | + | |
| - | - Import the database | + | 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</ |
| - | - Upload the contents of the archive created in step 5 to the **new** machine, into the ''/ | + | - 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</ | - 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/ | - Verify that everything is working correctly on the **new** GUI and that all policies/ | ||
| - Run the uninstallation script on the **old** machine: <code bash> | - Run the uninstallation script on the **old** machine: <code bash> | ||