LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1092|回复: 6

这里有没有用LINUX做网站服务器的朋友?请进来一下,谢谢!

[复制链接]
发表于 2006-2-10 09:40:08 | 显示全部楼层 |阅读模式
能提供你们配置好的文件内容吗?

我只需要以下文件配置全内容,谢谢了,麻烦了,帮帮我吧

httpd.conf 、 vsftpd.conf 、 postfix/main.cf 、 ssh.conf

新手求助,请好心人帮帮忙
 楼主| 发表于 2006-2-10 09:41:38 | 显示全部楼层
我是linux爱好者,急切想学会apache、vsftpd、postfix、ssh配置方法,请老手帮助一下,小弟感激不敬
回复 支持 反对

使用道具 举报

发表于 2006-2-10 12:23:20 | 显示全部楼层
自己man一下就都有了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-11 10:07:20 | 显示全部楼层
希望哪位高手提供一下配置文件,谢谢啦
回复 支持 反对

使用道具 举报

发表于 2006-2-11 11:23:40 | 显示全部楼层
我只有httpd.conf

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2006-2-12 00:01:14 | 显示全部楼层
我的 sshd_config。是打了补丁的,所以setCred这个项目你也许没有。
  1. #       $OpenBSD: sshd_config,v 1.72 2005/07/25 11:59:40 markus Exp $
  2. # This is the sshd server system-wide configuration file.  See
  3. # sshd_config(5) for more information.
  4. # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
  5. # The strategy used for options in the default sshd_config shipped with
  6. # OpenSSH is to specify options with their default value where
  7. # possible, but leave them commented.  Uncommented options change a
  8. # default value.
  9. Port 22
  10. Protocol 2
  11. AddressFamily inet
  12. #ListenAddress 0.0.0.0
  13. #ListenAddress ::
  14. # HostKey for protocol version 1
  15. #HostKey /etc/ssh/ssh_host_key
  16. # HostKeys for protocol version 2
  17. HostKey /etc/ssh/ssh_host_rsa_key
  18. HostKey /etc/ssh/ssh_host_dsa_key
  19. # Lifetime and size of ephemeral version 1 server key
  20. #KeyRegenerationInterval 1h
  21. #ServerKeyBits 768
  22. # Logging
  23. # obsoletes QuietMode and FascistLogging
  24. SyslogFacility AUTH # Default:AUTH
  25. LogLevel ERROR # Default:INFO
  26. # Authentication:
  27. LoginGraceTime 2m
  28. PermitRootLogin no
  29. StrictModes yes
  30. MaxAuthTries 0
  31. #RSAAuthentication yes
  32. PubkeyAuthentication yes
  33. AuthorizedKeysFile      .ssh/authorized_keys
  34. # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
  35. #RhostsRSAAuthentication no
  36. # similar for protocol version 2
  37. #HostbasedAuthentication no
  38. # Change to yes if you don't trust ~/.ssh/known_hosts for
  39. # RhostsRSAAuthentication and HostbasedAuthentication
  40. #IgnoreUserKnownHosts no
  41. # Don't read the user's ~/.rhosts and ~/.shosts files
  42. #IgnoreRhosts yes
  43. # To disable tunneled clear text passwords, change to no here!
  44. #PasswordAuthentication yes
  45. PermitEmptyPasswords no
  46. # Change to no to disable s/key passwords
  47. ChallengeResponseAuthentication yes
  48. # Kerberos options
  49. KerberosAuthentication yes
  50. KerberosOrLocalPasswd no
  51. KerberosTicketCleanup yes
  52. KerberosGetAFSToken yes
  53. # GSSAPI options
  54. GSSAPIAuthentication yes
  55. GSSAPICleanupCredentials yes
  56. # Set this to 'yes' to enable PAM authentication, account processing,
  57. # and session processing. If this is enabled, PAM authentication will
  58. # be allowed through the ChallengeResponseAuthentication mechanism.
  59. # Depending on your PAM configuration, this may bypass the setting of
  60. # PasswordAuthentication, PermitEmptyPasswords, and
  61. # "PermitRootLogin without-password". If you just want the PAM account and
  62. # session checks to run without PAM authentication, then enable this but set
  63. # ChallengeResponseAuthentication=no
  64. UsePAM yes
  65. AllowTcpForwarding yes
  66. #GatewayPorts no
  67. X11Forwarding no
  68. X11DisplayOffset 10
  69. X11UseLocalhost yes
  70. PrintMotd yes
  71. PrintLastLog yes
  72. TCPKeepAlive yes
  73. UseLogin no
  74. UsePrivilegeSeparation yes
  75. #PermitUserEnvironment no
  76. Compression delayed
  77. #ClientAliveInterval 0
  78. #ClientAliveCountMax 3
  79. UseDNS no
  80. PidFile /var/run/sshd.pid
  81. #MaxStartups 10
  82. UsePAMSetCred yes
  83. # no default banner path
  84. #Banner /some/path
  85. # override default of no subsystems
  86. Subsystem       sftp    /usr/sbin/sftp-server
  87. AllowGroups users
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-12 09:15:36 | 显示全部楼层
谢谢啊 感激
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表