- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
RHCE考试笔记
Iptables –F
Iptables –X
Iptables –Z
Iptables –vnL
Service iptables save
Service iptables restart
Iptables –L
SSH
Cat /etc/passwd
Useradd harry
Passwd harry
Vim /etc/hosts.allow
Sshd: .
Vim /etc/hosts.deny
Sshd: .remote.test
Sshd
FTP
Yum –y install vsftpd*
Chkconfig vsftpd on
Service vsftpd restart
Lftp
Vim /etc/hosts.deny
Vsftpd: ALL
Vim /etc/hosts.allow
Vsftpd: .
Service vsftpd restart
Chkconfig vsftpd on
Lftp
Pop3
Yum –y install sendmail*
Yum –y install dovecot*
Service sendmail restart
Chkconfig sendmail on
Service dovecot restart
Chkconfig dovecot on
Cd /etc/mail
Vim local-host-name
E
D
Vim access
Connect: RELAY
Connect: remote.test REJECT
Service sendmail restart
Chkconcfig sendmail on
Yum – y install telnet*
telnet 25
vim /etc/dovecot.conf
protocol = imaps pop3
service dovecot restart
chkconfig dovecot on
netatat –tunlp | grep dovecot
iptables –vnL
iptables –A INPUT –s! /24
iptables –A INPUT –i lo –j ACCEPT
yum –y install mutt*
mutt –f pop://mary@:110
tail /var/log/maillog
SAMBA
Yum –y install samba*
Service smb restart
Chkconfig smb on
Cd /etc/samba
Cp samba.conf{,.orig}
Vim smb.conf
Workgroup = SAMBA
192.168.0.
[common]
Path = /common
Browseable = yes
Valid = mary
Service sbm restart
Chkconfig smb on
Smbpasswd –a mary
Service smb restart
Chkconfig smb on
Testparm
Testparm /etc/samba/samba.conf 3
Testparm /etc/samba/samba.conf remote33.remote.test 3
Netatat –tunlp | grep smb
Chcon –R –t samba_share_t /common
Smbclient –L
Smbclient ///common –U mary%password
HTTP
Yum –y install httpd*
Lftp instructor
Get
Cp desktop.html index.html
Co index.html /var/www/html
Chkconfig httpd on
Service httpd restart
Netstat –tunlp | grep httpd
Links –dump
(chcon –R –referentce= /var/www/html /var/www/html/index.html)
Virtual
Mkdir /var/www/virtual
Chgrp harry virtual
Chmod g+s virtual
Cd /var/www/virtual
Lftp instructor
Get
cp station.html index.html
cp index.html /var/www/virtual/index.html
cd
cd /etc/httpd/conf
vim httpd
您可能关注的文档
最近下载
- 标本溶血的原因及预防.pptx VIP
- 上海市所有道路名和所对应行政区域.xls VIP
- 2025年上海市英语高考二轮热点专题复习专题07阅读理解词义猜测题.docx VIP
- 非理想流动课件.pptx VIP
- 农村土地第二轮承包到期后再延长30年试点服务需求和技术要求.docx VIP
- 2025年上海市高考英语热点复习:阅读理解词义猜测题.pdf VIP
- 销售培训课件 -《销售就是要搞定人》.pdf VIP
- 2025年人教版三年级数学上册全册教案.pdf VIP
- 2025贵州贵阳市投资控股集团房地产置业有限公司招聘12人笔试备考题库及答案解析.docx VIP
- 第一单元 观察物体 单元测试(提升卷)-2025-2026学年三年级上册数学人教版(A4版).docx VIP
文档评论(0)