user@test-server:~$ sudo su
root@test-server:/home/user# curl -O
http://vestacp.com/pub/vst-install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1711 100 1711 0 0 5591 0 --:--:-- --:--:-- --:--:-- 5609
root@test-server:/home/user# bash vst-install.sh --nginx yes --apache yes --phpfpm no --named no --remi no --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous no --mysql yes --postgresql no --hostname mx.artstyle.ua --email email --password password
--2019-02-07 16:55:37--
http://vestacp.com/pub/vst-install-ubuntu.sh
Resolving vestacp.com (vestacp.com)... 104.236.66.100
Connecting to vestacp.com (vestacp.com)|104.236.66.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45579 (45K) [text/plain]
Saving to: ‘vst-install-ubuntu.sh’
vst-install-ubuntu.sh 100%[=======================================================================================================>] 44.51K 271KB/s in 0.2s
2019-02-07 16:55:38 (271 KB/s) - ‘vst-install-ubuntu.sh’ saved [45579/45579]
Would you like to continue [y/n]: y
--2019-02-07 16:55:46--
http://nginx.org/keys/nginx_signing.key
Resolving nginx.org (nginx.org)... 95.211.80.227, 62.210.92.35, 2001:1af8:4060:a004:21::e3
Connecting to nginx.org (nginx.org)|95.211.80.227|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1561 (1.5K) [text/plain]
Saving to: ‘/tmp/nginx_signing.key’
/tmp/nginx_signing.key 100%[=======================================================================================================>] 1.52K --.-KB/s in 0s
2019-02-07 16:55:47 (62.0 MB/s) - ‘/tmp/nginx_signing.key’ saved [1561/1561]
Warning: apt-key output should not be parsed (stdout is not a terminal)
--2019-02-07 16:55:47--
http://c.vestacp.com/deb_signing.key
Resolving c.vestacp.com (c.vestacp.com)... 104.236.66.100
Connecting to c.vestacp.com (c.vestacp.com)|104.236.66.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1719 (1.7K) [text/plain]
Saving to: ‘deb_signing.key’
deb_signing.key 100%[=======================================================================================================>] 1.68K --.-KB/s in 0s
2019-02-07 16:55:47 (83.4 MB/s) - ‘deb_signing.key’ saved [1719/1719]
Warning: apt-key output should not be parsed (stdout is not a terminal)
Extracting templates from packages: 100%
2019-02-07 17:07:27 [ERROR] The data directory needs to be specified.
mkdir: cannot create directory ‘/var/lib/mysql’: File exists
2019-02-07T15:07:27.921750Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-02-07T15:07:27.922680Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
2019-02-07T15:07:27.922708Z 0 [ERROR] Aborting
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
Warning: Since password will be sent to server in plain text, use ssl connection to ensure password safety.
ERROR 1054 (42S22) at line 1: Unknown column 'password' in 'where clause'
Synchronizing state of spamassassin.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable spamassassin
mv: cannot move '/usr/local/vesta/data/ips/' to a subdirectory of itself, '/usr/local/vesta/data/ips/XXX.XXX.XXX.XXX'
sed: -e expression #1, char 0: no previous regular expression
sed: -e expression #1, char 0: no previous regular expression