Function server_forge::deployment::deploy_apache

source ·
pub fn deploy_apache() -> Result<(), Box<dyn Error>>
Expand description

Deploys and configures the Apache web server.

This function installs Apache (httpd) using the appropriate package manager, starts the Apache service, and enables it to start on boot.

§Returns

Returns Ok(()) if Apache is deployed successfully, or an error if deployment fails.