The Artima Developer Community
Sponsored Link

Python Buzz Forum
PeopleAggregator on CentOS (on vmware) [IN PROGRESS]

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
PeopleAggregator on CentOS (on vmware) [IN PROGRESS] Posted: Oct 20, 2006 3:51 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: PeopleAggregator on CentOS (on vmware) [IN PROGRESS]
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

NOTE: This is just a log of what I did to get PA going on CentOS, not really an install guide as such. I'll write up a better guide for the wiki later. For the moment read this, then try not to make the same mistakes as me! :-)

After doing a vmware install demo on Ubuntu, I might as well do one for CentOS, another big Linux distribution these days.

I've created a new vmware virtual machine, otherwise identical to the Ubuntu one, but with "Other Linux" selected as the OS.

I'm installing using the Centos 4.4 Server CD.

I started with the default 8GB SCSI HDD, but deleted that and created an IDE one after the installer couldn't find it.

Accepted the default partition scheme - /dev/hda was split into /dev/hda1, a 102MB /boot partition, and /dev/hda2, an LVM volume containing a 7.5GB ext3 partition and a 512MB swap partition.

Accepted the default GRUB bootloader.

Opted to set hostname manually, to 'minic'.

Selected to keep the firewall, and enable SSH and HTTP.

Added English (New Zealand) to the language selection and made it the default.

Set timezone to Pacific/Auckland.

Set a root password.

Selected to customize package installation. Chose the 'Minimal' option right down the bottom (to ensure I have to install everything manually!)

OK, now it's all installed. Booted up, logged in as root.

service sshd start ifconfig

[now I can connect in using SSH to eth0's IP address.]

yum --enablerepo=centosplus install mysql-server php php-pear php-mysql php-gd ImageMagick subversion chkconfig --add httpd
chkconfig --add mysqld
chkconfig httpd on
chkconfig mysqld on
service httpd start
service mysqld start

[now I can browse to http://192.168.223.129/ and see a CentOS start page.]

cd /var/www/html/
svn checkout http://update.peopleaggregator.org/svn/release/pa/

[browse to http://192.168.223.129/pa/web/ , follow link to installer.]

chmod a+w /var/www/html/pa/web/config

[refresh installer, follow instructions to chmod various folders.]

chmod a+w /var/www/html/pa/log /var/www/html/pa/networks/ /var/www/html/pa/web/files/ /var/www/html/pa/web/cache/ /var/www/html/pa/web/sb-files/

[refresh config page - ok, it's ready! enter an admin and a mysql password, and click 'Set up PeopleAggregator']

Argh - the setup took ages, then stopped after "running database upgrade script ...". I seem to recall this being a symptom of a missing DOMDocument class; obviously the check for that in the install process hasn't made it through to the public distribution yet.

yum --enablerepo=centosplus install php-xsl
service httpd restart
mysql -e 'drop database peopleaggregator'

[now browsing to http://192.168.223.129/pa/web/config/ just hangs...?]

[ok, it was just slow. entered passwords and clicked 'set up peopleaggregator, and it all worked.]

mv /var/www/html/pa/web/config/local_config.php /var/www/html/pa/

[browse to http://192.168.223.129/pa/web/ and it's working!]

Comment

Read: PeopleAggregator on CentOS (on vmware) [IN PROGRESS]

Topic: Desert Code Camp is Oct. 28 Previous Topic   Next Topic Topic: The 18 mistakes that Kill Startups

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use