ftp,nfs,samba基本配置
2012-07-31 23:06
309 查看
VSFTP:
# vim /etc/vsftpd/vsftpd.conf
anon_upload_enalble=YES
anon_mkdir_write_enable=YES
默认目录 /var/ftp/pub
# chmod -R ... /var/ftp/pub
# service vsftpd restart
NFS:
# vim/etc/exports /var/nfs *.*(rw,sync)
# chmod -R ... /var/nfs
# mount -t nfs IP:/var/nfs /mnt/nfs
# service nfs restart
SAMBA:
关闭防火墙
关闭SELinux
# vim /etc/selinux/config SELINUX=disabled
# setenforce 0
# vim /etc/samba/smb.conf load printers = no
# service smb restart
# smbpasswd -a user ; add a user
# smbpasswd -x user ; delete a user
TFTP
# vim /etc/xinetd.d/tftp
service tftp
{
disable
= no
socket_type
= dgram
protocol
= udp
wait = yes
user = root
server
= /usr/sbin/in.tftpd
server_args
= -s /var/ftp
per_source
= 11
cps = 100 2
flags = IPv4
}
# ls /etc/rc.d/init.d/xinetd 确认脚本文件存在
默认目录 /var/lib/tftpboot
# service xinetd restart
BOOTP
#vi /etc/xinetd.d/bootp
service bootps
{
disable
= no
socket_type
=dgram
protocol
=udp
wait =yes
user =root
server
=/usr/sbin/bootpd
}
#vi /etc/bootptab
s3c6410:\
ht=1:\
ha=0x089090909090:\
ip=192.168.0.50:\
sm=255.255.255.0
# vim /etc/vsftpd/vsftpd.conf
anon_upload_enalble=YES
anon_mkdir_write_enable=YES
默认目录 /var/ftp/pub
# chmod -R ... /var/ftp/pub
# service vsftpd restart
NFS:
# vim/etc/exports /var/nfs *.*(rw,sync)
# chmod -R ... /var/nfs
# mount -t nfs IP:/var/nfs /mnt/nfs
# service nfs restart
SAMBA:
关闭防火墙
关闭SELinux
# vim /etc/selinux/config SELINUX=disabled
# setenforce 0
# vim /etc/samba/smb.conf load printers = no
# service smb restart
# smbpasswd -a user ; add a user
# smbpasswd -x user ; delete a user
TFTP
# vim /etc/xinetd.d/tftp
service tftp
{
disable
= no
socket_type
= dgram
protocol
= udp
wait = yes
user = root
server
= /usr/sbin/in.tftpd
server_args
= -s /var/ftp
per_source
= 11
cps = 100 2
flags = IPv4
}
# ls /etc/rc.d/init.d/xinetd 确认脚本文件存在
默认目录 /var/lib/tftpboot
# service xinetd restart
BOOTP
#vi /etc/xinetd.d/bootp
service bootps
{
disable
= no
socket_type
=dgram
protocol
=udp
wait =yes
user =root
server
=/usr/sbin/bootpd
}
#vi /etc/bootptab
s3c6410:\
ht=1:\
ha=0x089090909090:\
ip=192.168.0.50:\
sm=255.255.255.0
相关文章推荐
- ftp,nfs,samba基本配置
- 三种常见的文件共享服务--ftp,nfs,samba 区别和配置
- FTP、NFS、Samba服务配置简单几步骤
- LINUX上SAMBA,NFS的基本配置和自动挂载
- nfs,samba基本配置及自动挂载
- ubuntu 下配置NFS,samba, telnet,TFTP,ftp,DHCP服务
- 关于nfs 与 ftp 和 samba 服务
- samba基本配置 ----from ubuntu官网
- 网络共享(Ftp,NFS,Samba)----NFS
- Java访问共享目录(samba和NFS配置…
- FTP、TFTP、NFS、SSH介绍及在 Ubuntu 上的安装配置
- [转载]SELinux 环境下网络服务设置,配置 Apache 、Samba、NFS
- Linux下的XAMPP基本配置技巧(设置虚拟主机、添加FTP账户等)
- NFS,Samba,ftp,http——NFS
- NFS服务基本配置及使用
- 文件共享服务 FTP,NFS 和 Samba
- Linux下的XAMPP基本配置技巧(设置虚拟主机、添加FTP账户等)
- liunx服务使用(nfs服务和ftp服务还有samba服务)