Những câu hỏi thường gặp về Linux
H:
Làm thế nào để cuộn ngược màn hình trong chế độ văn bản
Đ:
With the default US keymap, you can use Shift with the PgUp và PgDn keys. (The gray ones, not
the ones on the numeric keypad.) With other keymaps, look in [/usr/lib/keytables]. You can remap the
ScrollUp
và ScrollDown keys to be whatever you like.
The screen program, http://vector.co.jp/vpack/browse/person/an010455.html provides a searchable
scrollback buffer và the ability to take “snapshots” of text-mode screens.
Recent kernels that have the VGA Console driver can use dramatically more memory for scrollback,
provided that the video card can actually handle 64 kb of video memory. Add the line:
#define VGA_CAN_DO_64B
to the start of the file [drivers/video/vgacon.c]. This feature may become a standard setting in future
kernels. If the video frame buffer is also enabled in the kernel, this setting may not affect buffering.
In older kernels, the amount of scrollback is fixed, because it is implemented using the video memory
to store the scrollback text. You may be able to get more scrollback in each virtual console bởi reducing
the total number of VC’s. See [linux/tty.h].
Chris Karakas
H:
Làm thế nào để có thể sử dụng email
Đ:
For sending mail via SMTP (Simple Mail Transfer Protocol) và receiving mail from an ISP’s POP
(Post Office Protocol) server, you can use a desktop client like Netscape Communicator or KDE kmail.
You will need to enter the names of the SMTP và POP servers in the preferences of the respective
application, as well as your E-mail address (v.d., [email protected]), và your dial-up password.
The same applies to Usenet News. Enter the name of the NNTP (Network News Transfer Protocol)
server in your News client’s preferences section. You may also have to provide the IP addresses of the
ISP’s primary và secondary name servers.
If you have a traditional MTA (Mail Transport Agent) like Sendmail, Smail, qmail, or Exim, you’ll need
to follow the instructions in each package. Basically, configuration entails determining which host
machine, either on your local LAN or via dial-up Internet, is the “Smart Host,” if you’re using SMTP. If
you’re using the older UUCP protocol, then you’ll need to consult the directions for configuring UUCP,
và also make sure that your ISP’s system is configured to relay mail to you.
Information about Internet hosting, và News và E-mail in general, is available on the Usenet News
group news.announce.newusers, và those FAQ’s are also archived tại ftp://rtfm.mit.edu/pub/usenet/.
H:
Sendmail dừng tới một phút với mỗi lệnh
Đ:
Make sure that Sendmail can resolve your hostname to a valid (i.e., parsable) domain address. If you
are not connected to the Internet, or have a dial-up connection with dynamic IP addressing, add the fully
qualified domain name to the
/etc/hosts
file, in addition to the base host name; v.d., if the host name
is “
bilbo
” và the domain is “
bag-end.com
:”
192.168.0.1 bilbo.bag-end.com bilbo
49