Repris de : https://thomas-leister.de/internet/sharelatex-online-latex-editor-auf-ubuntu-12-04-serverinstallieren/ Version Debian (de base)



Similar documents
deploying meteor with meteor up

Installation. Installation centreon + nagios mai LISTE DES PRE-REQUIS. Nagios/centreon Paquets divers. 1.1.

Procédure installation Open VPN sur Xivo

Note concernant votre accord de souscription au service «Trusted Certificate Service» (TCS)

Proxy IMAP/POP/SMTP securisé avec Perdition, Postfix et SASL

Voici votre rapport sur votre service OpenERP en ligne.

Installation Guide for AmiRNA and WMD3 Release 3.1

Perforce Helix Threat Detection On-Premise Deployment Guide

CA and SSL Certificates

CO Web Server Administration and Security. By: Szymon Machajewski

Contents Set up Cassandra Cluster using Datastax Community Edition on Amazon EC2 Installing OpsCenter on Amazon AMI References Contact

Saruman Documentation

FINAL DRAFT INTERNATIONAL STANDARD

Basic Linux & Package Management. Original slides from GTFO Security

Personnalisez votre intérieur avec les revêtements imprimés ALYOS design

SOLR INSTALLATION & CONFIGURATION GUIDE FOR USE IN THE NTER SYSTEM

Running Nginx as Reverse Proxy server

itixi Ubuntu Server Deployment How-To/Information

RAPPORT FINANCIER ANNUEL PORTANT SUR LES COMPTES 2014

Creating a DUO MFA Service in AWS

Installing Dspace 1.8 on Ubuntu 12.04

Sun Management Center 3.5 Update 1b Release Notes

src Documentation Release Pierre Humblot

TP1 : Correction. Rappels : Stream, Thread et Socket TCP

Technical Service Bulletin

Sun Cluster 2.2 7/00 Data Services Update: Apache Web Server

Docker. dotcloud PaaS Français. Mars 2013 OpenSource. Ecrit en GO

Configuring Ubuntu Server as a Firewall and Reverse Proxy for OWA 2007 Configuration Guide

Calcul parallèle avec R

Jimmy Hébergement Cloud - TechDay

Phase Documentation. Release 0.1. ChangeToMyName

SNPsyn documentation. Release 1.1b. Tomaž Curk Gregor Rot Davor Sluga Uroš Lotrič Blaž Zupan

Ciphermail Gateway Separate Front-end and Back-end Configuration Guide

Annexe - OAuth Introduction. Xavier de Rochefort xderoche@labri.fr - labri.fr/~xderoche 15 mai 2014

Configuration des pré-requis Linux. Référence : Version N : 1 Créé le : 9 Janvier Créé par : Thibault Cuisy Téléphone :

OpenGeo Suite for Linux Release 3.0

Partek Flow Installation Guide

Thursday, February 7, DOM via PHP

Langages Orientés Objet Java

OS Installation: CentOS 5.8

POB-JAVA Documentation

OS9 UNIX help man chd cd del rm copy cp makdir mkdir OS9 is case sensitive!! attr chmod deldir rmdir pd pwd list more

HEALTH CARE DIRECTIVES ACT

Administrer les solutions Citrix XenApp et XenDesktop 7.6 CXD-203

