NHỮNG CÂU HỎI THƯỜNG GẶP VỀ LINUX - Trang 51

Những câu hỏi thường gặp về Linux

And make sure that either the

/etc/host.conf

or

/etc/resolv.conf

file contains the line:

order hosts,bind

Thận trọng

Do not change the “localhost” entry in /etc/hosts, because many programs
depend on it for internal message-passing.

Sendmail takes many factors into account when resolving domain addresses. These factors, collectively,
are known as, “rulesets,” in sendmail jargon. The program does not require that a domain address be
canonical, or even appear to be canonical. In the example above, “

bilbo.

” (note the period) would

work just as well as “

bilbo.bag-end.com

.” This và other modifications apply mainly to recent

versions.

Prior to version 8.7, sendmail required that the FQDN appear first in the [/etc/hosts] entry. This is due to
changes in the envelope address masquerade options. Consult the sendmail documents.

If you have a domain name server for only a local subnet, make sure that “.” refers to a SOA record on
the server machine, và that reverse lookups (check bởi using nslookup) work for all machines on the
subnet.

Finally,

FEATURE

configuration macro options like

nodns

,

always_add_domain

, và

nocanonify

,

control how sendmail interprets host names.

The document, Sendmail: Installation và Operation Guide, included in the

doc/

subdirectory of

Sendmail source code những bản phân phối, discusses briefly how Sendmail resolves Internet addresses.
Sendmail source code archives are listed at: http://www.sendmail.org/

Chris Karakas

H:

Làm thế nào để cho phép và chọn console ảo

Đ:

In text mode, press the left Alt-F1 to Alt-F12 to select the consoles

tty1

to

tty12

; Right Alt-F1

gives

tty13

và so on. To switch out of X you must press Ctrl-Alt-F1, etc; Alt-F5 or whatever will

switch back.

However, If you have a non-PC compatible system, please see the note below.

If you want to use a VC for ordinary login, it must be listed in /etc/inittab, which controls which
terminals và virtual consoles have login prompts. The X Window System needs tại least one free VC in
order to start.

Ghi chú: The key sequence is actually Ctrl Meta FN. On PC compatible systems, the right và left Alt
keys are really synonymous with the keysymbols Meta_L và Meta_R. If the binding is different, you can
determine what keys produce Meta_L và Meta_R with xkeycaps or a similar application.

50