Page 1 of 2

Не устанавливается VestaCP на CentOS 7

Posted: Wed Jan 02, 2019 2:57 pm
by Konstantinus
Установил CentOS-7-x86_64-Minimal-1810.iso
Веста не устанавливается.

Code: Select all

login as: root
[email protected]'s password:
Last login: Wed Jan  2 09:41:02 2019
[root@localhost ~]# su
[root@localhost ~]# 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   3398      0 --:--:-- --:--:-- --:--:--  3401
[root@localhost ~]# bash vst-install.sh --nginx yes --phpfpm yes --apache no --named no --remi yes --vsftpd no --proftpd yes --iptables yes --fail2ban yes --quo                                                                       ta no --exim yes --dovecot yes --spamassassin no --clamav no --softaculous no --mysql yes --postgresql no --hostname web --email [email protected] --password
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 47012  100 47012    0     0  64042      0 --:--:-- --:--:-- --:--:-- 64049
vst-install-rhel.sh: option requires an argument -- p
Usage: vst-install-rhel.sh [OPTIONS]
  -a, --apache            Install Apache        [yes|no]  default: yes
  -n, --nginx             Install Nginx         [yes|no]  default: yes
  -w, --phpfpm            Install PHP-FPM       [yes|no]  default: no
  -v, --vsftpd            Install Vsftpd        [yes|no]  default: yes
  -j, --proftpd           Install ProFTPD       [yes|no]  default: no
  -k, --named             Install Bind          [yes|no]  default: yes
  -m, --mysql             Install MySQL         [yes|no]  default: yes
  -g, --postgresql        Install PostgreSQL    [yes|no]  default: no
  -d, --mongodb           Install MongoDB       [yes|no]  unsupported
  -x, --exim              Install Exim          [yes|no]  default: yes
  -z, --dovecot           Install Dovecot       [yes|no]  default: yes
  -c, --clamav            Install ClamAV        [yes|no]  default: yes
  -t, --spamassassin      Install SpamAssassin  [yes|no]  default: yes
  -i, --iptables          Install Iptables      [yes|no]  default: yes
  -b, --fail2ban          Install Fail2ban      [yes|no]  default: yes
  -r, --remi              Install Remi repo     [yes|no]  default: yes
  -o, --softaculous       Install Softaculous   [yes|no]  default: yes
  -q, --quota             Filesystem Quota      [yes|no]  default: no
  -l, --lang              Default language                default: en
  -y, --interactive       Interactive install   [yes|no]  default: yes
  -s, --hostname          Set hostname
  -e, --email             Set admin email
  -p, --password          Set admin password
  -f, --force             Force installation
  -h, --help              Print this help

  Example: bash vst-install-rhel.sh -e [email protected] -p p4ssw0rd --apache no --phpfpm yes
[root@localhost ~]#

Re: Не устанавливается VestaCP на CentOS 7

Posted: Wed Jan 02, 2019 6:04 pm
by Alex Connor
Konstantinus wrote:
Wed Jan 02, 2019 2:57 pm

Code: Select all

[root@localhost ~]# bash vst-install.sh --nginx yes --phpfpm yes --apache no --named no --remi yes --vsftpd no --proftpd yes --iptables yes --fail2ban yes --quo                                                                       ta no --exim yes --dovecot yes --spamassassin no --clamav no --softaculous no --mysql yes --postgresql no --hostname web --email [email protected] --password
собственно вот вам ответ

Re: Не устанавливается VestaCP на CentOS 7

Posted: Wed Jan 02, 2019 6:35 pm
by Konstantinus
Пробелы в параметрах?

Re: Не устанавливается VestaCP на CentOS 7

Posted: Wed Jan 02, 2019 6:40 pm
by Alex Connor
именно так

Re: Не устанавливается VestaCP на CentOS 7

Posted: Wed Jan 02, 2019 7:56 pm
by Konstantinus
Скопировал с сайта параметры в блокнот, а оттуда в putty - пробелов не было.
При копировании из putty они появляются.
Растягивая окно пробелов не видно, текст автоматически корректно переноситься

