Wednesday, June 27, 2007

Plone notes from Raik

Some months ago, I set up a plone site for our group -- http://sfiles.embl.de .
Mac asked me to blog my installation notes, so here they come:

The basic steps are:
- create a zopeuser on your server
- install python and zope
- install plone as a product into your new zope server
- create a plone instance
- optional: put it behind apache

Note: Some things may have changed with the more recent versions of Plone / Zope. These are just my onw quick-and-dirty notes. I hope they are still helpful.

Initial setup
=============

- Create zopeuser

- add zopeuser to sudo list without password
in /etc/sudoers add::

zopeuser ALL=(ALL) NOPASSWD: ALL

Python
======

- download 2.4.3 from python.org

tar xvf Py*
sudo mv Python-2.4.3 /usr/local/src
cd /usr/local/src/Python-2.4.3
./configure
make
make altinstall ## don't override default python

-> creates /usr/local/bin/python2.4

## local installation: ./configure --prefix ~/data/local

Bibutils
========

optional, only needed for the literature management

- download bibutils_3.27_i386.tgz from
http://www.scripps.edu/~cdputnam/software/bibutils/

sudo mv bibutils_3.27/* /usr/local/bin/

Subversion
==========

sudo yum install subversion

Zope installation
==================

- install Zope from source, download untar, then...::

mv Zope-2.9.3 /usr/local/src
cd /usr/local/src/Zope-2.9.3
./configure
make build
sudo make install
cd /usr/local/Zope-2.9.3/bin

mkdir /usr/local/Zope-2.9.3/instance
./mkzopeinstance.py
folder: /usr/local/Zope-2.9.3/instance \
user: admin

- make sure Zope folder belongs to zopeuser

- check $PYTHONPATH
- start zope server::

cd /usr/local/Zope-2.9.3/instance
./bin/zopectl start
>>> . daemon process started, pid=26472

- log into ZMI::

http://sfiles.embl.de:8080/manage


##local installation::

./configure --prefix ~/data/local/Zope --with-python ~/data/local/bin/python2.4

Install Plone
=============

- download Imaging-1.1.6b1.tar.gz from http://effbot.org/downloads/#Imaging::

scp 'grunberg@kaa.embl.de:data/input/Imagin*' ~/input
untar...
sudo mv Imaging-1.1.6b1 /usr/local/src/
cd /usr/local/src/Imaging*
sudo python2.4 setup.py install

- download Plone-2.5.tgz and install all needed Zope products::

gzip -d Plone*
tar -xvf Plone*
sudo mv Plone-2.5 /usr/local/src/
cd /usr/local/src/Plone-2.5
emacs CMFPlone/INSTALL.txt &

rm -r Five ## for Zope 2.9.x
rm *.txt

mv * /usr/local/Zope-2.9.3/instance/Products/

- restart Zope
in ZMI/Control Panel: Shut down Zope
in /usr/local/Zope-2.9.3/instance: ./bin/zopectl start

- install Plone site
in ZMI/ (root folder): Add/Plone site
ID: project

- check: Plone site should be accessible under
http://sfiles.embl.de:8080/project

put Zope behind apache
======================

- check that "Virtual hosting" exists in ZMI root
- work through
http://plone.org/documentation/how-to/plone-with-apache-1.3

in short:

- add to /etc/httpd/conf/httpd.conf::


ServerName synplexity.embl.de
ServerAlias www.synplexity.embl.de
ServerAdmin webmaster@synplexity.embl.de
ProxyPass / http://localhost:8080/VirtualHostBase/http/sfiles.embl.de:80/projects/VirtualHostRoot/
ProxyPassReverse / http://localhost:8080/VirtualHostBase/http/sfiles.embl.de:80/projects/VirtualHostRoot/



Deny from all


- (re)start apache::
sudo /usr/sbin/apachectl graceful

- check: Plone site now accessible under
http://sfiles.embl.de/

- direct access to Zope w/o apache is still possible with
http://sfiles.embl.de:8080/sfiles

Now, the plone site should be up and running behind your apache server. The remaining installation log describes the installation of some additional plone plugins. I'll just give the list of plugins I found useful:

- ATExtensions -- needed by most plugins (perhaps included in recent plone versions?)
- CMFBibliography -- very neat literature management
- AmazonTool -- to import book citations from Amazon
- ATBiblioList -- create virtual literature lists

I put up a little first-steps page on sfiles to get users started:
http://sfiles.embl.de/help/first_steps

There are some more notes on customizing sfiles and create custom workflows-- I can post them later if you are interested.

That's it... questions / comments are welcome.
Good luck!
Raik

50 comments:

Pedro Beltrão said...

You should tell Raik to get a blog started :)

hackdna said...

FYI, having
zopeuser ALL=(ALL) NOPASSWD: ALL
in /ets/sudoers means that the Zope server will run with superuser privileges which is insecure - an attacker who takes control of Zope or even any other service would be able to gain full control over your machine.
One solution would be to change this line appropriately. Another, to use SELinux with appropriate restrictions.

The Anonymous said...

Hey.. Have a story to share, without worrying about revealing urself ?.. Tell it to the virtual world... let the world know your story but not your identity. :) http://www.project71.com/readme Enjoyy!

The Anonymous said...

Everyone should see this.. http://www.project71.com/readme Enjoyy!

adam brown said...

look this is the "diet" i told you about you should really enter the site :) bye enter the site

barb michelen said...

Hello I just entered before I have to leave to the airport, it's been very nice to meet you, if you want here is the site I told you about where I type some stuff and make good money (I work from home): here it is

bernard n. shull said...

hi mate, this is the canadin pharmacy you asked me about: the link

milf said...

black mold exposureblack mold symptoms of exposurewrought iron garden gatesiron garden gates find them herefine thin hair hairstylessearch hair styles for fine thin hairnight vision binocularsbuy night vision binocularslipitor reactionslipitor allergic reactionsluxury beach resort in the philippines

afordable beach resorts in the philippineshomeopathy for eczema.baby eczema.save big with great mineral makeup bargainsmineral makeup wholesalersprodam iphone Apple prodam iphone prahacect iphone manualmanual for P 168 iphonefero 52 binocularsnight vision Fero 52 binocularsThe best night vision binoculars here

night vision binoculars bargainsfree photo albums computer programsfree software to make photo albumsfree tax formsprintable tax forms for free craftmatic air bedcraftmatic air bed adjustable info hereboyd air bedboyd night air bed lowest pricefind air beds in wisconsinbest air beds in wisconsincloud air beds

best cloud inflatable air bedssealy air beds portableportables air bedsrv luggage racksaluminum made rv luggage racksair bed raisedbest form raised air bedsaircraft support equipmentsbest support equipments for aircraftsbed air informercialsbest informercials bed airmattress sized air beds

bestair bed mattress antique doorknobsantique doorknob identification tipsdvd player troubleshootingtroubleshooting with the dvd playerflat panel television lcd vs plasmaflat panel lcd television versus plasma pic the bestThe causes of economic recessionwhat are the causes of economic recessionadjustable bed air foam The best bed air foam

hoof prints antique equestrian printsantique hoof prints equestrian printsBuy air bedadjustablebuy the best adjustable air bedsair beds canadian storesCanadian stores for air beds

migraine causemigraine treatments floridaflorida headache clinicdrying dessicantair drying dessicantdessicant air dryerpediatric asthmaasthma specialistasthma children specialistcarpet cleaning dallas txcarpet cleaners dallascarpet cleaning dallas

vero beach vacationvero beach vacationsbeach vacation homes veroms beach vacationsms beach vacationms beach condosmaui beach vacationmaui beach vacationsmaui beach clubbeach vacationsyour beach vacationscheap beach vacations

bob hairstylebob haircutsbob layeredpob hairstylebobbedclassic bobCare for Curly HairTips for Curly Haircurly hair12r 22.5 best pricetires truck bustires 12r 22.5

washington new housenew house houstonnew house san antonionew house venturanew houston house houston house txstains removal dyestains removal clothesstains removalteeth whiteningteeth whiteningbright teeth

Coralgraph said...

Nice stuffs!! Thanks for sharing.
Continuous Ink Systems

shaneskyles said...

小遊戲,ut男同志聊天室,成人圖片區,交友104相親網,0951成人頻道下載,男同志聊天室,成人貼圖,成人影片,tt1069同志交友網,成人視訊,aio交友愛情館,情色視訊,情色視訊,色情遊戲,交友戀愛小站,jp成人,熊貓貼圖,成人圖片,成人文章,正妹,成人小說,杜蕾斯成人,ut 聊天室,熊貓貼圖區,交友聊天找e爵,ol制服美女影片,777成人區,bt成人,女同志聊天室,貼圖片區,一葉情貼圖片區,6k聊天室,69成人,成人貼圖站,色情影片,聊天室ut,免費成人影片,成人漫畫,0204貼圖區,小高聊天室,歐美免費影片,

AlexRayner said...

尋夢園聊天室18jack主入口成人圖片區情色貼圖sex520免費影片85cc 倉井空免費影片性愛小遊戲g8yy歐美台灣美女貼圖區麗的色情kk俱樂部wmtia片下載熊貓貼圖a片面費下載sex520免費影片harry台灣情色論壇cpz無料動畫無名正妹文迪交友找美女美女圖片網辣妹合唱團色情無碼圖片老熟女台灣本土少女自慰高潮性愛線上免費影片台灣本土18 c8亂倫影片免費av18禁85cc免費影城85cc免費影城免費情色小說找一夜情明星走光圖歐美猛男性愛照歐美美女歐美素圖台中人聊天室735聊天室愛情公寓聊天室aa片85cc免費影片85cc無碼av女優西裝男同志2009國際比基尼小姐性交姿勢美女遊戲世界美腿影片av女傭男同志影片光朴美妹寫真2009

sss said...

我愛那些使自己的德行成為自己的目標或命定的人........................................

健康保寶 said...

It may be that your sole purpose in life is simply to serve as a warning to others.............................................

聊天室 said...

裸照裸女愛愛無碼尋夢視訊聊天a漫a片a圖一夜情一葉情人妻激情情色寫真美女自拍辣妹自拍正妹自拍美女走光辣妹走光正妹走光脫衣秀脫衣走光色情自慰自拍成人全裸打炮打手槍打飛機巨乳巨奶女優大奶

香蕉哥哥 said...

IT IS A VERY NICE SUGGESTION, THANK YOU LOTS! ........................................

玉苓 said...

路過--你好嗎..很棒的BLOG.........................................

恆妍怡君慧迪 said...

how do u do?

睿玄 said...

先告訴自己希望成為什麼樣的人,然後一步一步實踐必要的步驟。........................................

JeremiahRenne332 said...

朝著既定的目標走,就不會迷失。........................................

怡君 said...

人生不如意事,十常八九。 ..................................................

dare713llflagg0 said...

i trust everything will be fine. bless you!........................................

詩涵 said...

完成一個小目標,會把自己推向一個大目標

kio said...

心中有愛,才會人見人愛。.............................................

侯郁順 said...

援交友聊天室 成人視訊jaanli 視訊聊天交友1758 素人自拍,情色小站 av999電影院 a片 男同志網gay圖片 咆哮老鼠concert 高雄寂寞小站 成人情色 視訊21sex 176視訊聊天室 avdvd情色影片 love104 視訊聊天室 摸摸耳小遊戲 1111非常好色6 0下載 情人輔助品視訊交友 成人視訊ynbcom 情色a片-情色小站 aio交友愛情館 18x us視訊聊天 內衣名模寫真 南人情色論壇 東東成人論談 xxvideo 倉井空免費a影片 免費視訊173liveshow google台灣 賓館偷拍影片 s383情色大網咖 歐美潮吹短片 104視訊美女 0951撥打電話下載 0204免費下載短片 免費視訊交友 援交情人視訊聊天室 avdvd免費無碼a片 視訊網愛聊天室85cc yam天空影音 104川藏第一美女視訊 無碼視訊情色小站 色美媚,洪爺的家 杜雷斯免費影片 網愛交友網 視訊甜心寶貝av貼片區 aio辣妺視訊 東京熱情色影片 交友網愛戀之旅 上班族酒趴網 免費視訊monico sex520貼片

730A_ngelinaRabideau0 said...

一沙一世界,一花一天堂,掌中握無限,剎那即永恆..................................................

ElwoodK_Rank佳玲 said...

朋友是一面鏡子 ............................................................

sisimao said...

Better late than never...................................................

淑慧 said...

愛,拆開來是心和受兩個字。用心去接受對方的一切,用心去愛對方的所有。.................................................................

怡婷 said...

婚姻對男人來說是賭他的自由,對女人而言卻是賭她的幸福。..................................................................

sda said...

不只BLOG內容很棒留言也很精采 XDDDD

江婷 said...

河水永遠是相同的,可是每一剎那又都是新的。....................................................................

許紀廷 said...

Pay somebody back in his own coin..................................................................                           

郁雨郁雨 said...

一定要保持最佳狀況呦,加油!!!期待你發表的新文章!.................................................................

佳蓉佳蓉 said...

人不能像動物一樣活著,而應該追求知識和美德............................................................

芳容222許林堅林芳容儀 said...

It takes all kinds to make a world.............................................................

云依恩HFH謝鄭JTR安 said...

睇完之後覺得有d頓悟..感謝分享...................................................................

吳婷婷 said...

人生的「三部曲」應該是無愧的昨天,充實的今天,與充滿希望的明天。..................................................

楊儀卉 said...

快樂,是享受工作過程的結果............................................................

KyungBivo中如 said...

第一忠誠,第二勤奮,第三專心工作。..................................................

楊儀卉 said...

人自幼就應該通過完美的教育,去建立一種好的習慣。......................................................

廖淑鄭志嘉娟 said...

真是感人肺腑的文章~~............................................................

鄭雅雯 said...

你不能改變容貌~~但你可以展現笑容.................................................................

賴成貞陳韻邦 said...

愛情不是慈善事業,不能隨便施捨。.................................................................

萬建彰宇 said...

It is easier to get than to keep it.......................................................................

凱v胡倫 said...

Make hay while the sun shines...................................................

姿法岳昌邦吟 said...

無私分享,很不錯哦~謝謝~~..................................................................

于庭吳 said...

傻氣的人喜歡給心 雖然每次都被笑了卻得到了別人的心..................................................................

王辛江淑萍康 said...

婚姻對男人來說是賭他的自由,對女人而言卻是賭她的幸福。.................................................................

佳張張張張燕張張張張張 said...

每日都有新日光,每日都有新希望。.................................................

王雅俊 said...

人不能像動物一樣活著,而應該追求知識和美德............................................................