Red Hat <пользователь> не может зарегистрироваться в каких-либо организациях. Как зарегистрироваться?

#!/usr/bin/env bash

# Reads stdin and writes it to stdout centred.
#
# 1. Send stdin to a temporary file while keeping track of the maximum
#    line length that occurs in the input.  Tabs are expanded to eight
#    spaces.
# 2. When stdin is fully consumed, display the contents of the temporary
#    file, padded on the left with the apropriate number of spaces to
#    make the whole contents centred.
#
# Usage:
#
#  center [-c N] [-t dir] <data
#
# Options:
#
#   -c N    Assume a window width of N columns.
#           Defaults to the value of COLUMNS, or 80 if COLUMNS is not set.
#
#   -t dir  Use dir for temporary storage.
#           Defaults to the value of TMPDIR, or "/tmp" if TMPDIR is not set.

tmpdir="${TMPDIR:-/tmp}"
cols="${COLUMNS:-80}"

while getopts 'c:t:' opt; do
    case "$opt" in
        c)  cols="$OPTARG" ;;
        t)  tmpdir="$OPTARG" ;;
    esac
done

tmpfile="$tmpdir/center-$$.tmp"
trap 'rm -f "$tmpfile"' EXIT

while IFS= read -r line
do
    line="${line//$'\t'/        }"
    len="${#line}"
    maxlen="$(( maxlen < len ? len : maxlen ))"
    printf '%s\n' "$line"
done >"$tmpfile"

padlen="$(( maxlen < cols ? (cols - maxlen) / 2 : 0 ))"
padding="$( printf '%*s' "$padlen" "" )"

while IFS= read -r line
do
    printf '%s%s\n' "$padding" "$line"
done <"$tmpfile"

Тестирование:

$ fortune | cowsay | ./center
            ________________________________________
           / "There are two ways of constructing a  \
           | software design: One way is to make it |
           | so simple that there are obviously no  |
           | deficiencies, and the other way is to  |
           | make it so complicated that there are  |
           | no obvious deficiencies."              |
           |                                        |
           \ -- C. A. R. Hoare                      /
            ----------------------------------------
                   \   ^__^
                    \  (oo)\_______
                       (__)\       )\/\
                           ||----w |
                           ||     ||

$ fortune | cowsay -f bunny -W 15 | ./center -c 100
                                  _______________
                                 / It has just   \
                                 | been          |
                                 | discovered    |
                                 | that research |
                                 | causes cancer |
                                 \ in rats.      /
                                  ---------------
                                   \
                                    \   \
                                         \ /\
                                         ( )
                                       .( o ).
1
25.11.2016, 07:38
3 ответа

Вы только что ответили на свой вопрос. Если у вас нет подписки, вы не сможете зарегистрироваться. Регистрация требует использования пары имя пользователя / пароль, с которой связана как минимум одна доступная подписка.

4
27.01.2020, 23:13

Вы должны прикрепить подписки к системе через клиентский портал с помощью Red Hat Subscription Manager, выполнив следующие действия:

  1. Журнал -в портале для клиентов
  2. Нажмите «Подписки» в левом верхнем углу.

    enter image description here

  3. Нажмите «Система» в списке подписчиков в разделе «Управление»

    enter image description here

  4. Нажмите «Зарегистрировать систему» ​​

  5. После регистрации нажмите имя системы в Панель «Единицы»

  6. Нажмите «Прикрепить подписку» (написано синими буквами)

  7. Выберите желаемую подписку. tions и нажмите «Прикрепить выбранное»

3
27.01.2020, 23:13

Даже я столкнулся с той же проблемой. Но проблема решилась. Пока вы не примете условия и положения И у вас не будет активной подписки 1, вы не сможете зарегистрироваться. Я решил эту проблему, добавив название компании как N/A и должность как пенсионер. Через 2 дня после создания учетной записи активная подписка стала 1, и я смог зарегистрировать свою систему.

https://access.redhat.com/products/red-hat-enterprise-linux/evaluation

перейдите по этой ссылке и попробуйте войти на 30-дневную пробную версию

После запуска команды:

subscription-manager list --available

Я получил следующий результат:

 Subscription Name:   30 Day Red Hat Enterprise Linux Server Self-Supported
                     Evaluation
Provides:            Red Hat Beta
                     Oracle Java (for RHEL Server)
                     Red Hat Enterprise Linux Server
                     Red Hat CodeReady Linux Builder for x86_64
                     Red Hat Enterprise Linux for x86_64
                     Red Hat Ansible Engine
                     Red Hat Container Images Beta
                     Red Hat Enterprise Linux Atomic Host Beta
                     Red Hat Enterprise Linux Atomic Host
                     Red Hat Container Images
0
27.01.2020, 23:13

Теги

Похожие вопросы