Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Help about MediaWiki
FUTO
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Introduction to a Self Managed Life: a 13 hour & 28 minute presentation by FUTO software
(section)
Main Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== 3.1 Modify samba configuration on happycloud host machine ==== SSH into the happycloud host machine: <pre>ssh louis@happycloud.home.arpa</pre> or <pre>ssh louis@192.168.5.2</pre> Our <code>/etc/samba/smb.conf</code> file currently looks like this: <pre>[global] # Network settings workgroup = HOME realm = home.arpa netbios name = happycloud server string = ZFS Archive Server dns proxy = no # Security settings security = user map to guest = bad user server signing = auto client signing = auto # Logging log level = 1 log file = /var/log/samba/%m.log max log size = 1000 # Performance optimization socket options = TCP_NODELAY IPTOS_LOWDELAY read raw = yes write raw = yes use sendfile = yes min receivefile size = 16384 aio read size = 16384 aio write size = 16384 # Multichannel support server multi channel support = yes # Disable unused services load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes # Character/Unix settings unix charset = UTF-8 dos charset = CP932 [archive] comment = ZFS Archive Share path = /mediapool/archive valid users = louis invalid users = root browseable = yes read only = no writable = yes create mask = 0644 force create mode = 0644 directory mask = 0755 force directory mode = 0755 force user = louis force group = louis veto files = /._*/.DS_Store/.Thumbs.db/.Trashes/ delete veto files = yes follow symlinks = yes wide links = no ea support = yes inherit acls = yes hide unreadable = yes guest ok = no</pre> We are going to add something like this to the bottom of the <code>/etc/samba/smb.conf</code> file. Obviously '''feel free to set the <code>path</code> folder to what YOU want Immich to see'''. This will be read-only, so if something happens on your host, you won’t lost everything. Use nano to edit the file: <pre>sudo nano -w /etc/samba/smb.conf</pre> Enter the following at the end. Hit enter so there’s a pretty little space before the new section. :) <pre>[immich] comment = ZFS Archive Share (Read-Only) path = /mediapool/archive valid users = louis browseable = yes read only = yes guest ok = no create mask = 0644 directory mask = 0755 veto files = /._*/.DS_Store/.Thumbs.db/.Trashes/ delete veto files = yes follow symlinks = yes wide links = no ea support = yes inherit acls = yes hide unreadable = yes</pre> <span id="configure-the-samba-share-on-the-androidstuff-virtual-machine"></span>
Summary:
Please note that all contributions to FUTO may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
FUTO:Copyrights
for details).
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:
Cancel
Editing help
(opens in new window)