Plone
www.ubuntulinux.jpを見てたら、PloneというZopeベースのCMSで作ってるそうで。
PHP-Nukeとどっちがいいんだろ。
UbuntuだとSynapticからインストールできます。
Zope込みで20MBダウンロード...。
Ploneインストール
ということでインストールしてみました。
SynapticでPlone、Zopeをインストールした後、Plone公式サイトのSetting up Plone and Zope from sourceやPloneインストールを見ながら設定。
さらにインスタンス作成。
$ sudo /usr/lib/zope2.8/bin/mkzopeinstance.py
Please choose a directory in which you'd like to install
Zope "instance home" files such as database files, configuration
files, etc.Directory: /home/sayo/zope/instancel
Please choose a username and password for the initial user.
These will be the credentials you use to initially manage
your new Zope instance.Username: sayo
Password:
Verify password:
Not overwriting /home/sayo/zope/instancel/./README.txt
Not overwriting /home/sayo/zope/instancel/./import/README.txt
Not overwriting /home/sayo/zope/instancel/./Products/README.txt
Not overwriting /home/sayo/zope/instancel/./etc/zope.conf
Not overwriting /home/sayo/zope/instancel/./Extensions/README.txt
Not overwriting /home/sayo/zope/instancel/./bin/runzope.bat
Not overwriting /home/sayo/zope/instancel/./bin/zopectl
Not overwriting /home/sayo/zope/instancel/./bin/zopeservice.py
Not overwriting /home/sayo/zope/instancel/./bin/runzope
Not overwriting /home/sayo/zope/instancel/./log/README.txt
Not overwriting /home/sayo/zope/instancel/./var/README.txt
$ ls -l zope/instancel/
合計 28
drwxr-xr-x 2 sayo sayo 4096 2006-03-06 13:44 Extensions
drwxr-xr-x 2 sayo sayo 4096 2006-03-06 13:44 Products
- rw-r--r-- 1 sayo sayo 410 2006-03-06 13:44 README.txt
drwxr-xr-x 2 sayo sayo 4096 2006-03-06 13:44 bin
lrwxrwxrwx 1 root root 22 2006-03-06 13:46 etc -> /etc/zope2.8/instancel
drwxr-xr-x 2 sayo sayo 4096 2006-03-06 13:44 import
- rw-r--r-- 1 root root 39 2006-03-06 13:46 inituser
lrwxrwxrwx 1 root root 26 2006-03-06 13:46 log -> /var/log/zope2.8/instancel
drwxr-xr-x 2 sayo sayo 4096 2006-03-06 13:44 var
パーミッション変更。
Zope起動。
$ su - zope
$ ./bin/zopectl start
. Traceback (most recent call last):
File "/usr/lib/zope2.8/lib/python/zdaemon/zdrun.py", line 719, in ?
main()
File "/usr/lib/zope2.8/lib/python/zdaemon/zdrun.py", line 716, in main
d.main(args)
File "/usr/lib/zope2.8/lib/python/zdaemon/zdrun.py", line 243, in main
self.run()
File "/usr/lib/zope2.8/lib/python/zdaemon/zdrun.py", line 256, in run
self.opensocket()
File "/usr/lib/zope2.8/lib/python/zdaemon/zdrun.py", line 278, in opensocket
sock.bind(tempname)
File "", line 1, in bind
socket.error: (13, 'Permission denied')
. . . . . . . . . . . . . . . . . . . . . . . . .
あれ。sudoでZope起動
$ sudo ./bin/zopectl start
. daemon process started, pid=10990
これでhttp://localhost:9673/manageにアクセスすればZopeの管理画面が表示されます。
けどパーミッションがなんか変だな...