Page 1 of 1

Installing VestaCP on Ubuntu 18.04

Posted: Tue Oct 16, 2018 4:00 pm
by tom256
Hi there, I want to install VestaCP on Ubuntu 18.04.
I was using this tutorial:
https://www.digitalocean.com/community/ ... -user-data
which is for Ubuntu 16.04 and I used it before, but now it doesn't work in 18.04
it changes the default port:
#!/bin/bash
curl -O http://vestacp.com/pub/vst-install.sh
chmod +x vst-install.sh
./vst-install.sh $*
rm vst-install.sh
# Migrate to use port 5600 as the admin port
echo "Configuring to use port 5600 as admin port"
PATH=$PATH:/usr/local/vesta/bin
sed -i 's/8083;/5600;/' /usr/local/vesta/nginx/conf/nginx.conf && \
sed -i '/8083/ s/ACCEPT/DROP/' /usr/local/vesta/data/firewall/rules.conf && \
v-add-firewall-rule ACCEPT 0.0.0.0/0 5600 TCP VESTA-ADMIN && \
v-add-firewall-chain VESTA-ADMIN 5600 && \
v-update-firewall && \
service vesta restart

But I got these errors when I used this tutorial today!! What happened? What do you I need to do? How can I reinstall VestaCP now?

Code: Select all

Package apache2-suexec-custom is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package mc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package rssh is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'apache2-suexec-custom' has no installation candidate
E: Unable to locate package expect
E: Unable to locate package fail2ban
E: Unable to locate package idn
E: Unable to locate package libapache2-mod-fcgid
E: Unable to locate package libapache2-mod-rpaf
E: Unable to locate package libapache2-mod-ruid2
E: Package 'mc' has no installation candidate
E: Unable to locate package ntpdate
E: Unable to locate package phpmyadmin
E: Unable to locate package roundcube-core
E: Unable to locate package roundcube-mysql
E: Unable to locate package roundcube-plugins
E: Package 'rssh' has no installation candidate
E: Unable to locate package webalizer
Error: apt-get install failed
Configuring to use port 5600 as admin port
sed: can't read /usr/local/vesta/nginx/conf/nginx.conf: No such file or directory


Re: Installing VestaCP on Ubuntu 18.04

Posted: Tue Oct 16, 2018 4:30 pm
by tom256
UPDATE2: I tried to reinstall VestaCP with common official commands:
wget https://vestacp.com/pub/vst-install.sh
bash vst-install.sh
Then I've faced the same problem again! It seems my problem is not related to changing default port mentioned in that Digital Ocean tutorial, So What's wrong with my new Server?