Answer for KodeKloud Question - Linux Services

 As per details shared by the development team, the new application release has some dependencies on the back end. There are some packages/services that need to be installed on all app servers under Stratos Datacenter. As per requirements please perform the following steps:

a. Install cups package on all the application servers.

b. Once installed, make sure it is enabled to start during boot.

Sample Answer: 

ssh <user>@<server>

sudo su

#Install the cups package

    yum install -y cups 

#Start the cups service

    Systemctl start cups

#Check the status of cups service

    Systemctl status cups

# Enabled cups service to start during boot 

    Systemctl enable cups


Note: **The Question copied for learning purposes.** Commands are correct but based on your question the server, user name, and other details might differ, so please do check.


1 comment:

Featured Post

Answer for Kodekloud DEVOPS Questions - Init container in Kubernetes

Question: 1. Create a Deployment named as ic-deploy-devops. 2. Configure spec as replicas should be 1 , labels app should be ic-devops , ...