Diskussion:Server/Plone: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
|||
Zeile 149: | Zeile 149: | ||
--[[Benutzer:PaulRiegel|Paul]] 03:34, 12. Aug. 2015 (CEST) | --[[Benutzer:PaulRiegel|Paul]] 03:34, 12. Aug. 2015 (CEST) | ||
: <code>pkg update; pkg upgrade -y</code> | |||
: <code>pkg install -y wget</code> | |||
: <code>mkdir -p /usr/local/install/plone; cd /usr/local/install/plone</code> | |||
: <code>wget https://launchpad.net/plone/4.0/4.0.5/+download/Plone-4.0.5-UnifiedInstaller.tgz</code> | |||
: <code>tar -xvf Plone-4.0.5-UnifiedInstaller.tgz</code> | |||
: <code>cd Plone-4.0.5-UnifiedInstaller</code> | |||
: <code>pkg install -y libxml2 libxslt</code> | |||
: <code>./install.sh standalone</code> | |||
<pre> | |||
Testing /usr/local/bin/python2.7 for Zope/Plone requirements.... | |||
/usr/local/bin/python2.7 looks OK. We'll try to use it. | |||
Root install method chosen. Will install for use by users: | |||
ZEO & Client Daemons: plone_daemon | |||
Code Resources & buildout: plone_buildout | |||
Detailed installation log being written to /usr/local/install/plone/Plone-4.3.2-UnifiedInstaller/install.log | |||
Installing Plone 4.3.2 at /usr/local/Plone | |||
Using pw to create users and groups | |||
Creating python virtual environment, no site packages. | |||
New python executable in /usr/local/Plone/Python-2.7/bin/python2.7 | |||
Also creating executable in /usr/local/Plone/Python-2.7/bin/python | |||
Installing Setuptools..............................................................................................................................................................................................................................done. | |||
Installing Pip.....................................................................................................................................................................................................................................................................................................................................done. | |||
Compiling and installing jpeg local libraries ... | |||
Unpacking buildout cache to /usr/local/Plone/buildout-cache | |||
Copying Plone-docs | |||
Setting /usr/local/Plone ownership to plone_buildout:plone_group | |||
Copying buildout skeleton | |||
Fixing up bin/buildout | |||
Building Zope/Plone; this takes a while... | |||
Buildout completed | |||
##################################################################### | |||
###################### Installation Complete ###################### | |||
Plone successfully installed at /usr/local/Plone | |||
See /usr/local/Plone/zinstance/README.html | |||
for startup instructions | |||
Use the account information below to log into the Zope Management Interface | |||
The account has full 'Manager' privileges. | |||
Username: admin | |||
Password: admin | |||
This account is created when the object database is initialized. If you change | |||
the password later (which you should!), you'll need to use the new password. | |||
Use this account only to create Plone sites and initial users. Do not use it | |||
for routine login or maintenance. | |||
- If you need help, ask the mailing lists or #plone on irc.freenode.net. | |||
- The live support channel also exists at http://plone.org/chat | |||
- You can read/post to the lists via http://plone.org/forums | |||
- Submit feedback and report errors at http://dev.plone.org/plone | |||
(For install problems, specify component "Installer (Unified)") | |||
</pre> | |||
: <code>cd /usr/local/Plone/zinstance</code> | |||
: <code>./bin/plonectl start</code> | |||
--[[Benutzer:PaulRiegel|Paul]] 04:23, 12. Aug. 2015 (CEST) |
Version vom 12. August 2015, 03:23 Uhr
Plone 5 testen
Ave PT!
Da du ja begonnen hattest Plone 5 "zu spielen": Bei Launchpad liegt die "roadmap" zu Plone 5, so tagesaktuell auch die 5.0a2, die du mit dem UnifiedInstaller, den du ja zu Plone 4 erfolgreich (nach dem "vorgegeben" Schema) verwendet hattest.
Kollaborative
--Paul 06:14, 13. Dez. 2014 (CET)
Installation einer bestimmten (veralteten) Version von Plone mit UnifiedInstaller
pkg update; pkg upgrade -y
pkg install -y wget
mkdir -p /usr/local/install/plone; cd /usr/local/install/plone
wget https://launchpad.net/plone/4.0/4.0.5/+download/Plone-4.0.5-UnifiedInstaller.tgz
tar -xvf Plone-4.0.5-UnifiedInstaller.tgz
cd Plone-4.0.5-UnifiedInstaller
./install.sh standalone
Username: admin Password: admin
cd /usr/local/Plone/zinstance
./bin/plonectl start
--Paul 01:33, 10. Aug. 2015 (CEST)
- Quelle zur Übersicht der verfügbaren Dateien für UnifiedInstaller am Beispiel Plone 4.0: https://launchpad.net/plone/4.0
- https://plone.org/products/plone/releases/ und dann die entsprechende Version auswählen
--Paul 02:02, 10. Aug. 2015 (CEST)
dump beschaffen und beispielsweise in /usr/local/install/plone/dump ablegen
mkdir /usr/local/install/plone/dump
- auf dem Hauptsystem den dump herüber kopieren
cp /mnt/zroot/jails/name-der-alten-jail/usr/local/dump-of-plone.tar.gz /mnt/zroot/jails/name-der-neuen-jail/usr/local/install/plone/dump/dump-of-plone.tar.gz
cd /usr/local/install/plone/dump
tar -xvf dump-of-plone.tar.gz
cp -pr /usr/local/Plone/zinstance/ /usr/local/Plone/zinstance.bak/
cp -pr /usr/local/install/plone/dump/Plone/zinstance/var/filestorage/Data.fs /usr/local/Plone/zinstance/var/filestorage/Data.fs
cp -pr /usr/local/install/plone/dump/Plone/zinstance/var/blobstorage/ /usr/local/Plone/zinstance/var/blobstorage/
cp -pr /usr/local/install/plone/dump/Plone/zinstance/*.conf /usr/local/Plone/zinstance/bak/
cp -pr /usr/local/install/plone/dump/Plone/zinstance/*.cfg /usr/local/Plone/zinstance/previous-zinstance
cp -pr /usr/local/install/plone/dump/Plone/zinstance/adminPassword.txt /usr/local/Plone/zinstance/previous-zinstance
cp -pr /usr/local/install/plone/dump/Plone/zinstance/src/ /usr/local/Plone/zinstance/src/
cd /usr/local/Plone/zinstance
./bin/plonectl start
- Plone 3
Im Übrigen müsste das auch so mit Plone 3 funktionieren.
Username: admin Password: admin
Falls wer übermotiviert ein Plone 3 zu Plone 4 aktualisieren mag: Updating a custom Plone 3 buildout for Plone 4
--Paul 01:33, 10. Aug. 2015 (CEST)
Tutorial:
--Paul 01:54, 10. Aug. 2015 (CEST)
Inhalte von Plone übertragen
- http://docs.plone.org/develop/plone/content/importexport.html
- http://quintagroup.com/services/support/tutorials/import-export-plone
- …
wenn mit UnifiedInstaller die bisherige Version 4.0.5 installiert wird, dann werden folgende Versionen verwendet
Plone 4.0.5 Zope 2.12.23 Python 2.6.6
Plone 4 ist aber folgendes
Plone 4.0.5 Zope 2.12.23 Python 2.6.6 (r266:84292, Sep 25 2011, 12:20:08) [GCC 4.2.1 20070719 [FreeBSD]]
wenn mit UnifiedInstaller die bisherige Version 3.3.5 installiert wird, dann werden folgende Versionen verwendet
Plone 3.3.5 CMF 2.1.2 Zope (unreleased version, python 2.4.6, freebsd9) Python 2.4.6 (#1, Aug 10 2015, 00:11:06) [GCC 4.2.1 20070831 patched [FreeBSD]] PIL 1.1.6
Plone 3 ist aber folgendes
Plone 3.2.1 CMF 2.1.2 Zope (Zope 2.10.9-final, python 2.4.6, freebsd8) Python 2.4.6 (#1, Sep 25 2011, 15:33:29) [GCC 4.2.1 20070719 [FreeBSD]] PIL 1.1.6
- Versuch export/import Plone 4
- aus dem bisherigen Plone "einfach" exportieren lassen
- Das kann wohl was dauern!
- Jail neu aufsetzen
- Plone mit UnifiedInstaller in der gleichen Version 4.0.5 installieren
- export (dump) in die neue Jail kopieren
- builtout (vielleicht auch erst später)
- in das kommende Plone "einfach" importieren lassen
- Drecksarbeit abwarten!
weitere wohl benötigte Pakete
- wv installieren
pkg install -y wv
- xpdf installieren
pkg install -y xpdf
ln -s /usr/local/libexec/xpdf/pdftotext /usr/local/bin/pdftotext
--Paul 01:52, 12. Aug. 2015 (CEST)
Vergleich zwischen aktuell installierten Paketen und darüber hinaus noch verfügbaren Paketen
pkg info | grep plone | awk '{print $1}' > /tmp/pkg_info_plone ; pkg search plone > /tmp/pkg_search_plone ; diff /tmp/pkg_info_plone /tmp/pkg_search_plone
--Paul 03:34, 12. Aug. 2015 (CEST)
pkg update; pkg upgrade -y
pkg install -y wget
mkdir -p /usr/local/install/plone; cd /usr/local/install/plone
wget https://launchpad.net/plone/4.0/4.0.5/+download/Plone-4.0.5-UnifiedInstaller.tgz
tar -xvf Plone-4.0.5-UnifiedInstaller.tgz
cd Plone-4.0.5-UnifiedInstaller
pkg install -y libxml2 libxslt
./install.sh standalone
Testing /usr/local/bin/python2.7 for Zope/Plone requirements.... /usr/local/bin/python2.7 looks OK. We'll try to use it. Root install method chosen. Will install for use by users: ZEO & Client Daemons: plone_daemon Code Resources & buildout: plone_buildout Detailed installation log being written to /usr/local/install/plone/Plone-4.3.2-UnifiedInstaller/install.log Installing Plone 4.3.2 at /usr/local/Plone Using pw to create users and groups Creating python virtual environment, no site packages. New python executable in /usr/local/Plone/Python-2.7/bin/python2.7 Also creating executable in /usr/local/Plone/Python-2.7/bin/python Installing Setuptools..............................................................................................................................................................................................................................done. Installing Pip.....................................................................................................................................................................................................................................................................................................................................done. Compiling and installing jpeg local libraries ... Unpacking buildout cache to /usr/local/Plone/buildout-cache Copying Plone-docs Setting /usr/local/Plone ownership to plone_buildout:plone_group Copying buildout skeleton Fixing up bin/buildout Building Zope/Plone; this takes a while... Buildout completed ##################################################################### ###################### Installation Complete ###################### Plone successfully installed at /usr/local/Plone See /usr/local/Plone/zinstance/README.html for startup instructions Use the account information below to log into the Zope Management Interface The account has full 'Manager' privileges. Username: admin Password: admin This account is created when the object database is initialized. If you change the password later (which you should!), you'll need to use the new password. Use this account only to create Plone sites and initial users. Do not use it for routine login or maintenance. - If you need help, ask the mailing lists or #plone on irc.freenode.net. - The live support channel also exists at http://plone.org/chat - You can read/post to the lists via http://plone.org/forums - Submit feedback and report errors at http://dev.plone.org/plone (For install problems, specify component "Installer (Unified)")
cd /usr/local/Plone/zinstance
./bin/plonectl start
--Paul 04:23, 12. Aug. 2015 (CEST)