linux下samba已经配置好并启动了 怎么在局域网访问呢
1、在windows下运行:linux服务器ip地址共享目录名
2、在linux下运行:mount -t **bfs(或者cifs) linux服务器ip地址共享目录名 /mnt
linux 综合练习
夜里,迷糊手写的,有序号。。慢慢看,有问题再追问
1、hostname wanghong.zbvcxx.net ## 改主机名
2、useradd tenny ## 添加用户
useradd ten
2-1、mkdir /myfile ## 创建文件
2-2、setfacl -m u:tenny:rwx /myfile ## 让tenny可读写执行
setfacl -m u:ten:rwx /myfile ## 同上
chmod o=--- /myfile ## 其它人不可读写执行
2-3、yum -y install samba* ## 安装samba
service nmb restart ## 重启服务
service **b restart ## 同上
chkconfig nmb on ## 添加开机启动
chkconfig **b on ## 同上
3、vi /etc/samba/**b.conf ## 改配置文件
--wrokgroup = wrokgroup ## 此处是修改配置文件内容
--security = share ## 匿名
--[score] ## 共享名
--comment = score
--path = /samba/score ## 路径
--browseable = yes
--guest ok = yes
--:wq ## 保存退出
service **b restart ## 重启服务
4、yum -y install httpd*
vi /etc/httpd/conf/httpd.conf
--#ServerName 主机名:80 ## 删除前面的#号
--ServerRoot /var/www/web
touch /var/www/web/index.html
vi /var/www/web/index.html
--班级:P11计1 姓名:王红 学号: ## 写字。然后保存退出
service httpd restart
chkconfig httpd on
5、yum -y install vsftp*
service vsftpd restart
chkconfig vsftpd on
6、yum install bind
改配置文件,改啊改啊改啊改啊。。。。
困了,明天起来再码字儿