INSTALL/CentOS - Quick Install.sh: строка 116: mariadbPasswordConfirmation: команда не найдена
Hello! Error install CentOS - Quick
INSTALL/CentOS - Quick Install.sh: строка 116: mariadbPasswordConfirmation: команда не найдена
# bash <(curl -s https://gitlab.com/Shinobi-Systems/Shinobi-Installer/raw/master/shinobi-install.sh)
---------------------------------------------
Install Location for Shinobi
*Note : Default install location is /home
Do you want to install a custom location for Shinobi?
(y)es or (N)o? Default : No
y
Example : /home
Opening Install Location : ""
*--------------------**---------------------*
Install Shinobi CE or Shinobi Pro?
---------------------------------------------
*Note : Shinobi Pro is free for personal use.
*Learn more at http://shinobi.video/pro
---------------------------------------------
(C)E or (P)ro? Default : Pro
Install the Development branch?
(y)es or (N)o? Default : No
Getting the Master Branch
Клонирование в «Shinobi»…
remote: Enumerating objects: 5331, done.
remote: Counting objects: 100% (5331/5331), done.
remote: Compressing objects: 100% (1673/1673), done.
remote: Total 5331 (delta 3638), reused 5271 (delta 3588)
Получение объектов: 100% (5331/5331), 9.55 MiB | 4.68 MiB/s, готово.
Определение изменений: 100% (3638/3638), готово.
-------------------------------------
---------- Shinobi Systems ----------
Repository : https://gitlab.com/Shinobi-Systems/Shinobi
Product : Shinobi Professional (Pro)
Branch : master
Version : c943eedddcc441832b82767137816085f5d83443
Date : Tue Dec 3 07:56:55 +05 2019
-------------------------------------
-------------------------------------
*-----------------------------------*
Shinobi Installer
========
Select your OS
If your OS is not on the list please refer to the docs.
========
1. Ubuntu
2. CentOS
3. MacOS
4. FreeBSD
5. OpenSUSE
6. CentOS - Quick Install
========
6
=========================================================
== Shinobi : The Open Source CCTV and NVR Solution ==
=========================================================
This script will install Shinobi CCTV with minimal user
intervention.
You may skip any components you already have or do not
wish to install.
=========================================================
Press [Enter] to begin...
Installing dependencies and tools
Failed to set locale, defaulting to C
Последняя проверка окончания срока действия метаданных: 0:07:13 назад, Tue Dec 3 07:49:55 2019.
Отсутствуют совпадения для аргумента: deltarpm
Ошибка: Совпадений не найдено
Failed to set locale, defaulting to C
Последняя проверка окончания срока действия метаданных: 0:07:15 назад, Tue Dec 3 07:49:55 2019.
Package nano-2.9.8-1.el8.x86_64 is already installed.
Package dos2unix-7.4.0-3.el8.x86_64 is already installed.
Package net-tools-2.0-0.51.20160912git.el8.x86_64 is already installed.
Package curl-7.61.1-8.el8.x86_64 is already installed.
Package wget-1.19.5-7.el8_0.1.x86_64 is already installed.
Package git-2.18.1-3.el8.x86_64 is already installed.
Package make-1:4.2.1-9.el8.x86_64 is already installed.
Package zip-3.0-23.el8.x86_64 is already installed.
Зависимости разрешены.
Отсутствуют действия для выполнения
Выполнено!
Updating system
Failed to set locale, defaulting to C
Последняя проверка окончания срока действия метаданных: 0:07:18 назад, Tue Dec 3 07:49:55 2019.
Зависимости разрешены.
Отсутствуют действия для выполнения
Выполнено!
=========================================================
Node.js not found, installing...
## Installing the NodeSource Node.js 10.x repo...
## Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m
## Confirming "el8-x86_64" is supported...
+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_10.x/el/8/x86_64/nodesource-release-el8-1.noarch.rpm'
## Downloading release setup RPM...
+ mktemp
+ curl -sL -o '/tmp/tmp.hw5E7yd24m' 'https://rpm.nodesource.com/pub_10.x/el/8/x86_64/nodesource-release-el8-1.noarch.rpm'
## Installing release setup RPM...
+ rpm -i --nosignature --force '/tmp/tmp.hw5E7yd24m'
## Cleaning up...
+ rm -f '/tmp/tmp.hw5E7yd24m'
## Checking for existing installations...
+ rpm -qa 'node|npm' | grep -v nodesource
## Run `sudo yum install -y nodejs` to install Node.js 10.x and npm.
## You may also need development tools to build native addons:
sudo yum install gcc-c++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo yum install yarn
Failed to set locale, defaulting to C
Node.js Packages for Enterprise Linux 8 - x86_64 32 kB/s | 61 kB 00:01
Зависимости разрешены.
============================================================================================================================================================================================================================
Пакет Архитектура Версия Репозиторий Размер
============================================================================================================================================================================================================================
Installing:
nodejs x86_64 1:10.16.3-2.module_el8.0.0+186+542b25fc AppStream 9.0 M
Установка зависимостей:
npm x86_64 1:6.9.0-1.10.16.3.2.module_el8.0.0+186+542b25fc AppStream 3.8 M
Enabling module streams:
nodejs 10
Результат транзакции
============================================================================================================================================================================================================================
Установка 2 Пакеты
Объем загрузки: 13 M
Объем изменений: 59 M
Загрузка пакетов:
(1/2): npm-6.9.0-1.10.16.3.2.module_el8.0.0+186+542b25fc.x86_64.rpm 806 kB/s | 3.8 MB 00:04
(2/2): nodejs-10.16.3-2.module_el8.0.0+186+542b25fc.x86_64.rpm 1.6 MB/s | 9.0 MB 00:05
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Общий размер 1.7 MB/s | 13 MB 00:07
Проверка транзакции
Проверка транзакции успешно завершена.
Идет проверка транзакции
Тест транзакции проведен успешно
Выполнение транзакции
Запуск скриптлета: npm-1:6.9.0-1.10.16.3.2.module_el8.0.0+186+542b25fc.x86_64 1/1
Подготовка : 1/1
Installing : npm-1:6.9.0-1.10.16.3.2.module_el8.0.0+186+542b25fc.x86_64 1/2
Installing : nodejs-1:10.16.3-2.module_el8.0.0+186+542b25fc.x86_64 2/2
Запуск скриптлета: nodejs-1:10.16.3-2.module_el8.0.0+186+542b25fc.x86_64 2/2
Проверка : nodejs-1:10.16.3-2.module_el8.0.0+186+542b25fc.x86_64 1/2
Проверка : npm-1:6.9.0-1.10.16.3.2.module_el8.0.0+186+542b25fc.x86_64 2/2
Установлен:
nodejs-1:10.16.3-2.module_el8.0.0+186+542b25fc.x86_64 npm-1:6.9.0-1.10.16.3.2.module_el8.0.0+186+542b25fc.x86_64
Выполнено!
=========================================================
Do you want to install FFMPEG? Y/N y
Failed to set locale, defaulting to C
Последняя проверка окончания срока действия метаданных: 0:00:26 назад, Tue Dec 3 07:57:21 2019.
Package epel-release-8-7.el8.noarch is already installed.
Зависимости разрешены.
Отсутствуют действия для выполнения
Выполнено!
Retrieving http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:nux-dextop-release-0-1.el7.nux ################################# [100%]
Failed to set locale, defaulting to C
Nux.Ro RPMs for general desktop use 3.0 MB/s | 4.2 MB 00:01
Последняя проверка окончания срока действия метаданных: 0:00:03 назад, Tue Dec 3 07:57:51 2019.
Ошибка:
Проблема 1: package ffmpeg-devel-2.8.15-2.el7.nux.x86_64 requires ffmpeg-libs(x86-64) = 2.8.15-2.el7.nux, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libass.so.5()(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
- nothing provides libva.so.1()(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
- nothing provides libgnutls.so.28()(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
- nothing provides libgnutls.so.28(GNUTLS_1_4)(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
- nothing provides libgnutls.so.28(GNUTLS_3_0_0)(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
- nothing provides libopenjpeg.so.1()(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
Проблема 2: package ffmpeg-2.8.15-2.el7.nux.x86_64 requires ffmpeg-libs(x86-64) = 2.8.15-2.el7.nux, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libass.so.5()(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
- nothing provides libva.so.1()(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
- nothing provides libgnutls.so.28()(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
- nothing provides libgnutls.so.28(GNUTLS_1_4)(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
- nothing provides libgnutls.so.28(GNUTLS_3_0_0)(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
- nothing provides libopenjpeg.so.1()(64bit) needed by ffmpeg-libs-2.8.15-2.el7.nux.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
=========================================================
Do you want to install MariaDB?
Press [ENTER] for default [MariaDB]
[M]ariaDB, or [N]othing
=========================================================
Installing MariaDB repository...
[error] Detected RHEL or compatible but version (8.0) is not supported.
[error] The MariaDB Repository supports these Linux OSs, on x86-64 only:
* RHEL/CentOS 6 & 7
* Ubuntu 14.04 LTS (trusty), 16.04 LTS (xenial), & 18.04 LTS (bionic)
* Debian 8 (jessie), 9 (stretch), & 10 (buster)
* SLES 12 & 15
[error] See https://mariadb.com/kb/en/mariadb/mariadb-package-repository-setup-and-usage/#platform-support.
Installing MariaDB...
Failed to set locale, defaulting to C
Последняя проверка окончания срока действия метаданных: 0:00:39 назад, Tue Dec 3 07:57:51 2019.
Зависимости разрешены.
============================================================================================================================================================================================================================
Пакет Архитектура Версия Репозиторий Размер
============================================================================================================================================================================================================================
Installing:
mariadb x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed AppStream 6.2 M
mariadb-server x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed AppStream 16 M
Установка зависимостей:
mariadb-common x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed AppStream 62 k
mariadb-errmsg x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed AppStream 232 k
perl-DBD-MySQL x86_64 4.046-2.module_el8.0.0+72+668237d8 AppStream 156 k
Установка слабых зависимостей:
mariadb-backup x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed AppStream 6.2 M
mariadb-gssapi-server x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed AppStream 49 k
mariadb-server-utils x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed AppStream 1.6 M
Enabling module streams:
mariadb 10.3
perl-DBD-MySQL 4.046
Результат транзакции
============================================================================================================================================================================================================================
Установка 8 Пакетов
Объем загрузки: 31 M
Объем изменений: 162 M
Загрузка пакетов:
(1/8): mariadb-common-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm 154 kB/s | 62 kB 00:00
(2/8): mariadb-errmsg-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm 487 kB/s | 232 kB 00:00
(3/8): mariadb-gssapi-server-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm 637 kB/s | 49 kB 00:00
(4/8): mariadb-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm 1.1 MB/s | 6.2 MB 00:05
(5/8): mariadb-backup-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm 1.0 MB/s | 6.2 MB 00:06
(6/8): perl-DBD-MySQL-4.046-2.module_el8.0.0+72+668237d8.x86_64.rpm 877 kB/s | 156 kB 00:00
(7/8): mariadb-server-utils-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm 1.1 MB/s | 1.6 MB 00:01
(8/8): mariadb-server-10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64.rpm 1.1 MB/s | 16 MB 00:14
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Общий размер 1.8 MB/s | 31 MB 00:16
Проверка транзакции
Проверка транзакции успешно завершена.
Идет проверка транзакции
Тест транзакции проведен успешно
Выполнение транзакции
Подготовка : 1/1
Installing : mariadb-common-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 1/8
Installing : mariadb-errmsg-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 2/8
Installing : perl-DBD-MySQL-4.046-2.module_el8.0.0+72+668237d8.x86_64 3/8
Installing : mariadb-backup-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 4/8
Installing : mariadb-gssapi-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 5/8
Installing : mariadb-server-utils-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 6/8
Запуск скриптлета: mariadb-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 7/8
Installing : mariadb-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 7/8
Запуск скриптлета: mariadb-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 7/8
Installing : mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 8/8
Запуск скриптлета: mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 8/8
Проверка : mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 1/8
Проверка : mariadb-backup-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 2/8
Проверка : mariadb-common-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 3/8
Проверка : mariadb-errmsg-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 4/8
Проверка : mariadb-gssapi-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 5/8
Проверка : mariadb-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 6/8
Проверка : mariadb-server-utils-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 7/8
Проверка : perl-DBD-MySQL-4.046-2.module_el8.0.0+72+668237d8.x86_64 8/8
Установлен:
mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 mariadb-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 mariadb-backup-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64
mariadb-gssapi-server-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 mariadb-server-utils-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 mariadb-common-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64
mariadb-errmsg-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 perl-DBD-MySQL-4.046-2.module_el8.0.0+72+668237d8.x86_64
Выполнено!
Created symlink /etc/systemd/system/mysql.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/mysqld.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /usr/lib/systemd/system/mariadb.service.
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y/n] y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n]
... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n]
... Success!
By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n]
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n]
... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
=========================================================
Install default database? Y/N Y
Please enter your MariaDB Username
root
Please enter your MariaDB Password
Please confirm your MariaDB Password
INSTALL/CentOS - Quick Install.sh: строка 116: mariadbPasswordConfirmation: команда не найдена
Please enter your MariaDB Password