#150: Prepare the server - Rmhibbert/oe2-group-c GitHub Wiki
Prepare the server for Management server and App server
Step by step
Updated all the server
Description: Ensured that all servers were updated and had proper network connectivity.
Command: sudo apt update && sudo apt upgrade
Navigate to etc folder
Description: Navigate to the /etc directory and open the hosts file.
Command: sudo nano hosts
Add host entries
Description: Add the private IP and server hostname entries of all other servers to the hosts file, excluding the server you are currently on.
Command:
- 10.2.0.5 mgmt-c
- 10.2.0.4 db-c
- 10.2.0.6 backup-c
- 10.2.0.7 apps-c
Ping other server
Description: After adding the private IP addresses of the other servers, ping the management server from the app server to verify connectivity.
Command: ping mgmt-c
Challenges
None