Sie sind auf Seite 1von 6

PLONE 2.

12
INSTALLIEREN MIT DEBIAN LINUX
SAMUEL NIWAGILA

TypoMania GmbH, Frankfurt 07/2011

PLONE 2.12 INSTALLIEREN MIT DEBIAN LINUX


Zum Start erstmal neue VM installieren unter XenCenter. Neue Name fr VM eingeben Neue Storage Name eingeben und Disk space auf 20 GB erweitern Finish drcken und warten bis es fertig ist Auf neue VM drcken dann auf Konsole Username und Passwort eingeben

Host name und Netzwerk Kofigurieren


# vim /etc/hosts Hostname und ip Adresse ndern ( i drcken ndern dann esc drcken :wq eintippen dann enter) Prfen ob das neue Host Name vorhanden ist # hostname f

Interfaces Konfigurieren
# vim /etc/network/interfaces ip Adresse ndern ( i drcken ndern dann esc drcken :wq eintippen dann enter) Das System neue starten # reboot Zu Putty wechseln und die richtige ip Adresse eingeben und Login. Bevor man Plone 2.12 installiert, muss man erstmals Python 2.3.5 und Zope 2.8.6 installieren.

Python 2.4.6 herunterladen und kompilieren


Verzeichnis fr Python erstellen, Python von http://www.python.org/ftp/python/2.3.5/Python-2.3.5.tgz herunterladen und mit make installieren xvm-dbl-template:~# cd /opt xvm-dbl-template:/opt# mkdir download xvm-dbl-template:/opt# mkdir legaldok xvm-dbl-template:/opt# cd download xvm-dbl-template:/opt/download# wget http://www.python.org/ftp/python/2.3.5/Python-2.3.5.tgz xvm-dbl-template:/opt/download# tar xzf Python-2.3.5.tgz xvm-dbl-template:/opt/download# mkdir /opt/legaldok/Python-2.3.5 xvm-dbl-template:/opt/download# cd Python-2.3.5 xvm-dbl-template:/opt/download/Python-2.3.5# ./configure prefix=/opt/legaldok/Python-2.3.5 xvm-dbl-template:/opt/download/Python-2.3.5# make

xvm-dbl-template:/opt/download/Python-2.3.5# make install Note: Um in eine Verzeichnis zu sehen was drin steht, ll eingeben

Python-Pfad in Bash des root-Users eintragen


Zuerst mal den lokalen Python-Pfad in der bash des angemeldeten Benutzers eintragen xvm-dbl-template:/opt/download/Python-2.3.5# cd ~ xvm-dbl-template:~# vim .bashrc Kopiere (export PATH=/opt/legaldok/Python-2.3.5/bin:$PATH) in das Verzeichnis esc taste drcken dann :wq Und nun die Bash neu laden und prfen, welches Python nun verwendet wird xvm-dbl-template:~# source .bashrc xvm-dbl-template:~# which python Wenn es korrekt ist muss diese verzeichnis vorhanden sein /opt/legaldok/Python-2.3.5/bin/python xvm-dbl-template:~# python V Python 2.3.5

Zope 2.8.6 herunterladen und kompilieren


xvm-dbl-template:~# cd /opt/download xvm-dbl-template:/opt/download# wget http://www.zope.org/Products/Zope/2.8.6/Zope-2.8.6-final.tgz xvm-dbl-template:/opt/download # tar xzf Zope-2.8.6-final.tgz xvm-dbl-template:/opt/download # mkdir /opt/legaldok/Zope-2.8.6-final xvm-dbl-template:/opt/download # cd Zope-2.8.6-final xvm-dbl-template:/opt/download/ Zope-2.8.6-final # ./configure prefix=/opt/legaldok/Zope-2.8.6final xvm-dbl-template:/opt/download/ Zope-2.8.6-final # make xvm-dbl-template:/opt/download/ Zope-2.8.6-final # make install Now, you create an instance: /opt/legaldok/tools/zope/bin/mkzopeinstance.py You choose this install directory: Directory: /opt/legaldok/zinstance You must choose a username and password. Username = admin

Passwd = ******

Starten von Zope


Neue User einfgen # useradd -m zope Bearbeiten # vim /etc/passwd sh zu bash ndern Zope configuration offnen # vim /etc/zope.conf Effective user auf zope ndern dann mit ctrl + c raus # chown R zope.zope * # ./bin/run zope Zope Starten # ./bin/zopectl start *(alle Inhalte)

Manage Zope web:


Congratulations for your Zope install. Now, you can run Firefox or Internet Explorer and enter this link: http://localhost:8080/manage or http://192.X.X.X:8080/manage

Installation von Plone-2.12:


Du musst als login "user" und nicht unter root installieren # cd /opt/download # wget (Web Link Adresse von Plone 2.12) # tar -xvzf Plone-2.1.2.tar.gz # cd Plone-2.1.2 # cp r * /opt/legaldok/zinstance/Products/ # cd /opt/legaldok/zinstance/Products/ Zinstance nochmals starten ./bin/zopectl restart

Manage Zope Web mit Plone:


: http://192.X.X.X:8080/manage

External Datei in Zope kopieren


Die url des Verzeichnis wo sich Datei befinden kopieren (Beispiel: storagedata/develop/legaldok) Und den Name des Datei ( Beispiel: cd_2010-11) Die richtige IP Adresse von Server wo sich die Dateien befindet eingeben (Beispiel: 192.168.1.50) # scp r root@192.168.1.50:/storage/data/develop/legaldok/cd_2010-11/ * Products/ Password eingeben (udslinux07) Sehen ob alle Datei vorhanden sind # ll Products/ Ohne Stern (*) bedeutet Verzeichnis kopieren ohne Inhalte

Das könnte Ihnen auch gefallen