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}"
11 sed -i "s/REPLACE_fqdn_ECALPER/$(hostname -f)/g" /etc/nginx/nginx.conf
12 sed -i "s/REPLACE_fqdn_ECALPER/$(hostname -f)/g" /etc/gitweb.conf
15 git clone plom@core.plomlompom.com:repos/website www
16 apt -y -o Dpkg::Options::=--force-confold install nginx gitweb fcgiwrap
17 mkdir /var/public_repos
18 chown plom:plom /var/public_repos
19 iptables-restore /etc/iptables/rules.v4