Azghul0815
Rear Admiral
- Registriert
- Dez. 2019
- Beiträge
- 5.439
Alternativ, aber mit etwas mehr Aufwand und "Mut" verbunden:
Installing Serviio on a Western Digital My Cloud OS 5 device is not officially supported by WD, but it is possible to do so with manual installation using SSH. Here’s a step-by-step guide tailored for My Cloud OS 5:
Let me know if you run into any challenges!
Prerequisites:
- Verify My Cloud Model and OS: Ensure you’re running My Cloud OS 5.
- Enable SSH Access:
- Log in to the My Cloud Dashboard.
- Go to Settings > Network > SSH.
- Enable SSH and set a strong password.
- Install an SSH Client:
- Use software like PuTTY (Windows) or the built-in terminal (Linux/macOS).
Steps to Install Serviio on My Cloud OS 5
1. Identify Your Device's Architecture
- Determine whether your device uses an ARM or x86 processor:
- Use the command below after logging into the device via SSH:
uname -m<br> - If the result is armv7l, aarch64, or similar, it’s ARM. If it’s x86_64, it’s an x86 architecture.
- Use the command below after logging into the device via SSH:
2. Download Serviio
- Go to the official Serviio website: https://www.serviio.org.
- Download the Linux version of Serviio for the appropriate architecture.
3. Transfer Serviio to the My Cloud
- Use an SCPclient to transfer the Serviio package to your My Cloud:
- Example (Linux/macOS terminal):
scp /path/to/serviio.tar.gz sshuser@<MyCloudIP>:/shares/Public/<br> - On Windows, use a tool like WinSCP to upload the file.
- Example (Linux/macOS terminal):
4. Install Required Dependencies
- Log into the device via SSH:
ssh sshuser@<MyCloudIP><br> - Update package lists:
sudo apt update<br> - Install Java (required for Serviio):
sudo apt install openjdk-11-jre-headless<br>
(If apt isn’t available, you may need to manually install opkg or other package managers.)
5. Extract and Configure Serviio
- Navigate to the directory where the Serviio package was uploaded:
cd /shares/Public/<br> - Extract the Serviio archive:
tar -xvzf serviio.tar.gz<br> - Move Serviio to a proper location:
sudo mv serviio /opt/serviio<br>
6. Set Up Serviio
- Configure Serviio:
- Edit the configuration file:
nano /opt/serviio/config/serviio.properties<br> - Set the media library paths to your shared folders (e.g., /shares/Public/Movies).
- Edit the configuration file:
- Save changes (Ctrl+O, then Ctrl+X).
7. Run Serviio
- Start Serviio manually to test:
/opt/serviio/bin/serviio.sh<br> - Access the Serviio console from a browser:
- Go to http://<MyCloudIP>:23423/console.
8. (Optional) Set Serviio to Start Automatically
- Create a systemd service file:
sudo nano /etc/systemd/system/serviio.service<br> - Add the following content:
[Unit]<br>Description=Serviio DLNA Media Server<br>After=network.target<br><br>[Service]<br>ExecStart=/opt/serviio/bin/serviio.sh<br>Restart=on-failure<br>User=root<br><br>[Install]<br>WantedBy=multi-user.target<br> - Save and enable the service:
sudo systemctl daemon-reload<br>sudo systemctl enable serviio<br>sudo systemctl start serviio<br>
9. Verify Installation
- Check if Serviio is running:
sudo systemctl status serviio<br> - Test the DLNA server by connecting it to a DLNA-capable device (e.g., a smart TV or media player).
Potential Issues
- Firewall: Ensure that necessary ports (e.g., 23423 for the console, 8895 for DLNA) are open.
- Performance: My Cloud devices are not very powerful, so Serviio’s transcoding may be limited or require tuning.
Let me know if you run into any challenges!