Tuesday, February 19, 2013

how to mount share windows on fedora

how to mount   share windows on fedora

mount -t cifs //IP_or_Hostname/windows_share/folder /home/user_mount/destination  -o uid=user_mount gid=group_user_mount username=windows_user,password=windows_password,domain=AD_domain, rw

#su - khonkaensoft
#mkdir /public_html/mnt

if done mkdir exit command to root user
with root user

#mount -t cifs // /home/khonkaensoft/public_html/mnt  -o uid=khonkaensoft gid=khonkaensoft username=myuser,password=1234,domain=workgroup, rw

So configure auto mount in  etc/fstab:

#vi /etc/fstab

add buttom line

// /home/khonkaensoft/public_html/mnt  -o uid=khonkaensoft gid=khonkaensoft username=myuser,password=1234,domain=workgroup,iocharset=utf8,mode=0777,dir_mode=07‌​77 0 0

reboot test auto mount

No comments:

Post a Comment

VirtualHost HTTP redirect to HTTPS

<VirtualHost *:80>     ServerName www.example.com     Redirect / https://www.example.com/ </VirtualHost> <VirtualHos...