日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢(xún)
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問(wèn)題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷(xiāo)解決方案
plone的部署以及采用windowsAD認(rèn)證-創(chuàng)新互聯(lián)
  1. 系統(tǒng)

    目前成都創(chuàng)新互聯(lián)已為成百上千的企業(yè)提供了網(wǎng)站建設(shè)、域名、網(wǎng)絡(luò)空間、網(wǎng)站改版維護(hù)、企業(yè)網(wǎng)站設(shè)計(jì)、隆陽(yáng)網(wǎng)站維護(hù)等服務(wù),公司將堅(jiān)持客戶(hù)導(dǎo)向、應(yīng)用為本的策略,正道將秉承"和諧、參與、激情"的文化,與客戶(hù)和合作伙伴齊心協(xié)力一起成長(zhǎng),共同發(fā)展。
[root@localhost ~]# cat  /etc/redhat-release 
CentOS Linux release 7.2.1511 (Core) 
[root@localhost ~]# ip addr
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: 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/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.repo
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum clean all

2.安裝依賴(lài)包

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

2.安裝plone

[root@localhost software]# pwd
/home/software
[root@localhost software]# ll
total 38196
-rw-r--r-- 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 
此處時(shí)間有點(diǎn)長(zhǎng)
4.0版本 默認(rèn)是安裝在/usr/local/下
5.0版本 默認(rèn)是安裝在/opt下

成功的標(biāo)志
[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_buildout

Detailed installation log being written to /home/software/Plone/install.log
Installing Plone 4.3.12 at /usr/local/Plone

Using 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.7
Also creating executable in /usr/local/Plone/Python-2.7/bin/python
Installing pip, wheel...done.
Skipping libjpeg build
Unpacking buildout cache to /usr/local/Plone/buildout-cache
Setting /usr/local/Plone ownership to plone_buildout:plone_group
Copying buildout skeleton
Fixing up bin/buildout
Building Zope/Plone; this takes a while...
Buildout completed
 
#####################################################################
######################  Installation Complete  ######################
 
Plone successfully installed at /usr/local/Plone
See /usr/local/Plone/zinstance/README.html
for startup instructions
 
Use the account information below to log into the Zope Management Interface
The account has full 'Manager' privileges.

  Username: admin
  Password: VPfcxR9BsiWm

This account is created when the object database is initialized. If you change
the 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 it
for 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安裝組件pillow

修改ali 的py源
在~/.pip/pip.conf文件中添加或修改

[global]
index-url = http://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com



安裝pip命令
[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)
    100% |████████████████████████████████| 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.whl
Collecting appdirs>=1.4.0 (from setuptools)
  Downloading http://mirrors.aliyun.com/pypi/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl
Collecting packaging>=16.8 (from setuptools)
  Downloading http://mirrors.aliyun.com/pypi/packages/87/1b/c39b7c65b5612812b83d6cab7ef2885eac9f6beb0b7b8a7071a186aea3b1/packaging-16.8-py2.py3-none-any.whl
Collecting 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, wheel
Successfully 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 Pillow
Collecting 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/7f7ae2cf8e7f278be9f6d3af7fe35b3c03505ece05453db9e1
Successfully built olefile
Installing collected packages: olefile, Pillow
Successfully installed Pillow-4.1.0 olefile-0.44
[root@localhost software]#

4.安裝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
-rw-r--r--  1 root root   1524722 Apr 20 03:44 get-pip.py
drwxr-xr-x  9 root root      4096 Apr 20 03:40 Plone
-rw-r--r--  1 root root  39109031 Apr 20 03:07 Plone-4.3.12-UnifiedInstaller.tgz
drwxr-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.下載組件

 vim   /opt/plone/zinstance/buildout.cfg  5.0版本呢
 vim  /usr/local/Plone/zinstance/buildout.cfg 4.0版本   需要開(kāi)啟美國(guó)的×××下載
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

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性?xún)r(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專(zhuān)為企業(yè)上云打造定制,能夠滿足用戶(hù)豐富、多元化的應(yīng)用場(chǎng)景需求。


當(dāng)前文章:plone的部署以及采用windowsAD認(rèn)證-創(chuàng)新互聯(lián)
文章出自:http://www.dlmjj.cn/article/csdojd.html