This post explains briefly how to install CPS 3.4.4 in an Ubuntu Feisty Fawn with support for the most common products. I suppose that you have already installed Ubuntu Feisty Faw.
The installation will be based on CPS 3.4.4 and the required versions Zope 2.9.7 and Python 2.4.3.
Pre-requisites
- Install extra packages from Ubuntu Feisty repository:
apt-get install make gcc python2.4 python2.4-dev g++ subversion
- Create some useful directories:
root@ubuntu:~# cd
root@ubuntu:~# mkdir opt
root@ubuntu:~# mkdir instances
root@ubuntu:~# mkdir downloads
Installing Zope
- Download and install Zope 2.9.7
cd
cd downloads
wget http://www.zope.org/Products/Zope/2.9.7/Zope-2.9.7-final.tgz
tar xvfz Zope-2.9.7-final.tgz
cd Zope-2.9.7-final
./configure --prefix=./opt/zope2.9.7
make
make install - Create Zope's instance
cd
./opt/zope2.9.7/bin/mkzopeinstance.py
root@ubuntu:~# ./opt/zope2.9.7/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: /srv/cps
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: cps
Password:
Verify password: - Configure Zope:
- Add a new user to run zope:
addgroup --system zope
adduser --system --group zope - Edit the file /srv/cps/etc/zope.conf and set effective-user, http-realm and http-server address:
effective-user zope
...http-realm My CPS instance
...
address 8080
- Change permissions of Zope's instance
chown -R zope:zope /srv/cps
- Add a new user to run zope:
- Run Zope to test if it works by itself.
./bin/zopectl start
- Open your web browser and type http://localhost:8080, home page of Zope should arise.
Installing CPS 3.4.4
- Download CPS to the Products folder:
- Remove the directory Products of Zope as it will be replace for CPS's.
rm -rf Products
- Create again the directory Products from the CPS repository
svn export http://svn.nuxeo.org/pub/CPS3/bundles/CPS-3-full/tags/CPS-3.4.4 Products
- Remove the directory Products of Zope as it will be replace for CPS's.
- Restart Zope
./bin/zopectl restart
- Go to the ZMI in http://localhost:8080/manage
- Navigate to the Root folder of Zope and add a "CPSDefault Site".
- Fill in the gaps of the form and click the button "Add". Notice the identifier you choose for the new object as it will be your passport to access to it. I will choose "cps".
- After a while the brand new CPS's instance will be available in the url:
http://localhost:8080/cps
If the step 6 gave you a good answer, Congratulations!! You have just installed CPS and now you can collaborate with others by using this powerful ECM.
2 comments:
Good Article
that is definitely what I was searching for, You have saved me alot of time
Post a Comment