14 lines
238 B
Bash
Executable File
14 lines
238 B
Bash
Executable File
#!/bin/bash
|
|
|
|
apt install -y apache2
|
|
|
|
a2enmod expires
|
|
a2enmod rewrite
|
|
|
|
apache_vhost="$(cat ops/apache2/vhost.conf)"
|
|
echo "$apache_vhost" | mo > /etc/apache2/sites-enabled/000-default.conf
|
|
|
|
service apache2 restart
|
|
|
|
source ../installnode.sh
|