|
Raspberry Pi 4 |
x 1 | |
|
Storage Device |
x 1 | |
|
Power Adapter |
x 1 | |
|
Raspberry pi 4 Case (Optional) |
x 1 |
Raspberry Pi Home Media and File Server
The purpose of the project is to setup Jellyfin server for home media and Samba for file sharing.
Installing Jellyfin Server
Install HTTPS transfort for APT is not installed
sudo apt install apt-transport-https
Import Jellyfin GPG signing key
wget -O - https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | sudo apt-key add -
Add Jellyfin Repository
sudo touch /etc/apt/sources.list.d/jellyfin.list echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list
Finally update and install jellyfin
sudo apt update sudo apt install jellyfin
After install Jellyfin, start jellyfin service
sudo systemctl enable jellyfin sudo systemctl start jellyfin
To check if jellyfin service is started
sudo systemctl status jellyfin
Setup Jellyfin
Once jellyfin is installed, open the browser and navigate to - http://<domain-name>:8096 or http://<IP-Address>:8096 URL.
You can see the jellyfin welcome screen. Select preferred language and create a new user for Jellyfin.
And then choose folders where your media files are using Add Media Library use the content type, i.e., audio, video, movies etc. Similarly add all the media files. Choose Metadata language and configure if you want to allow remote connections and finally click Finish to complete Jellyfiin configuration.
Now login to Jellyfin login page with username and password you created earlier. And after your libraries are scanned you can see your media in the home of Jellyfin.
And voila you have setup your Jellyfin Server.
Installing Samba File Sharing
Install samba using the following command
sudo apt-get install samba samba-common-bin
To configure Samba open the smb.conf file using the following command.?
sudo nano /etc/samba/smb.conf
Scroll down the file and add the following
[global] netbios name = Pi server string = The Pi File Center workgroup = WORKGROUP [HOMEPI] path = /home/pi comment = No comment writeable=Yes create mask=0777 directory mask=0777 public=no
You can also add your external storage disk which is mounted to your Raspberry Pi
We now need to add Pi as a Samba user. Enter the following command:
sudo smbpasswd -a pi
Enter a new password
And at last restart the Samba service using the following command
sudo service smbd restart
And with that you have created the file server which you can access with any device on the network.
Raspberry Pi Home Media and File Server
- Comments(0)
- Likes(0)
- 1 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
1design
-
10usability
-
1creativity
-
10content
More by Saket Kumar
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-