How To Configure A Server With Xwconfigure.Org (Myrothsol) On A Microsoft Server (Myriod) On An Ubuntu) On Your Ubuntu Server (Xw) With A Password Protected (Myros

READ AND FOLLOW ALL SAFETY INSTRUCTIONS 1. DANGER RISK OF SHOCK DISCONNECT POWER BEFORE INSTALLATION

Sun Management Center Change Manager Release Notes

IMPLEMENTATION OF CIPA - PUDUCHERRY UT SERVER MANAGEMENT. Client/Server Installation Notes - Prepared by NIC, Puducherry UT.

Short Form Description / Sommaire: Carrying on a prescribed activity without or contrary to a licence

Mise en pratique : installation d'openvpn sur OpenWRT

Cours de Java. Sciences-U Lyon. Java - Introduction Java - Fondamentaux Java Avancé.

Introduction Les failles les plus courantes Les injections SQL. Failles Web. Maxime Arthaud. net7. Jeudi 03 avril 2014.

Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

VIREMENTS BANCAIRES INTERNATIONAUX

ARE NEW OIL PIPELINES AND TANKER FACILITIES VIABLE IN CANADA?

CipherMail Gateway Installation Guide

Introduction au BIM. ESEB Seyssinet-Pariset Economie de la construction contact@eseb.fr

Tool & Asset Manager 2.0. User's guide 2015

The Top the creating of product then Questions. There such, browsers: using features may directly line and can Access experience, and the while

CN=Monitor Installation and Configuration v2.0

Veritas Storage Foundation 5.0 Software for SPARC

NISHA Node Configuration and Maintenance Manual

Liste d'adresses URL

SunFDDI 6.0 on the Sun Enterprise Server

Solaris 10 Documentation README

Configuration Guide. SafeNet Authentication Service. SAS Agent for AD FS

Integrating Apache Web Server with Tomcat Application Server

ACP-EU Cooperation Programme in Science and Technology (S&T II) / Programme de Coopération ACP-UE pour la Science et la Technologie

Hardening web application (DOS and Application firewalls. Margus Ernits

"Internationalization vs. Localization: The Translation of Videogame Advertising"

Rails Application Deployment. July Philly on Rails

CASifier une application

Cliquez sur le résultat que vous avez obtenu au test de classement linguistique Click on the result you obtained following the language test

Power Distribution System. Additional Information on page 2 See Page 2 Page 6. Eaton. See Page 2. Additional Information on page 2

freeradius A High Performance, Open Source, Pluggable, Scalable (but somewhat complex) RADIUS Server Aurélien Geron, Wifirst, 7 janvier 2011

Apache and Virtual Hosts Exercises

Nginx 1 Web Server Implementation Cookbook

EPREUVE D EXPRESSION ORALE. SAVOIR et SAVOIR-FAIRE


Running Knn Spark on EC2 Documentation

Procedure to Create and Duplicate Master LiveUSB Stick

FINAL DRAFT INTERNATIONAL STANDARD

AIRBUS VHT Framework - Mascot-NuM presentation - Emmanuelle Garcia

Monitoring Netflow with NFsen

VIREMENTS BANCAIRES INTERNATIONAUX

Audit de sécurité avec Backtrack 5

Office of the Auditor General / Bureau du vérificateur général FOLLOW-UP TO THE 2010 AUDIT OF COMPRESSED WORK WEEK AGREEMENTS 2012 SUIVI DE LA

Solr Bridge Search Installation Guide

We are pleased to present you with detailed instructions on processing your visa application with us. Within this information pack you will find:

HOWTO. Configure Nginx for SSL with DoD CAC Authentication on CentOS 6.3. Joshua Penton Geocent, LLC

CipherMail Gateway Upgrade Guide

ref. 6 Young 2G Accès d angle à 2 portes pivotantes / Corner entry enclosure, 2 hinged doors

Transcription:

Repris de : https://thomas-leister.de/internet/sharelatex-online-latex-editor-auf-ubuntu-12-04-serverinstallieren/ Version Debian (de base) Démarre un shell root $ sudo -s Installation des paquets de base # apt-get update # apt-get install mongodb-server texlive make git build-essential unzip une fois fini Obtention et installation de Redis # cd /opt/ # wget http://download.redis.io/releases/redis-2.8.7.tar.gz # tar xzf redis-2.8.7.tar.gz # cd redis-2.8.7 # make 1/13

une fois fini # make install Script de lancement du daemon/service # wget no-check-certificate https://gist.githubusercontent.com/lsbardel/257298/raw/d48b84d89289df39eaddc53f1e9a918f77 6b3074/redis-server-for-init.d-startup -O /etc/init.d/redis-server # chmod 755 /etc/init.d/redis-server # update-rc.d redis-server defaults 2/13

Remplace les chemins dans le script d'init # sed -i 's#/usr/bin/redis-server#/usr/local/bin/redis-server#' /etc/init.d/redis-server # sed -i 's#/etc/redis/redis.conf#/opt/redis-2.8.7/redis.conf#' /etc/init.d/redis-server fait tourner redis en dameon # sed -i 's#daemonize no#daemonize yes#' /opt/redis-2.8.7/redis.conf Création du compte redis # useradd -d /opt/redis-2.8.7/ redis # chown -R redis:redis /opt/redis-2.8.7/ Lance redis # service redis-server start Vérifier qu'il tourne # netstat -taupen 3/13

Installation de latexmk # cd /opt/ # wget http://mirrors.ctan.org/support/latexmk.zip # unzip latexmk.zip # cd latexmk # cp latexmk.pl /usr/local/bin # mv /usr/local/bin/latexmk.pl /usr/local/bin/latexmk # chmod +x /usr/local/bin/latexmk Installation de Nodejs # apt-get install curl # curl -sl https://deb.nodesource.com/setup bash - 4/13

# apt-get install nodejs Vérification de la version de nodejs # nodejs -v 5/13

Installation de sharelatex # cd /opt/ # git clone https://github.com/sharelatex/sharelatex.git sharelatex # cd sharelatex # npm install # npm install -g grunt-cli 6/13

# grunt install note : des warning peuvent apparaîtres sur les versions demandées/installées en cours d'installation fini 7/13

# mkdir user_files # grunt check --force Si des warning, installer les packages manquants Ex : apt-get install aspell 8/13

Si relance le check # grunt check --force Ajout des utilisateurs # useradd -d /opt/sharelatex/ sharelatex # chown -R sharelatex:sharelatex /opt/sharelatex Lance sharelatex # cd /opt/sharelatex/ # sudo -u sharelatex grunt run 9/13

Si ce message apparaît (semble être un problème de version de nodejs https://github.com/sharelatex/sharelatex/issues/129)... faire un # cd /opt/sharelatex/ # rm -rf web/node_modules/bcrypt # grunt install Relances sharelatex # cd /opt/sharelatex/ # sudo -u sharelatex grunt run 10/13

Note : ne pas tenir compte de ce message Il est possible de lancer sharelatex dans screen # apt-get install screen # screen et là lancer sharelatex Sharelatex ecoute sur localhost/127.0.0.1 port 3000 Comme indiqué dans la documentation, il est recommandé de mettre un reverse proxy devant pour écouter sur le port 80 https://github.com/sharelatex/sharelatex/wiki/production-installation-instructions # apt-get install nginx-extras 11/13

# vi /etc/nginx/conf.d/sharelatex.conf server { listen 80; server_name _; # Catch all, see http://nginx.org/en/docs/http/server_names.html set $static_path /opt/sharelatex/web/public; location / { proxy_pass http://localhost:3000; proxy_set_header Host $http_x_forwarded_host; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_read_timeout 3m; proxy_send_timeout 3m; } location /stylesheets { expires 1y; root $static_path/; } location /minjs { expires 1y; root $static_path/; } } location /img { expires 1y; root $static_path/; } Relancer nginx # service nginx restart Indiquer à Saherelatex qu'il tourne derrière un proxy # cd /opt/sharelatex # vi config/settings.development.coffe Relancer sharelatex # killall node # service redis-server restart # cd /opt/sharelatex # sudo -u sharelatex grunt run 12/13

Accès au serveur web http://ip_de_la_machine/ S'enregistrer Note : pour l'envoi des mails voir la FAQ https://github.com/sharelatex/sharelatex/wiki/configuring-smtp-email FAQ https://github.com/sharelatex/sharelatex/wiki/faq https://github.com/sharelatex/sharelatex/wiki/production-installation-instructions https://github.com/sharelatex/sharelatex/wiki/configuring-smtp-email 13/13