71aa8b5ef1c6fba780e0e4fd9c9b3aba8c87d0d0
wiki/info/landscape/amazon-ec2.md
| ... | ... | @@ -330,7 +330,10 @@ Follow these steps to upgrade the AMI: |
| 330 | 330 | * Launch a new instance based on the existing AMI |
| 331 | 331 | * Log in as user `root` |
| 332 | 332 | * Run `yum update` to update the operating system |
| 333 | +* Stop the Java instance, e.g., by using `killall -9 java` |
|
| 333 | 334 | * Remove any obsolete logs from `/home/sailing/servers/server/logs` |
| 335 | +* Stop the httpd server, e.g., using `service httpd stop` |
|
| 336 | +* Remove httpd logs under `/var/log/httpd` |
|
| 334 | 337 | * Update the git contents (essential for up-to-date versions of `/etc/init.d/sailing` which links to the git, and the `refreshInstance.sh` script used during automatic instance launch), and clean any build artifacts by doing |
| 335 | 338 | ``` |
| 336 | 339 | > su - sailing |