issue122:labo_linux
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue122:labo_linux [2017/07/09 14:46] – auntiee | issue122:labo_linux [2017/07/11 14:34] (Version actuelle) – d52fr | ||
---|---|---|---|
Ligne 7: | Ligne 7: | ||
• We’ve started to virtualize more servers and this was another physical machine that could break down.** | • We’ve started to virtualize more servers and this was another physical machine that could break down.** | ||
- | Il y a plusieurs mois, j'ai transféré l'un des paquets | + | Il y a plusieurs mois, j'ai transféré l'un des paquets |
Notre « Repair Tracker » fonctionnait très bien jusqu' | Notre « Repair Tracker » fonctionnait très bien jusqu' | ||
- | • La version de PCRT que nous utilisions était plutôt obsolète (nous avions la 2.2 alors que la 4.1 a été publié). | + | • La version de PCRT que nous utilisions était plutôt obsolète (nous avions la 2.2 alors que la 4.1 a été publiée). |
• L' | • L' | ||
• Nous n' | • Nous n' | ||
Ligne 33: | Ligne 33: | ||
sudo service apache2 restart** | sudo service apache2 restart** | ||
- | L' | + | L' |
- | Le problème ? Ubuntu 16.04 Server. Plus précisément, | + | Le problème ? Ubuntu |
https:// | https:// | ||
Ligne 52: | Ligne 52: | ||
- | Of course this wasn’t the only answer, there were a number of PHP 5.6 dependencies I also needed to install, but they all got sorted out by reading the error logs during the install of PCRT. | + | **Of course this wasn’t the only answer, there were a number of PHP 5.6 dependencies I also needed to install, but they all got sorted out by reading the error logs during the install of PCRT. |
All of this could have been avoided if we just installed Ubuntu server 14.04 and used the version of PHP default with it, however one of our goals was to be as up-to-date as possible, and, when I took this approach on another development machine, it also didn’t quite work out as expected. | All of this could have been avoided if we just installed Ubuntu server 14.04 and used the version of PHP default with it, however one of our goals was to be as up-to-date as possible, and, when I took this approach on another development machine, it also didn’t quite work out as expected. | ||
- | On that development machine we wanted to run a number of non-virtualized PHP software packages, one of which was PCRT, the other Owncloud. Because it seemed the simplest route to get PCRT installed, we installed Ubuntu server 14.04. But that turned out to be a mistake because Owncloud wanted a later version of PHP (5.59 was installed; it needed 5.6). | + | On that development machine we wanted to run a number of non-virtualized PHP software packages, one of which was PCRT, the other Owncloud. Because it seemed the simplest route to get PCRT installed, we installed Ubuntu server 14.04. But that turned out to be a mistake because Owncloud wanted a later version of PHP (5.59 was installed; it needed 5.6).** |
+ | |||
+ | Bien entendu, ce n' | ||
+ | |||
+ | On aurait pu éviter tout ce tracas en installant simplement Ubuntu server 14.04 et en utilisant la version par défaut de PHP incluse. Toutefois, l'un de nos objectifs était d' | ||
+ | |||
+ | Sur la machine de développement, | ||
- | In this case, I employed the same tactic, but ran a2dismod for version 5.59 and a2enmod for 5.6. Better planning might have foreseen this problem, but often time is precious and I end up having to figure out issues as we go. Two separate virtualized environments would have also solved this problem, and it’s the direction we’re headed, but it just got me thinking that it’s a bit of a pain having to maintain several versions of PHP to run the software we want to run. | + | **In this case, I employed the same tactic, but ran a2dismod for version 5.59 and a2enmod for 5.6. Better planning might have foreseen this problem, but often time is precious and I end up having to figure out issues as we go. Two separate virtualized environments would have also solved this problem, and it’s the direction we’re headed, but it just got me thinking that it’s a bit of a pain having to maintain several versions of PHP to run the software we want to run. |
- | Technologies like Docker suddenly seem more viable, even for a smaller organization. | + | Technologies like Docker suddenly seem more viable, even for a smaller organization. ** |
+ | |||
+ | Dans ce cas-là, j'ai utilisé la même tactique, mais j'ai exécuté a2dismod pour la version 5.59 et a2enmod pour la 5.6. Une meilleure planification aurait pu sans doute prévoir le problème, mais, souvent, le temps est compté et je finis par devoir résoudre des problèmes en cours de route. Deux environnements virtualisés distincts auraient également résolu le problème, et c'est la direction que nous prenons, mais cela m'a montré que c'est un peu fastidieux de devoir maintenir plusieurs versions de PHP pour pouvoir lancer les logiciels que nous voulons. | ||
+ | |||
+ | Tout d'un coup, des technologies comme Docker semblent plus viables, même pour une petite ou moyenne organisation. | ||
issue122/labo_linux.1499604367.txt.gz · Dernière modification : 2017/07/09 14:46 de auntiee