How to Install Samba on CentOS 7 for File Sharing on Windows
Setup Samba4 Secure File Sharing
user: backups
pass: ******
1.Install Samba in CentOS 7
# yum install samba samba-client samba-common
2. configuração da partilha no samba server
/etc/samba/smb.conf
## com esta configuração apenas é possível ler e navegar da partilha criada
[Chamadas_Issabel]
path = /var/spool/asterisk/monitor
browsable =yes
writable = no
guest ok = no
read only = yes
3. First start by creating a samba system group, then add users to the group and set a password for each user like so.
# groupadd smbgrp
# usermod backups -aG smbgrp
# smbpasswd -a backups
4. Restart Samba services to apply the changes.
# systemctl restart smb.service
# systemctl restart nmb.service
5. Criar partilha na maquina com windows
From: https://www.tecmint.com/install-samba4-on-centos-7-for-file-sharing-on-windows/
Subscrever:
Enviar feedback (Atom)
-
Viewing, copying, moving and deleting files ls Display the contents of the current directory ls -a Display also hidden files and h...
-
Install required software Install davfs2 package to mount WebDAV resource as regular file system. $ sudo apt-get install davfs2 ...
-
Granting User Connections From Remote Hosts Now that your MariaDB server installation is setup to accept connections from remote hosts, w...
glpi updates, correcção de erros
#Erros/alertas #1-Web server root directory configuration is not safe as it permits access to non-public files. See installation documentati...
Sem comentários:
Enviar um comentário