Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Deployment of plone and adoption of windows AD certification

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

System

[root@localhost ~] # cat / etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@localhost ~] # ip addr1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 0000 scope host lo valid_lft forever preferred_lft forever inet6:: 1lo 128 scope host valid_lft forever preferred_lft forever2: Eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:0c:29:e3:27:70 brd ff:ff:ff:ff:ff:ff inet 192.168.56.16 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fee3:2770/64 scope link valid_lft forever preferred_lft forever 24 brd 192.168.56.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fee3:2770/64 scope link valid_lft forever preferred_lft forever [root@localhost ~] # wget-O / etc/yum.repos.d/CentOS -Base.repo http://mirrors.aliyun.com/repo/Centos-7.repowget-O / etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repoyum clean all

two。 Install dependency packages

Yum-y install gcc make readline-devel patch openssl openssl-devel python-devel libssl libz libjpeg readline libxml2 libxslt build-essential gathers + gnu make tar bzip2 libjpeg-devel zlib-devel libxml2-devel libjpeg-devel libiconv-devel libxslt-devel

two。 Install plone

[root@localhost software] # pwd/home/software [root@localhost software] # lltotal 38196murr Murray Rwmuri-1 root root 39109031 Apr 20 03:07 Plone-4.3.12-UnifiedInstaller.tgz [root@localhost software] # [root@localhost software] # tar xf Plone-4.3.12-UnifiedInstaller.tgz [root@localhost software] # mv Plone-4.3.12-UnifiedInstaller Plone [root@localhost software] # cd Plone [root@localhost Plone] #. / install.sh standalone this It takes a long time for version 4.0 to be installed under / usr/local/ by default. Version 5.0 is the flag for successful installation under / opt [root@localhost Plone] #. / install.sh standalone Testing / usr/bin/python2.7 for Zope/Plone requirements..../usr/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_buildoutDetailed installation log being written to / home/software/Plone/install.logInstalling Plone 4.3.12 at / usr/local/PloneUsing useradd and groupadd to create users and groups.'plone_group' already exists; no need to create it.User 'plone_daemon' already exists. No need to create it.Adding user plone_daemon to group plone_group.User 'plone_buildout' already exists. No need to create it.Adding user plone_buildout to group plone_group.Creating python virtual environment, no site packages, no setuptools.New python executable in/ usr/local/Plone/Python-2.7/bin/python2.7Also creating executable in/ usr/local/Plone/Python-2.7/bin/pythonInstalling pip, wheel...done.Skipping libjpeg buildUnpacking buildout cache to / usr/local/Plone/buildout-cacheSetting / usr/local/Plone ownership to plone_buildout:plone_groupCopying buildout skeletonFixing up bin/buildoutBuilding Zope/Plone This takes a while...Buildout completed # Installation Complete # # Plone successfully installed at / usr/local/PloneSee / usr/local/Plone/zinstance/README.htmlfor startup instructions Use the account information below to log into the Zope Management InterfaceThe account has full 'Manager' privileges. Username: admin Password: VPfcxR9BsiWmThis account is created when the object database is initialized. If you changethe 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 itfor 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)") [root@localhost Plone] #

3 install component pillow

Modify the pysource of ali add or modify [global] index-url = http://mirrors.aliyun.com/pypi/simple/[install]trusted-host=mirrors.aliyun.com install pip command [root@localhost software] # python get-pip.py Collecting pip Downloading http://mirrors.aliyun.com/pypi/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl (1.3MB) in the ~ / .pip / pip.conf file | ██ | 1.3MB 1.2MB/s Collecting setuptools Downloading http://mirrors.aliyun.com/pypi/packages/ff/96/5e917753dbdd7b28217c1068d9e3fbe54a7ef0ff3a6411d0cc81faf37070/setuptools-35.0.0-py2.py3-none-any.whl (390kB) 100% | ██ | ████ | 399kB 566kB/s Collecting wheel Downloading http://mirrors.aliyun.com/pypi/packages/8a/e9/8468cd68b582b06ef554be0b96b59f59779627131aad48f8a5bce4b13450/wheel-0.29.0-py2.py3-none-any.whl (66kB) 100% | ██ | 71kB 1.6MB/s Collecting six > = 1.6.0 (from setuptools) Downloading http://mirrors.aliyun.com/pypi/ Packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whlCollecting appdirs > = 1.4.0 (from setuptools) Downloading http://mirrors.aliyun.com/pypi/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whlCollecting packaging > = 16.8 (from setuptools) Downloading http://mirrors.aliyun.com/pypi/packages/87/1b/c39b7c65b5612812b83d6cab7ef2885eac9f6beb0b7b8a7071a186aea3b1/packaging-16.8-py2.py3-none-any.whlCollecting pyparsing (from) Packaging > = 16.8-> setuptools) Downloading http://mirrors.aliyun.com/pypi/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl (56kB) 100% | ██ | 61kB 1.3MB/s Installing collected packages: pip Six, appdirs, pyparsing, packaging, setuptools WheelSuccessfully installed appdirs-1.4.3 packaging-16.8 pip-9.0.1 pyparsing-2.2.0 setuptools-35.0.0 six-1.10.0 wheel-0.29.0 [root@localhost software] # [root@localhost software] # pip install PillowCollecting Pillow Downloading http://mirrors.aliyun.com/pypi/packages/d3/7c/2931fa532893bfd8580584c85d54f60e28726212e8af87d887f8b4a00e5d/Pillow-4.1.0-cp27-cp27mu-manylinux1_x86_64.whl (5.7MB) 100% | ██ ██ | 5.7MB 1.1MB/s Collecting olefile (from Pillow) Downloading http://mirrors.aliyun.com/pypi/packages/35/17/c15d41d5a8f8b98cc3df25eb00c5cee76193114c78e5674df6ef4ac92647/olefile-0.44.zip (74kB) 100% | ██ | 81kB 936kB/s Building Wheels for collected packages: olefile Running setup.py bdist_wheel for olefile... Done Stored in directory: / root/.cache/pip/wheels/08/c9/45/7f7ae2cf8e7f278be9f6d3af7fe35b3c03505ece05453db9e1Successfully built olefileInstalling collected packages: olefile, PillowSuccessfully installed Pillow-4.1.0 olefile-0.44 [root@localhost software] #

4. Install python-ldap

Yum install yum-utils-y yum-builddep-y python-ldap-y python- m pip install-U python-ldap cd / home/software total 39808 Plone-4.3.12-UnifiedInstaller.tgzdrwxr-xr-x 10 500 users 4096 Plone-4.3.12-UnifiedInstaller.tgzdrwxr-xr-x 10 500 users 4096 Apr 20 04:14 python-ldap-2.3.10-rw-r--r-- 1 root root 112840 Apr 20 04:13 python-ldap-2.3.10.tar.gz cd python-ldap-2.3.10 python setup.py install

5. Download component

Vim / opt/plone/zinstance/buildout.cfg version 5.0 vim / usr/local/Plone/zinstance/buildout.cfg version 4.0 needs to open the US × × download eggs = Plone Pillow Products.PluginRegistry Products.PluggableAuthService Products.LDAPUserFolder Products.SimpleUserFolder Products.LDAPMultiPlugins Products.PloneLDAP [root@localhost zinstance] # pwd/usr/local/Plone/zinstance [root@localhost zinstance] # sudo-u plone_buildout bin/buildout

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report