totp
This commit is contained in:
16
VM_APACHE.sh
16
VM_APACHE.sh
@@ -1,21 +1,9 @@
|
||||
#!/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/
|
||||
cp conf/httpd.conf /etc/httpd/conf/
|
||||
cp conf/ssl.conf /etc/httpd/conf.d/
|
||||
|
||||
Reference in New Issue
Block a user