2 # Set up plomlompom.com web server.
5 config_tree_prefix="${HOME}/config/all_new_2018"
6 setup_scripts_dir="${config_tree_prefix}/setup_scripts"
7 cd "${setup_scripts_dir}"
10 sed -i "s/REPLACE_fqdn_ECALPER/$(hostname -f)/g" /etc/nginx/nginx.conf
11 sed -i "s/REPLACE_fqdn_ECALPER/$(hostname -f)/g" /etc/gitweb.conf
14 git clone plom@core.plomlompom.com:repos/website www
15 apt -y -o Dpkg::Options::=--force-confold install nginx gitweb fcgiwrap
16 mkdir /var/public_repos
17 chown plom:plom /var/public_repos
18 iptables-restore /etc/iptables/rules.v4