Edwin and Tony, Thank you guys for your suggestions on getting my Midgard install working.
Edwin, your script did not work for me, possibly because I was using RH 9.0. I was missing several programs that I realized were not included in your list below that are required for the install. If I have time, I will try to document what programs I needed to install after the 'minimal' install of RH 9.0. Thank you for the script though. Tony, after the above did not work I defaulted to the link that you had sent me. While the installation was still not completely 'straight-forward', it eventually worked out for me. I needed to download the Asgard.xml file from cvs, drop the midgard database from mysql, and then run the dbinstall program using the new Asgard.xml.gz (had to gzip it first). That threw off the /admin site though, so I needed to tweak the entries in the database for it to show up again... but everything works now. Thanks again, -Peter -----Original Message----- From: Edwin Barendse [mailto:[EMAIL PROTECTED] Sent: Wed 9/24/2003 5:11 AM To: [EMAIL PROTECTED] Cc: Subject: RE: [midgard-user] I give up. Hi Pete, > > Sorry if this sounds ignorant about the CMS, but what exactly is needed > for a "clean install" of midgard? I tried with the midgard rpms a while > back and was unable to get anything functional. Do I need the aegir > system installed as well? What is the purpose of each? > I installed several times from scratch a server just to run midgard/aegir with PHPadmin and webalizer by compiling the different packages and no problem at all. (RedHat 8.0 on dual Xeon 2.8 4Gig and much lower systems). Here is my installation manual and compile script: If you would like to get my patch files, just ask. Regards, @ ------------------------------------------------------------------ I just found out that I wrote it in dutch but never the less: Install RH8.0 as a minimal installation and add these RPM packages to your system to be able to compile and run. 1. autoconf 2. automake 3. binutils 4. cpp 5. cups-lib (windows connection) 6. db4-devel 7. expat-devel 8. flex 9. gcc 10. gd (webalizer) 11. gdbm-devel 12. gd-devel (webalizer) 13. glibc-devel 14. glibc-kernelheaders 15. glib-devel 16. libpng-devel (webalizer) 17. libtool 18. m4 19. mysql 20. mysql-devel 21. mysql-server 22. openssl-devel 23. patch (install script) 24. perl-CGI 25. perl-DBD-MySQL 26. perl-DBI 27. rcs (aegir) 28. samba-client (windows connection) 29. samba-common (windows connection) 30. vim-enhanced (handy) 31. zlib-devel install.sh: ----------------------------------------------------- #!/bin/bash set -x cp -r * /usr/src cd /usr/src #mkdir apache #mkdir php #mkdir midgard-1.5.0 #mkdir aegir #mkdir phpmyadmin #mkdir webalizer #mv Aegir-1.0-dirs.tgz aegir/ #mv Aegir-1.0.tar.bz2 aegir/ #mv apache_1.3.28.tar.gz apache/ #mv mod_ssl-2.8.15-1.3.28.tar.gz apache/ #mv httpd apache/ #mv php-4.3.3.tar.bz2 php/ #mv phpMyAdmin-2.5.3-php.tar.bz2 phpmyadmin/ #mv midgard-data-1.5.0.tar.bz2 midgard-1.5.0/ #mv midgard-lib-1.5.0.tar.bz2 midgard-1.5.0/ #mv midgard-php4-1.5.0.tar.bz2 midgard-1.5.0/ #mv mod_midgard-1.5.0.tar.bz2 midgard-1.5.0/ #mv webalizer-2.01-10-src.tar.bz2 webalizer/ cd apache/ tar -xzf mod_ssl-2.8.15-1.3.28.tar.gz tar -xzf apache_1.3.28.tar.gz cd mod_ssl-2.8.15-1.3.28 ./configure --with-apache=../apache_1.3.28 groupadd apache useradd -g apache apache cd ../apache_1.3.28 SSL_BASE=SYSTEM ./configure --with-layout=RedHat --enable-module=all --with-perl=/usr/bin/perl --enable-shared=max --server-uid=apache --server-gid=apache make make certificate TYPE=dummy make install cd .. cp httpd /etc/init.d/ chmod 0755 /etc/init.d/httpd rm -r mod_ssl-2.8.15-1.3.28 rm -r apache_1.3.28 cd .. cd midgard-1.5.0 tar -xjf midgard-data-1.5.0.tar.bz2 tar -xjf midgard-lib-1.5.0.tar.bz2 tar -xjf midgard-php4-1.5.0.tar.bz2 tar -xjf mod_midgard-1.5.0.tar.bz2 cd .. cd midgard-1.5.0/midgard-lib-1.5.0 ./configure --prefix=/usr/local/midgard --with-sitegroups --with-mysql --with-expat make make install echo "/usr/local/midgard/lib" >> /etc/ld.so.conf ldconfig cd .. rm -r midgard-lib-1.5.0 cd .. cd midgard-1.5.0/midgard-data-1.5.0 /etc/init.d/mysqld start patch -p1 -N configure ../../midgard-data.patch mkdir /var/www/blobs mkdir /var/www/cache ./configure ./dbinstall cp midgard-data.conf /etc/httpd/conf/ cd images/ cp -r example /var/www/html/ cp -r midgard /var/www/html/ cd ../../ rm -r midgard-data-1.5.0 cd .. cd midgard-1.5.0/mod_midgard-1.5.0 ./configure --with-midgard-config=/usr/local/midgard/bin/midgard-config --with-apxs make make install cd .. rm -r mod_midgard-1.5.0 cd .. cd php tar -xjf php-4.3.3.tar.bz2 cd php-4.3.3 ./configure --with-mysql --with-apxs make make install cp php.ini-dist /usr/local/lib/php.ini patch -p1 -N /usr/local/lib/php.ini ../../php.ini.patch cd .. rm -r php-4.3.3 cd .. cd midgard-1.5.0/midgard-php4-1.5.0 PATH=$PATH:/usr/local/midgard/bin ./mkall cd .. rm -r midgard-php4-1.5.0 cd .. cd phpmyadmin/ tar -xjf phpMyAdmin-2.5.3-php.tar.bz2 cp -r phpMyAdmin-2.5.3 /var/www/html/phpmyadmin rm -r phpMyAdmin-2.5.3 cd .. cd webalizer tar -xjf webalizer-2.01-10-src.tar.bz2 cd webalizer-2.01-10 ./configure --mandir=/usr/share/man make make install mkdir /var/www/html/usage mv /etc/webalizer.conf.sample /etc/webalizer.conf patch /etc/webalizer.conf ../../webalizer.conf.patch cat > /etc/cron.hourly/webalizer << STOP #!/bin/bash /usr/local/bin/webalizer > /dev/null STOP chmod 0777 /etc/cron.hourly/webalizer cd .. rm -r webalizer-2.01-10 cd .. cd aegir tar -xzf Aegir-1.0-dirs.tgz tar -xjf Aegir-1.0.tar.bz2 mv var/lib/aegir /var/lib/ cd Aegir-1.0/ PATH=$PATH:/usr/local/midgard/bin/ mysql --user="root" --password="" --host=localhost midgard < ../../repligard-account.sql patch -p1 -N /usr/local/midgard/etc/repligard.conf ../../repligard.conf.patch repligard -a -i AegirCMS.xml.gz repligard -a -i AegirAddOn_FileSync.xml.gz repligard -a -i AegirAddOn_Gallery.xml.gz repligard -a -i AegirAddOn_Member.xml.gz repligard -a -i AegirAddOn_Schedule.xml.gz repligard -a -i AegirAddOn_Tools.xml.gz repligard -a -i AegirAddOn_Webstats.xml.gz repligard -a -i AegirSampleSite.xml.gz repligard -a -i hklc_search.xml.gz repligard -a -i PHPmoleConnector.xml.gz mysql --user="root" --password="" --host=localhost midgard < ../../reset_admin_account.sql cd .. rm -r Aegir-1.0 rm -r var cd .. patch -p1 -N /etc/profile profile.patch chown -R apache.apache /var/www chown -R apache.apache /var/lib/aegir patch -p1 -N /etc/httpd/conf/httpd.conf http.conf.patch /etc/init.d/httpd start cd /etc/rc.d/rc3.d ln -s ../init.d/httpd S30httpd ln -s ../init.d/mysqld S33mysqld #init 6 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
<<winmail.dat>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
