Sep 1 2009

installing plone on ubuntu/slicehost

Setting up the Slicehost Account

Update everything
sudo apt-get update
sudo apt-get upgrade

install vim full so you can edit files
apt-get install vim-full

update the “locate” db
sudo updatedb

Change the root password
sudo passwd

Set up Users
useradd zope (I like useradd because there’s no reason to have a home directory. If you want your user to have a home directory then use adduser or useradd -D zope to create ~/home/zope)
passwd zope
useradd -m -c "real name" -s /bin/bash auserwithsudoers The flags create a home directory with skel profile defaults and this account is linked to the defaults for bash shell, which is important if you like syntax coloring and tab completion.
passwd auserwithsudoers
sudo visudo
Find the line that says #User Privilege specification and add
auserwithsudoers ALL=(ALL) ALL
shift ZZ to save and exit

Now log out as root and login as your new admin user and test sudo
su auserwithsudoers
sudo bash

Disable root login
su root
sudo vim /etc/ssh/sshd_config
Change “PermitRootLogin yes” to “PermitRootLogin no”

Reload the ssh config
sudo /etc/init.d/ssh reload

Ok! Now we’re ready to think about plone

  1. Follow the plone install instructions here
  2. install some products (see plone documentation on using buildout). Here’s what I did to install a Press Release product
    1. download the product. If there’s a choice of files, choose the one with the naming convention Products.package.tar.gz. This is a python egg.
    2. su zope
      vi /usr/local/Plone/zeocluster/buildout.cfg

      add the following:
      [buildout]
      ...
      eggs =
      Products.PressRelease

      and save (ctrl + ZZ)
    3. sudo /usr/local/Plone/zeocluster/bin/buildout
    4. sudo /usr/local/Plone/zeocluster/bin/plonectl restart
    5. In each Plone site where you want to install the Product, go Site Setup>Add/Remove Products and install the Product.
VN:F [1.8.2_1042]
Rating: 7.5/10 (2 votes cast)
VN:F [1.8.2_1042]
Rating: +1 (from 1 vote)

Dec 12 2007

install plone 3 on ubuntu 7.10

This is on a freshly installed Ubuntu 7.10 (Gutsy Gibbon). Modify version numbers as needed

  1. install g++
    sudo apt-get install linux-headers-`uname -r` build-essential xinetd
  2. download plone unified installer or in your terminal type:
    wget https://launchpad.net/plone/3.0/3.0.4/+download/Plone-3.0.4-UnifiedInstaller.tar.gz --no-check-certificate
  3. tar -xvzf Plone-3.0.4-Unifiedinstaller-Rev3.tar.gz
    cd Plone-3.0.4-Unifiedinstaller
    If you need to change the install path for Plone, edit the PLONE_HOME variable in install.sh. I changed mine to /usr/local/Plone304
  4. sudo ./install.sh zeo
  5. cd /usr/local/Plone304/zeocluster
    and
    sudo vi adminPassword.txt
    to view admin password
  6. start Plone (first time will take a few minutes):
    sudo /usr/local/Plone304/zeocluster/bin/startcluster.sh
  7. navigate to localhost:8080 to check that zope is working
  8. in localhost:8080/manage go to Root Folder, click on acl_users=>users=>admin and change admin password to something you’ll remember
  9. from dropdown menu select Plone Site to create a new site
  10. navigate to plone site: localhost:8080/ploneSiteName
  11. navigate to zmi by: localhost:8080/ploneSiteName/manage
VN:F [1.8.2_1042]
Rating: 3.0/10 (1 vote cast)
VN:F [1.8.2_1042]
Rating: 0 (from 0 votes)