| 57 | |
| 58 | === Upgrading |
| 59 | |
| 60 | The sections below contain instructions on how to upgrade the software installation from a previous version to stable rasdaman v10.0. |
| 61 | |
| 62 | ==== From v10.0 |
| 63 | |
| 64 | To upgrade from the previous stable version v10.0 to stable v10.1: |
| 65 | |
| 66 | 1. Update the repository metadata with `sudo apt-get update` (Ubuntu) or `sudo yum update` (CentOS 7) |
| 67 | 2. Stop rasdaman with `sudo service rasdaman stop`; make sure that the processes are really stopped: if `ps aux | grep -E 'ras(mgr|server)'` returns any processes, stop them with `pkill -9 -f 'ras(mgr|server)'` |
| 68 | 3. Install the new rasdaman version with `sudo apt-get install rasdaman` (Ubuntu) or `sudo yum update rasdaman` (CentOS 7) |
| 69 | |
| 70 | ==== From testing |
| 71 | |
| 72 | To upgrade from the latest testing version to stable v10.1: |
| 73 | |
| 74 | 1. Change the testing package repository to the stable one in `/etc/apt/sources.list.d/rasdaman.list` (Ubuntu) or `/etc/yum.repos.d/rasdaman.repo` (CentOS 7) |
| 75 | 2. Stop rasdaman with `sudo service rasdaman stop`; make sure that the processes are really stopped: if `ps aux | grep -E 'ras(mgr|server)'` returns any processes, stop them with `pkill -9 -f 'ras(mgr|server)'` |
| 76 | 3. Remove the current rasdaman package with `sudo apt-get remove rasdaman` (Ubuntu) or `sudo yum erase rasdaman` (CentOS 7); this is required because the stable package has the same version but usually a lower iteration number than the testing one |
| 77 | 4. Install the new rasdaman version with `sudo apt-get install rasdaman` (Ubuntu) or `sudo yum update rasdaman` (CentOS 7) |
| 78 | |