首页 > 其他 > 详细

随手记

时间:2018-10-04 15:53:32      阅读:189      评论:0      收藏:0      [点我收藏+]

selinux配置文件:/etc/selinux/config,软链接文件/etc/sysconfig/selinux

httpd配置文件:/etc/htttp/conf/httpd.conf

httpd配置文件中端口Listen为80,DocumentRoot "/var/www/html",通过网页访问服务端时,默认访问到的路径就是/var/www/html。在该目录下创建a.txt,通过http://192.168.85.130/a.txt,就可看到a.txt的内容,如果只访问http://192.168.85.130/,有index.html则显示index.html的内容,无则显示一个测试页面。

 

samba是一个网络服务器,用于搭建windows和linux之间的网盘服务

yum -y isntall samba

vi /etc/samba/smb.conf

随手记

原文:https://www.cnblogs.com/Forever77/p/9742286.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!