cd /usr/local/src/vagrant
vagrant box add debsqueeze64 http://www.emken.biz/vagrant-boxes/debsqueeze64.box
vagrant box list
vagrant init
edit Vagrantfile
- config.vm.box = "base"
+ #config.vm.box = "base"
+ config.vm.box = "debsqueeze64"
- #config.vm.network :public_network
+ config.vm.network :public_network
vagrant up
vagrant halt
vagrant ssh
vagrant up
vagrant ssh
- ploneのインストール。
- 使いたいバージョンを入れる。この例では古いバージョン
sudo apt-get update
sudo apt-get install python-setuptools python-dev build-essential libssl-dev libxml2-dev libxslt1-dev libbz2-dev libjpeg62-dev
sudo apt-get install libreadline-dev wv poppler-utils
sudo apt-get install git
wget --no-check-certificate https://launchpad.net/plone/3.3/3.3.6/+download/Plone-3.3.6-UnifiedInstaller.tgz
tar xf Plone-3.3.6-UnifiedInstaller.tgz
cd Plone-3.3.6-UnifiedInstaller.tgz
./install.sh standalone
cd ~/Plone/zinstance
bin/plonectl fg
bin/plonectl start
bin/plonectl stop
/sbin/ifconfig
追加の設定
vi /home/vagrant/Plone/Zope-2.10.13-final-py2.4/lib/python/sitecustomize.py
+ import sys
+ sys.setdefaultencoding("utf-8")
vi /home/vagrant/Plone/zinstance/parts/instance/etc/zope.conf
+ <http-server>
+ address 12200
+ </http-server>
+ <ftp-server>
+ address 12221
+ </ftp-server>