Quantcast
Channel: NAS-Forum
Viewing all articles
Browse latest Browse all 17749

Ubooquity probleme d'installe

$
0
0
Bonjour, je ne m'en sort pas de cette installe pas vraiment expert, je surnage. J'ai installer JAVA8, sur mon DS 212 DSM 6, avec succes, il repond à la cde, Putty: java -version. (je pense que c'est suffisant) j'ai suivi un certain nombre de tuto et la toujours pas moyen de lancer ubooquity. J'ai installé ubooquity 2.1.1, je commence avec le fichier ubooquity.conf. /etc/init/ubooquity.conf start on started httpd-laurent stop on runlevel [06] exec /var/packages/Java8/target/j2sdk-image/bin/java -jar -Xmx1024m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -workdir "/volume1/web/Ubooquity" mon nom d'uilisateur laurent dois je mettre http-laurent ou juste laurent? mon repertoire de BD cbr, cbz est dans /volume1/comics/ et les fichiers ubooquity dasn :volume1/web/ autre question faut il creer un fichier ubooquity.pid et quoi mettre dedans? j'ai également installé via le lancement de tache j'ai mis le fichier ubooquity.sh #============================================ # Ubooquity # description: upstart job configuration file for automatically # starting ubooquity when syno starts # title :ubooquity.conf # date :16 05 2017 # version : 2.0.2 (tested for ubooquity version...) # original source: ubooquity forum about special characters # http://ubooquity.userecho.com/topic/907059-comics-not-imported-umlaut-mark-bug/ #============================================= description "start/stop Ubooquity" author "Elouan Le Bretton" version "Ubooquity Version 2.0.2; java version 1.8.0_121 " # automatically start ubooquity after webserver has been started # DSM 5.0 = httpd-user (apache); DSM 6.0 = nginx start on started nginx # stop ubooquity on stop on runlevel [06] # Automatically respawn if ubooquity stops unexpetedly respawn respawn limit 5 500 # expect stop [this seems to be expected sometime but requires testing to be sure) # run the scripts as the 'http' user; because running as root (the default) is a bad idea. setuid http laurent script # installation settings JAVA_BIN=/var/packages/Java8/target/j2sdk-image/bin/java PCKG_BIN=/var/packages/Ubooquity/Ubooquity.jar WORK_DIR=/volume1/web/.Ubooquity # app settings PORT=2202 ADMINPORT=2203 MEM=512m # This ensures that ubooquity reads special characters properly #export LC_ALL=fr_FR.utf8 export LANG=fr_FR.utf8 #Command line for launching ubooquity echo "Starting the Ubooquity server" $JAVA_BIN -jar $PCKG_BIN --adminport $ADMINPORT --libraryport $PORT --workdir $WORK_DIR --remoteadmin --headless & UBOOQUITY_PID=$! echo $UBOOQUITY_PID > $PID_FILE echo "The server has been started with pid $UBOOQUITY_PID ." exit 0 la pareil paramétrage ???? Merci de votre aide. Rololo sinon mon port 2202 et bien ouvert.

Viewing all articles
Browse latest Browse all 17749

Trending Articles