Project

General

Profile

Tâche #15702

Scénario #15586: Migrer SquashTM

Créer la machine Squash 1.13

Added by Gilles Grandgérard over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Start date:
03/29/2016
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

History

#1 Updated by Scrum Master over 5 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master over 5 years ago

  • Assigned To set to Ghislain Loaec

#3 Updated by Scrum Master over 5 years ago

  • Assigned To changed from Ghislain Loaec to Gilles Grandgérard

#4 Updated by Gérald Schwartzmann over 5 years ago

https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa
vim /etc/apt/sources.list.d/openjdk.list
deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB9B1D8886F44E2A
apt-get update
apt-cache search openjdk | grep 8
root@eolebase:/mnt/eole-ci-tests/tests/eolebase# apt-cache policy openjdk-8-jre-headless
openjdk-8-jre-headless:
   Installé : (aucun)
   Candidat : 8u72-b15-1~trusty1
   Table de version :
      8u72-b15-1~trusty1 0
      500 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/ trusty/main amd64 Packages
root@eolebase:/mnt/eole-ci-tests/tests/eolebase#

#5 Updated by Gérald Schwartzmann over 5 years ago

Sur le ONE déployer une VM aca.squashtm

# /root/mount.eole-ci-tests 
# cd /mnt/eole-ci-tests/configuration/squashtm/
# ./squash-tm-install-nginx.sh

# ouvre.firewall → en attendant de faire un dico : http://eole.ac-dijon.fr/documentations/2.5/partielles/beta/Eolebase/co/00-SCENARIserver.html#mN8d

# vim /etc/nginx/sites-enabled/squash

# rm -rf /etc/nginx/sites-enabled/squash~

ligne 32 : changer le server_name :
server_name eolebase.ac-test.fr;

# service nginx reload

http://eolebase.ac-test.fr/squash/
vim /usr/share/eole/creole/dicos/local/01_squash.xml

<?xml version="1.0" encoding="utf-8"?>
<creole>
    <files>
        <service_access service='squash'>
        <port>8080</port>
        </service_access>
    </files>
    <variables />
    <constraints />
    <help />
</creole>
<!-- vim: ts=4 sw=4 expandtab
-->

http://eolebase.ac-test.fr:8080/squash/

#6 Updated by Gérald Schwartzmann over 5 years ago

Il faudrait utiliser le Nginx d'EOLE

root@eolebase:~# apt-cache policy eole-reverseproxy
eole-reverseproxy:
  Installé : (aucun)
  Candidat : 2.5.2-1
 Table de version :
     2.5.2-1 0
        500 http://test-eole.ac-dijon.fr/eole/ eole-2.5.2/main amd64 Packages
root@eolebase:~#


le script ne crée que le context 'squash'
la machine est une eolebase instanciée

#7 Updated by Scrum Master over 5 years ago

  • Status changed from En cours to Résolu

#8 Updated by Gilles Grandgérard over 5 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 1.0 to 0.0

#9 Updated by Gérald Schwartzmann over 5 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF