⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1683.html

📁 著名的linux英雄站点的文档打包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
            name=header_r1_c1></A></TD>
            <TD colSpan=3>
              <form action="http://www.linuxhero.com/docs/search.html" method=get>
                <table 
                        style="BORDER-RIGHT: #c4c4c4 1px solid; BORDER-TOP: #c4c4c4 1px solid; BORDER-LEFT: #c4c4c4 1px solid; BORDER-BOTTOM: #c4c4c4 1px solid" 
                        cellspacing=0 cellpadding=3 width="95%" border=0 align="center">
                  <tbody> 
                  <tr> 
                    <td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif"> 
                      <div align=center><font class=normalfont>搜索文章: 
                        <input type=hidden value=result name=action2>
                          <input type=radio checked value=title name=type>标题 
                          <input type=radio value=content name=type>内容 
                          <input type=image src="images/button_go.gif" tppabs="http://www.linuxhero.com/docs/images/button_go.gif" border=0 name=image2>
                        </font></div>
                    </td>
                  </tr>
                  <tr> 
                    <td noWrap> 
                      <div align="center"> 
                        <input maxlength=100 size=30 name=keyword2>
                      </div>
                    </td>
                  </tr></tbody> 
                </table>
              </form>
            </TD>
            <TD rowSpan=2><IMG src="images/header_r1_c7.gif" tppabs="http://www.linuxhero.com/docs/images/header_r1_c7.gif" width=26 border=0 name=header_r1_c7></TD>
          <TD><IMG height=83 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1 border=0></TD></TR>
        <TR>
          <TD background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif"><IMG height=22 
            src="images/header_r2_c1.gif" tppabs="http://www.linuxhero.com/docs/images/header_r2_c1.gif" width=296 border=0 
            name=header_r2_c1></TD>
          <TD background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colSpan=5>
              <DIV align=right><FONT class=normalfont>当前位置: 
              <A href="index.html" tppabs="http://www.linuxhero.com/docs/index.html">本站首页</A>
              <font color="#FF6699">&gt;&gt;</font>
<A href="type26.html" tppabs="http://www.linuxhero.com/docs/type26.html">其他服务</A>                 | <A href="copyright.html" tppabs="http://www.linuxhero.com/docs/copyright.html">版权说明</A></font></DIV>
            </TD>
          <TD><IMG height=22 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1 
        border=0></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=10 cellPadding=0 width="100%" bgColor=#ffffff 
        border=0>
         <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
              
              <TR>
                <TD vAlign=top align=middle width="60%">
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                  background="images/back.gif" tppabs="http://www.linuxhero.com/docs/images/back.gif" border=0>
                    <TBODY>
                    <TR>
                        <TD vAlign=top width="80%"> 
                          <DIV align=center>
                        <FORM action="search.html" tppabs="http://www.linuxhero.com/docs/search.html" method=get>
                            </FORM>
                        <TABLE cellSpacing=0 cellPadding=0 width="95%" 
                          border=0><TBODY>
                          <TR>
                            <TD background="images/bgi.gif" tppabs="http://www.linuxhero.com/docs/images/bgi.gif" 
                          height=30></TD></TR></TBODY></TABLE>
                        <TABLE cellSpacing=0 cellPadding=3 width="95%" 
                        align=center border=0>
                          <TBODY>
                          <TR>
                            <TD>
                              <TABLE cellSpacing=0 cellPadding=3 width="100%" 
                              border=0>
                                <TBODY>
                                <TR>
                                      <TD vAlign=top> 
<p><FONT class=normalfont><B><font color=blue>将Linux配置为一个FAX服务器</font></B></FONT><BR><FONT class=smallfont color=#ff9900>2004-04-23 15:18 pm</FONT><BR><FONT class=normalfont>作者:ccid<br>来自:Linux知识宝库<br>联系方式:无名<br><br>一. 介绍 <br>
<br>
  下面介绍的配置采用了Hylafax 4.0p2.rjc11,其运行于Mandrake7.1之上。在服务 <br>
器端,Hylafax由三个守护程序组成: <br>
  faxq: 主要的服务程序 <br>
  hfaxd: 管理网络连接 <br>
  faxgetty:管理调制解调器间的会话 <br>
  在客户端运行的程序如下(这些程序也可以在服务器上运行): <br>
  sendfax:发送传真 <br>
  faxstat:检查传真队列 <br>
  faxrm:从队列中删除一项工作。 <br>
  相关的配置文件在/var/spool/fax/etc/文件夹内。 <br>
