Created
March 22, 2016 09:16
-
-
Save tuxmartin/901fd269b4600e25d878 to your computer and use it in GitHub Desktop.
JDownloader Ubuntu 12.04 LTS server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) vytvorit ucet na http://my.jdownloader.org/ | |
2) pridat uzivatele | |
# adduser dl | |
3) stahnout instalator, nainstalovat a prihlasit se: | |
# su dl | |
$ wget http://installer.jdownloader.org/JDownloader.jar | |
$ java -jar JDownloader.jar | |
4) ja pouzivam skript na spusteni: | |
cat /home/dl/jdownloader2/start.sh | |
#!/bin/bash | |
java -Djava.awt.headless=true -jar /home/dl/jdownloader2/JDownloader.jar & | |
5) a spoustim to behem bootovani z /etc/rc.local: | |
cat /etc/rc.local | |
#!/bin/sh -e | |
# | |
# rc.local | |
# | |
# This script is executed at the end of each multiuser runlevel. | |
# Make sure that the script will "exit 0" on success or any other | |
# value on error. | |
# | |
# In order to enable or disable this script just change the execution | |
# bits. | |
# | |
# By default this script does nothing. | |
su - dl -c " /home/dl/jdownloader2/start.sh" & | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment