#!/bin/sh
# Configuração para a máquina virtual de CentOS 9 
# que contém o APACHE server.
# Rede interna (enp0s8)

source VM_CONFIG.sh

# --- variaveis aqui pf joao fr fr fr aaaaa ---#
helloworld="print"
if_dentro="enp0s8"
ip_dentro="10.60.0.2"

# --- instalar packages ---
sudo yum install -y epel-release
sudo yum install -y openssl apache

# --- interfaces ---
ifconfig $if_dentro $ip_dentro netmask 255.255.255.0

cp httpd.conf /etc/httpd/conf/
cp ssl.conf /etc/httpd/conf.d/