二. 安装 <br>
<br>
  我强烈建议你安装以下软件包(它们都包含在Mandrake 7.1中): <br>
    ghostscript ftp://ftp.cs.wisc.edu/pub/ghost/aladdin <br>
    libtiff ftp://rufus.w3.org/linux/redhat <br>
  也可以从官方网站http://www.hylafax.org/links.html获取这些资源。安装Hylafax, <br>
需要安装下列RPM包: <br>
    rpm -ivh hylafax-common-4.0pl2.rjc11-3mdk <br>
    rpm -ivh hylafax-client-4.0pl2.rjc11-3mdk <br>
    rpm -ivh hylafax-server-4.0pl2.rjc11-3mdk <br>
三. 配置Hylafax <br>
<br>
  运行下列命令对服务器进行配置: <br>
  faxsetup -server (必须以root身份进行该操作) <br>
  除了以下的几项外,对其它的询问选项都选取OK,即选取默认设值: <br>
  · Country code [1]? enter 33 for France <br>
  · Area code []? enter 1 for Paris <br>
  · Long distance dialing prefix [1]? enter 0 <br>
  · International dialing prefix [011]? enter 00 <br>
  · Dial string rules file [etc/dialrules]? enter etc/dialrules.europe <br>
  · Serial port that modem is connected to []? enter ttyS0 (for COM1) or  <br>
ttyS1 (for COM2) <br>
  Hylafax的默认设置在启动时并不自动的调用守护程序faxgetty,可以手工完成该 <br>
过程。  <br>
  1、 编辑/etc/inittab文件,在文件的最后插入下面的内容: <br>
  mo:2345:respawn:/usr/sbin/faxgetty -D ttyS0 <br>
  然后运行kill -HUP l 重启faxgetty。 <br>
  或者对rc.local文件进行改动: <br>
  2、 在/etc/rc.d/rc.local文件中加入下面几行: <br>
    /usr/sbin/faxgetty -D /dev/ttys0 <br>
  并运行命令:faxgetty -D /dev/ttys0 <br>
  注意:用faxaddmodem命令可以添加多个调制解调器。 <br>
  完成这些处理后,就为faxgetty创建了文件/var/spool/fax/etc/config.ttyS0 <br>
(串口1),其中包括了/dev/ttyS0调制解调器的配置。文件/usr/share/fax/hfaxd.conf <br>
包含了hfaxd守护程序的配置,我没有对其进行任何改动。 <br>
<br>
  <br>
  可能出现的问题: <br>
  用probemodem命令来探测调制解调器,另外在/var/spool/fax/config中有一些典型 <br>
的配置    <br>
。 <br>
  我的调制解调器是3Com的US Robotics 56K,因此我将usr-2.0文件复制到 <br>
/var/spool/fax/etc中,改名为config.ttyS0,并做如下修改: <br>
    # Configuration for using the Class 2.0 command interface <br>
    # with a USR v.34 Courier or Sporster modem. <br>
    # <br>
    # CONFIG: CLASS2.0: USRobotics*-* <br>
    # <br>
    CountryCode: 33 <br>
    AreaCode: 1 <br>
    #FAXNumber: your number ex (for france): 0134123412 <br>
    LongDistancePrefix: 0 <br>
    InternationalPrefix: 00 <br>
    DiadStringRules: etc/dialrules.europe (Important .europe !) <br>
    ServerTracing: 1 <br>
    SessionTracing: 11 <br>
    RecvFileMode: 0600 <br>
    LogFileMode: 0600 <br>
    DeviceMode: 0600 <br>
    RingsBeforeAnswer: 1 <br>
    SpeakerVolume: off <br>
    GettyArgs: "-h %l dx_%s" <br>
    #LocalIdentifier: "Your Company" (uncomment if wanted on the fax) <br>
    #TagLineFont: etc/lutRS18.pcf (idem) <br>
    #TagLineFormat: "De %%l|%c|Page %%p sur %%t" (idem) <br>
    #MaxRecvPages: 25 <br>
    ModemType: Class2.0 # use class 2.0 interface <br>
    ModemRate: 57600 # 38400 DCE-DTE communication rate <br>
    ModemFlowControl: rtscts # XON/XOFF flow control assumed <br>
    ModemDialCmd: ATDT0%s # I added 0 because I go through a PABX !! <br>
    #ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control <br>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -