View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004381 | Networks | [All Projects] Special | public | 2021-12-07 01:06 | 2023-08-25 05:26 |
Reporter | DigitalMy | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0004381: SMB share on linux servers | ||||
Description | Set up unified samba server in Linux /share/ folder in root with mount biggest storage | ||||
Tags | No tags attached. | ||||
|
apt install samba apt install smbclient mcedit /etc/config/samba config share option browseable 'yes' option name 'share' option path '/share' option users 'root,share' option read_only 'no' option guest_ok 'no' option create_mask '7777' option dir_mask '7777' mcedit /etc/samba/smb.conf service samba restart |
|
smbpasswd -a share |
|
/etc/init.d/samba OpenWRT way of load config /etc/samba/smb.conf.template > /var/etc/smb.conf |
|
Without OpenWRT - clean samba installed in Debian - to set file /etc/samba/smb.conf [global] workgroup = DMGR [sharedf] comment = sharedfolder path = /sharedf read only = no valid users = demo,second guest ok = no browseable = yes create mask = 0777 directory mask = 0777 and add user password: smbpasswd -a shareduser and apply: chmod 777 /sharedf service samba restart |
|
fdisk -l Find ID of partition 4009ef0a-ecbe-ee29-d8e7-b872a25ffe40 lsblk -f For mount share disk: (or) add record to /etc/fstab (or do not) use: sudo crontab -e add: @reboot mount -t ext4 /dev/sda1 /sharefoo |
|
Disk status monitoring: apt install smartmontools apt install gsmartcontrol |