Contents
see List작성일 2015. 03. 08.
yum install samba samba-client samba-common
cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
vi /etc/samba/smb.conf
#############################
[pub]
path = /data/samba
read only = no
browsable = yes
guest ok = no
writable = yes
valid user = @smbgroup ,smbuser
create mask = 0664
directory mask = 0775
force create mode = 0664
force directory mode = 0775
force group = smbgroup
##############################
groupadd smbgroup
useradd smbuser -G smbgroup
smbpasswd -a smbuser
mkdir -p /data/samba
chmod -R 0777 samba/
systemctl enable smb
systemctl enable nmb
systemctl restart smb
systemctl restart nmb
firewall-cmd --permanent --zone=public --add-service=samba
firewall-cmd --reload
os
| No | 작성일 | Title |
|---|---|---|
| 245 | 2015. 03. 11. | [ centos ] centos /lib/ld-linux.so.2: bad ELF interpreter: 그런 파일이나 디렉터리가 없습니다 오류 |
| 244 | 2015. 03. 10. | [ centos ] centos 7 apache 설치 및 tomcat 연동 |
| 243 | 2015. 03. 10. | [ CentOS ] centos 7 console boot |
| 226 | 2015. 03. 09. | [ centos ] centos 7 에 tomcat 서비스등록 ( systemclt ) |
| 225 | 2015. 03. 08. | [ centos ] centos 7 samba 설치하기 공유 폴더 윈도우에서 사용하기 |
| 224 | 2015. 03. 08. | [ centos ] centos 7 service 관리 ( systemctl ) |
| 223 | 2015. 03. 08. | [ centos ] centos 7 firewall ( 방화벽 ) 설정 |
| 183 | 2015. 03. 08. | [ centos ] centos 7 nfs 설정 |
| 147 | 2015. 02. 10. | [ OS ] 로드밸런싱 ( load balancing ) 과 세션 클러스트링 ( session clustering )의 개념 |
| 146 | 2015. 01. 30. | [ windows ] 윈도우 서버 원격 접속시 라이선스 문제 발생할때 |