InstallHestiaCP.md
· 785 B · Markdown
Raw
```shell
clear
if grep -qsiRE 'ubuntu|debian' /etc/*release; then
cd /tmp
rm -Rf hst-*
curl -q -LSsf -O https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh && \
chmod 777 ./hst-install.sh && \
bash -c "./hst-install.sh \
--apache yes \
--phpfpm yes \
--multiphp yes \
--vsftpd yes \
--proftpd no \
--named yes \
--mysql yes \
--mysql-classic no \
--postgresql yes \
--exim yes \
--dovecot yes \
--sieve yes \
--clamav yes \
--spamassassin yes \
--iptables yes \
--fail2ban yes \
--quota yes \
--api yes \
--interactive no \
--with-debs no \
--port 8083 \
--hostname $HOSTNAME \
--email administrator@casjay.email \
--password Passw@rd \
--lang en \
--force || exit 2"
else
echo "Unsupported platform: only debian/ubuntu dists are supported"
exit 1
fi
```
clear
if grep -qsiRE 'ubuntu|debian' /etc/*release; then
cd /tmp
rm -Rf hst-*
curl -q -LSsf -O https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh && \
chmod 777 ./hst-install.sh && \
bash -c "./hst-install.sh \
--apache yes \
--phpfpm yes \
--multiphp yes \
--vsftpd yes \
--proftpd no \
--named yes \
--mysql yes \
--mysql-classic no \
--postgresql yes \
--exim yes \
--dovecot yes \
--sieve yes \
--clamav yes \
--spamassassin yes \
--iptables yes \
--fail2ban yes \
--quota yes \
--api yes \
--interactive no \
--with-debs no \
--port 8083 \
--hostname $HOSTNAME \
--email administrator@casjay.email \
--password Passw@rd \
--lang en \
--force || exit 2"
else
echo "Unsupported platform: only debian/ubuntu dists are supported"
exit 1
fi