Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Plone 3.3 Site Administration
  • Table Of Contents Toc
  • Feedback & Rating feedback
Plone 3.3 Site Administration

Plone 3.3 Site Administration

3.7 (3)
close
close
Plone 3.3 Site Administration

Plone 3.3 Site Administration

3.7 (3)

Overview of this book

In the past few years, we have seen some dramatic changes in the way Plone sites are being developed, deployed, and maintained. As a result, developing and deploying sites, changing their default settings, and performing day to day maintenance tasks can be a challenge. This book covers site administration tasks, from setting up a development instance, to optimizing a deployed production site, and more. It demonstrates how-to perform these tasks in a comprehensive way, and walks the user through the necessary steps to achieve results.We have divided the subject of Plone site administration into three categories: development, deployment, and maintenance. We begin by explaining how a Plone site is built, and how to start using it through the web. Next, we add features by installing add-on products, focusing on themes, blogging, and other common enhancements. After the basics of developing and deploying a Plone site are covered, the book covers the basics of maintaining it.Further, throughout the book we preview some new technologies related to Plone site administration, available now as add-ons to the current Plone release. Finally, we will cover a variety of techniques to help you optimize your site's performance.
Table of Contents (15 chapters)
close
close
Plone 3.3 Site Administration
Credits
Foreword
About the Author
About the Reviewer
Preface
Index

Installing Squid—a caching agent


To install squid, we will use the zc.recipe.cmmi recipe (http://pypi.python.org/pypi/zc.recipe.cmmi) and plone.recipe.squid recipe (http://pypi.python.org/pypi/plone.recipe.squid).

In 06-deployment-optimization-squid.cfg, we have:

[buildout]
extends = 06-deployment-optimization-varnish.cfg
parts += 
    squid-install
    squid

[squid-install]
recipe = zc.recipe.cmmi
url = http://www.squid-cache.org/Versions/v3/3.0/\
  squid-3.0.STABLE21.tar.gz

[squid]
recipe = plone.recipe.squid:instance
cache-size = 1000
daemon = ${squid-install:location}/sbin/squid
backends = 127.0.0.1:8080
bind = 127.0.0.1:3128

Now stop Varnish and run Buildout:

$ bin/buildout -c 06-deployment-optimization-squid.cfg

Next, be sure to create some cache swap directories for Squid, with the following command:

$ bin/squid -z 

You should see:

$ bin/squid -z         
2010/05/21 11:54:41| Creating Swap Directories

Next, start Squid in the foreground (with –N), as shown:

$ bin/squid -N

Now, browse...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY