Closed sckott closed 4 years ago
Are you getting an error?
Maybe your script halts because postfix asks for a hostname if you haven't set /etc/hostname
yet. To do a silent install you can do something like:
# Prevent postfix from prompting for hostname
sudo debconf-set-selections <<< "postfix postfix/mailname string your.hostname.com"
sudo debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"
sudo apt-get install -y postfix
# Install OpenCPU
sudo add-apt-repository -y ppa:opencpu/opencpu-1.4
sudo apt-get update
sudo apt-get install -y opencpu-server
Um, once again I think Docker is probably the fastest/easiest solution here, e.g. using @jeroenooms image to deploy on port 443:
docker run -t -d -p 5080:8006 -p 443:8007 jeroenooms/opencpu-dev
we have debian_install_opencpu
@jeroenooms can you suggest what we need? Currently we have: