EnChip Microelectronics

又一个WordPress站点

EnChip Microelectronics

又一个WordPress站点

Install Plone + LDAP with buildout

安装ubuntu的docker景象

更新apt目录:
sudo apt-get update

安装必要的包:
sudo apt install python3-pip
sudo apt install python3-dev libldap2-dev libsasl2-dev libssl-dev

创建plone文件夹
mkdir plone5
cd plone5

用pip安装virtualenv:
sudo pip3 install virtualenv

创建python虚拟环境:
virtualenv zinstance
cd zinstance

在python虚拟环境中安装buildout:
./bin/pip install zc.buildout

创建buildout.cfg配置文件,包含下面的内容:
[buildout]
extends =
http://dist.plone.org/release/5-latest/versions.cfg

parts =
instance

[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 8080
eggs =
Plone
pas.plugins.ldap

用buildout安装plone:
./bin/buildout

启动plone:
./bin/instance start

Install Plone + LDAP with buildout
Scroll to top