Horje
chkconfig httpd on Amazon Linux 2 AMI Code Example
chkconfig httpd on Amazon Linux 2 AMI
If you using Amazon Linux 2 AMI you need to follow these steps:

- In AMI2 they are using systemctl for managing services check if it is installed on your machine 2.systemctl list-units --type=service by this command check if httpd is listed
- sudo systemctl enable httpd 
	To eanable httpd start on boot up
- systemctl is-enabled httpd 
	To check if httpd enabled to start on boot up linux system

After that you can reboot your linux system and httpd will be started.





Shell

Related
how to view the files in folder linux Code Example how to view the files in folder linux Code Example
install jupyter notebbok in pip Code Example install jupyter notebbok in pip Code Example
bash for loop one line Code Example bash for loop one line Code Example
how to install ant in linux Code Example how to install ant in linux Code Example
ubuntu get full path of file Code Example ubuntu get full path of file Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14