https://github.com/fabwu/jdownloader-install
🌍 Install JDownloader on Ubuntu Server 16.04
https://github.com/fabwu/jdownloader-install
jdownloader ubuntu
Last synced: 2 months ago
JSON representation
🌍 Install JDownloader on Ubuntu Server 16.04
- Host: GitHub
- URL: https://github.com/fabwu/jdownloader-install
- Owner: fabwu
- Created: 2016-12-20T20:13:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-06T07:16:45.000Z (about 2 years ago)
- Last Synced: 2025-01-13T08:46:56.706Z (4 months ago)
- Topics: jdownloader, ubuntu
- Homepage: http://jdownloader.org/
- Size: 4.88 KB
- Stars: 39
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install JDownloader on Ubuntu Server 16.04
Install Java and get JDownloader with the following commands.
```
sudo apt install openjdk-8-jre-headless
wget http://installer.jdownloader.org/JDownloader.jar
```
After that move `JDownloader.jar` and change the owner to the user (e.g. `media`) under which JDownloader should be executed.
```
sudo mkdir /opt/jdownloader
sudo mv JDownloader.jar /opt/jdownloader
sudo chown media:media /opt/jdownloader
```
Now we are ready to install JDownloader. Execute this command several times until you get asked for your My JDownloader login credentials on the console.
```
java -jar /opt/jdownloader/JDownloader.jar -norestart
```
Then create a new systemd unit under `/etc/systemd/system/jdownloader.service` and paste this script.
```bash
[Unit]
Description=JDownloader Service
After=network.target[Service]
Environment=JD_HOME=/opt/jdownloader
Type=oneshot
ExecStart=/usr/bin/java -Djava.awt.headless=true -jar /opt/jdownloader/JDownloader.jar
RemainAfterExit=yes
# Should be owner of /opt/jdownloader
User=media
Group=media[Install]
WantedBy=multi-user.target
```
To enable JDownloader on startup run this command.
```
sudo systemctl enable jdownloader.service
```
After a reboot you can access your server under https://my.jdownloader.orgEnjoy!