Обеспечение псевдонима / phpmyadmin / usr / share / phpmyadmin часто встречается на всех виртуальных хостах Apache

Описание терминала названо для Linux, который предоставляет собственный эмулятор консоли (как и несколько других ядер).

За исключением FreeBSD, все Linux- и современные BSD-платформы получают термин "termcap", получая его из базы данных terminfo в ncurses . Записи консоли зависят от систем, в которых они реализованы (в отличие от многих эмуляторов терминала, которые работают на нескольких платформах).

Комментарий в ncurses 1.8.6 (октябрь 1994 г.) к описанию терминала linux гласил:

# Note that the statdard Linux console is now called 'linux' instead
# of 'console'. terminals with sizes other than 80x25 need to append
# their size to linux and add an entry like the one for 132x43 below

Это было специфично для Linux, но после переноса ncurses последовало обобщение.

В исходных кодах ncurses этот раздел INSTALL очень старый (замечен в 1.9.7a в ноябре 1995 года), но не устарел:

    Naming the Console Terminal                                            

    In various systems there has been a practice of designating the system
    console driver type as `console'.  Please do not do this!  It
    complicates peoples' lives, because it can mean that several different
    terminfo entries from different operating systems all logically want to
    be called `console'.

    Please pick a name unique to your console driver and set that up
    in the /etc/inittab table or local equivalent.  Send the entry to the
    terminfo maintainer (listed in the misc/terminfo file) to be included
    in the terminfo file, if it's not already there.  See the
    term(7) manual page included with this distribution for more on
    conventions for choosing type names.

    Here are some recommended primary console names:

            linux   -- Linux console driver
            freebsd -- FreeBSD
            netbsd  -- NetBSD
            bsdos   -- BSD/OS

    If you are responsible for integrating ncurses for one of these
    distributions, please either use the recommended name or get back
    to us explaining why you don't want to, so we can work out nomenclature
    that will make users' lives easier rather than harder.

Есть раздел в база данных терминала для этих: ANSI, UNIX CONSOLE И СПЕЦИАЛЬНЫХ ТИПОВ , хотя нет описания "vt-generic" и (с учетом различий между вариантами), существует ли правдоподобный выбор.

Если вы посмотрите на «vt-generic», скорее всего, вы обнаружите, что это только в менее распространенных реализациях, таких как Informix (см. Этот файл ):

#   @(#)/etc/termcap    0.0 
#
#   Informix product aware termcap file
#
#   Author: Marco Greco, , Catania, Italy
#
#   Initial release: Jun 97
#   Current release: Jul 98
#
#   Absolutely no warranty -- use at your own risk
#
#   Notes: Adapted from the default Slackware termcap file:
#   added gs, ge, gb, ZG, ZA capabilities, shifted function keys
#   down by one, added ki, kj, kf, kg
#
#   Limit the size of each entry - 4gl apps core dump if applicable
#   entry too long
#
#   Entries other than vt's, console & xterm *untested*
#
# From: miquels@drinkel.ow.org (Miquel van Smoorenburg)
#
# Okay guys, here is a shorter termcap that does have most
# capabilities and is ncurses compatible. If it works for you
# I'd like to hear about it.

Дополнительная литература :

0
20.12.2018, 10:52
1 ответ

Насколько я понимаю, пакет -предоставил конфигурацию в phpmyadminдобавляет псевдоним во все виртуальные хосты :добавляет верхний -уровень

Alias /phpmyadmin /usr/share/phpmyadmin

запись в конфигурации Apache.

При интерактивной установке, отличной от -, необходимо убедиться, что в phpmyadminдля debconfвыбрана конфигурация Apache 2, для чего может потребоваться предварительная раздача -.

1
28.01.2020, 02:41

Теги

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