Re: Не устанавливается VestaCP на CentOS 7

Posted: Wed Jan 02, 2019 9:34 pm
by Alex Connor
Пробелов не должно быть. Варианта 2: либо исправлять пробелы, либо используйте другой SSH клиент, например Xshell

Re: Не устанавливается VestaCP на CentOS 7

Posted: Wed Jan 02, 2019 9:52 pm
by grayfolk
Сколько юзаю putty - ни разу с такой проблемой не сталкивался. Вероятнее, проблема в блокноте. Используйте лучше Notepad++.
P.S. Либо вообще копируйте с сайта прямо в putty ))

Re: Не устанавливается VestaCP на CentOS 7

Posted: Thu Jan 03, 2019 12:18 pm
by Konstantinus
Копирую с сайта в putty. С Xshell та же картина.

Code: Select all

Xshell 6 (Build 0111)
Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[C:\~]$ 

Connecting to 192.168.1.7:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

WARNING! The remote SSH server rejected X11 forwarding request.
Last failed login: Thu Jan  3 06:02:08 EST 2019 from 200.11.150.91 on ssh:notty
There were 1803 failed login attempts since the last successful login.
Last login: Wed Jan  2 14:55:24 2019 from 217.77.223.40
[root@localhost ~]# 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   3466      0 --:--:-- --:--:-- --:--:--  3463
[root@localhost ~]# bash vst-install.sh --nginx yes --phpfpm yes --apache no --named no --remi yes --vsftpd no --proftpd yes --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin no --clamav no --softaculous no --mysql yes --postgresql no --hostname web --email [email protected] --password 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 47012  100 47012    0     0  63714      0 --:--:-- --:--:-- --:--:-- 63701
vst-install-rhel.sh: option requires an argument -- p
Usage: vst-install-rhel.sh [OPTIONS]
  -a, --apache            Install Apache        [yes|no]  default: yes
  -n, --nginx             Install Nginx         [yes|no]  default: yes
  -w, --phpfpm            Install PHP-FPM       [yes|no]  default: no
  -v, --vsftpd            Install Vsftpd        [yes|no]  default: yes
  -j, --proftpd           Install ProFTPD       [yes|no]  default: no
  -k, --named             Install Bind          [yes|no]  default: yes
  -m, --mysql             Install MySQL         [yes|no]  default: yes
  -g, --postgresql        Install PostgreSQL    [yes|no]  default: no
  -d, --mongodb           Install MongoDB       [yes|no]  unsupported
  -x, --exim              Install Exim          [yes|no]  default: yes
  -z, --dovecot           Install Dovecot       [yes|no]  default: yes
  -c, --clamav            Install ClamAV        [yes|no]  default: yes
  -t, --spamassassin      Install SpamAssassin  [yes|no]  default: yes
  -i, --iptables          Install Iptables      [yes|no]  default: yes
  -b, --fail2ban          Install Fail2ban      [yes|no]  default: yes
  -r, --remi              Install Remi repo     [yes|no]  default: yes
  -o, --softaculous       Install Softaculous   [yes|no]  default: yes
  -q, --quota             Filesystem Quota      [yes|no]  default: no
  -l, --lang              Default language                default: en
  -y, --interactive       Interactive install   [yes|no]  default: yes
  -s, --hostname          Set hostname
  -e, --email             Set admin email
  -p, --password          Set admin password
  -f, --force             Force installation
  -h, --help              Print this help

  Example: bash vst-install-rhel.sh -e [email protected] -p p4ssw0rd --apache no --phpfpm yes
[root@localhost ~]# 

Re: Не устанавливается VestaCP на CentOS 7

Posted: Thu Jan 03, 2019 1:54 pm
by Alex Connor
Пароль прописываете? То есть убрали для нас, верно?

Re: Не устанавливается VestaCP на CentOS 7

Posted: Fri Jan 04, 2019 6:58 am
by Baggio824
Значит проблема в пароле. Сталкивался с длинным паролем, не хотел ставится.