#!/bin/bash set -eux apt-get install -y python-pip pip install devpi-server # cat <> /etc/init/devpi-server.conf # # this script will start/stop DevPI Server # description "DevPI server" # version "1.0" # author "Valentin Lab" # chdir /root # exec devpi-server --start --host 0.0.0.0 --port 3142 # EOF cp -a etc/devpi-server/* /etc/devpi-server mkdir /var/{lib,log}/devpi-server -p systemctl enable /etc/devpi-server/devpi-server.service ## This is needed to enable https_port #apt-get install devscripts build-essential #apt-get install libssl-dev ## not in build-dep ... because we'll add it. #apt-get source squid3 #apt-get build-dep squid3 #cd squid3-3.1.19 #vim debian/rules # or whatever editor you use # add --enable-ssl #debuild -us -uc