Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Categories
Random page
Top Contributors
Recent changes
Contribute
Create a page
How to help
Wiki policy
Adapt videos to articles
Articles in need of work
Help
Frequently asked questions
Join the discord!
Help about MediaWiki
Consumer_Action_Taskforce
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Futotemporarywikipage
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
Purge cache
General
What links here
Related changes
Special pages
Page information
Cargo data
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.2 Configure the samba share on the androidstuff virtual machine ==== We want this to mount each time the '''androidstuff''' virtual machine that will run Immich boots. To do this, we will edit <code>/etc/fstab</code> - the file that defines where hard drives, partitions, network shares, are mounted on the filesystem. We have to install the packages that allow us to mount samba shares: <pre>sudo apt install cifs-utils -y</pre> Edit the file: <pre>sudo nano -w /etc/fstab</pre> Add the following line: <pre>//192.168.5.2/immich /home/louis/Pictures cifs ro,credentials=/etc/samba_credentials,iocharset=utf8,vers=3.0 0 0</pre> Make sure that the IP address matches the IP address of the machine that you have your ZFS pool on. * <code>//192.168.5.2</code> is the address of the computer that is running samba server for our samba share. ** <code>immich</code> is the name of the samba share. ** In '''happycloud'''βsβ <code>/etc/samba/smb.conf</code> configuration file, the line<code>path = /mediapool/archive</code> is present under the <code>[immich]</code> share settings. ** Therefore, `<code>//192.168.5.2/immich</code> will show us <code>/mediapool/archive</code> on the machine located at <code>192.168.5.2</code> * <code>cifs</code> is the filesystem type. CIFS stands for '''Common Internet File System'''. * <code>ro</code> means readonly. * <code>/etc/samba_credentials</code> is the file that will house the username & password to access this share. * For the love of god, do not forget to set the proper permissions on the<code>/etc/samba_credentials</code> file when I tell you to. Once youβre done adding that line to the file, we need to provide it a username/password so it can log into the password protected share. <pre># Create the credentials file that will house the username & password: sudo nano -w /etc/samba_credentials</pre> Add your username and password you set when you set the password for your samba user to the file in the following format: <pre>username=louis password=passwordman</pre> If you forgot what the samba password is for your user, refer to '''step 6.5''' in the '''Setting up ZFS for data storage''' portion of the guide. '''Make sure that this file is not accessible by anyone besides root!''' <pre>sudo chown root /etc/samba_credentials sudo chmod 600 /etc/samba_credentials</pre> <span id="set-the-permissions-for-samba-credentials-file"></span>
Summary:
Please note that all contributions to Consumer_Action_Taskforce are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International (see
Consumer Action Taskforce:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, 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.
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)