Once RAP4 is running, there are maintenance tasks you might want to do. The most frequently used tasks are described here for RAP-3 maintainers to refer to.
stefjoosten$ ssh sjo@rap.cs.ou.nl
sjo@rap.cs.ou.nl's password:
Permission denied, please try again.
sjo@rap.cs.ou.nl's password:
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-124-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
170 packages can be updated.
12 updates are security updates.
New release '18.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Wed May 29 12:03:17 2019 from 145.20.142.195
sjo@lnx-hrl-202v:~$cd RAP4
sjo@lnx-hrl-202v:~/RAP4$sjo@lnx-hrl-202v:~/RAP4$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
40e5e97c1b26 phpmyadmin/phpmyadmin "/run.sh superviso..." 4 months ago Up 36 seconds 9000/tcp, 0.0.0.0:8080->80/tcp rap3_phptools_1
bff782b2da89 ampersandtarski/rap4-db "docker-entrypoint..." 4 months ago Up 2 weeks 3306/tcp rap3_db_1
773f7ad86527 dockerampersand_rap3 "docker-php-entryp..." 18 months ago Up 2 weeks 0.0.0.0:80->80/tcp dockerampersand_rap3_1
7525eb7ea95f dockerampersand_db "docker-entrypoint..." 18 months ago Up 2 weeks 3306/tcp dockerampersand_db_1
sjo@lnx-hrl-202v:~/RAP4$ sjo@lnx-hrl-202v:~/RAP4$ ls -al
total 20
drwxrwxr-x 3 sjo sjo 4096 Oct 25 2018 .
drwxr-xr-x 18 sjo sjo 4096 Jan 9 2018 ..
-rw-rw-r-- 1 sjo sjo 472 Oct 25 2018 docker-compose.yml
drwxr-xr-x 5 root root 4096 Dec 15 2017 volumes
sjo@lnx-hrl-202v:~/RAP4$ sjo@lnx-hrl-202v:~/RAP4$ cat docker-compose.yml
version: '3'
services:
rap4:
restart: always
image: ampersandtarski/ampersand-rap:latest
ports:
- "80:80"
links:
- db
volumes:
- ./volumes/log:/var/www/html/RAP4/log
- ./volumes/scripts:/var/www/html/RAP4/scripts
db:
restart: always
image: ampersandtarski/rap4-db
volumes:
- ./volumes/mysql:/var/lib/mysql
phptools:
image: phpmyadmin/phpmyadmin
ports:
- "8080:80"
links:
- db
sjo@lnx-hrl-202v:~/RAP4$sjo@lnx-hrl-202v:~/RAP4$ ls -al volumes/
total 40
drwxr-xr-x 5 root root 4096 Dec 15 2017 .
drwxrwxr-x 3 sjo sjo 4096 Oct 25 2018 ..
drwxr-xr-x 2 www-data www-data 4096 Dec 28 11:16 log
drwxr-xr-x 229 999 999 20480 May 13 07:48 mysql
drwxr-xr-x 75 www-data www-data 4096 Oct 25 2018 scripts
sjo@lnx-hrl-202v:~/RAP4$sjo@lnx-hrl-202v:~/RAP4$ docker-compose up -d% ssh sjo@rap.cs.ou.nl
Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-151-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Wed Aug 11 10:26:22 CEST 2021
System load: 0.08
Usage of /: 68.3% of 48.83GB
Memory usage: 17%
Swap usage: 0%
Processes: 264
Users logged in: 0
IP address for ens160: 145.20.188.96
IP address for br-0b19c7bfdba3: 172.20.0.1
IP address for br-0f95c427718c: 172.26.0.1
IP address for docker0: 172.17.0.1
* Canonical Livepatch is enabled.
- All available patches applied.
84 packages can be updated.
1 update is a security update.
*** System restart required ***
Last login: Mon Aug 2 11:14:56 2021 from 145.20.142.176
sjo@lnx-hrl-202v:~$sjo@lnx-hrl-202v:~$ sudo apt update
sjo@lnx-hrl-202v:~$ sudo apt upgradewget https://raw.githubusercontent.com/AmpersandTarski/RAP/master/docker-compose.yml