I have a Linux Centos 9 VM on Google Cloud. I would like to configure this system as a web server to host a dynamic website created in spring boot. I have opened this thread to help with the initial configuration steps because I will be installing all services using Docker.
I did the following:
1.added a 2GB swap partition (my OS only has 600MB of RAM)
2.added a password to centos and root users
I was unable to update the system:
Code: Select all
login as: centos
Authenticating with public key "centos"
Last login: Sat May 28 09:16:16 2022 from 151.82.124.173
[centos@webserver ~]$ apt-get update && apt-get upgrade -y
-bash: apt-get: command not found
[centos@webserver ~]$ locate apt-get
-bash: locate: command not found
[centos@webserver ~]$