Taya

next steps installing midgard on freebsd

11/03/05 -- almost done. it

2 march 2005. download latest version of midgard: 1.6.2

  1. midgard - core:
    • ./configure
    • make - failed, and then i used gmake:
    • gmake
    • gmake install
  2. in midgard-apache2
    • ./configure
    • make
    • make install
  3. in php4
    • ./mkall --with-apxs=/usr/local/apache2/bin/apxs
    • add line : extension=midgard.so in php.ini file.
    • stop and start apache
  4. in midgard-data directory:
    • ./configure --with-apxs=/usr/local/apache2/bin/apxs
    • ./make install

7 march 2005

  1. i installed newer vewersion of dialog.
    • dialog_1.0-20050206.orig.tar.gz
  2. but still datagard writes that dialog has version 0.3
  3. in /usr/local/share/midgard/datagard/datagard.conf I changed
  4. now datagard is running, but it stoppes saying that can't ping.
  5. I made symlink from mysqladmin to /usr/local/bin/mysqladmin
  6. I also changed in datagard second line - uncomment.
  7. now datagard is ruunning, but when i choose install database, it stopes without giving any errors.

11 march 2005 so dagarad is runing but when i go to screen where it sais instal new database, or new host etc.. whatever i choose, it stopes. by Piotras advices I did: 1. run make in midgard-data source directory 2. dialog was somewhere gone, so i reinstalled it. 3. now datagard is working!!!!

  1. now other problem, - i reststarted apache, but virtual host is not working.
  2. ok , lets do chmod first chmod 711 /var/local/cache set Apache log level to debug LogLevel debug ( in apache conf file ) restart apache , request a page and let's see at logs I think we have set correct permissions only

  3. change extension path in php.ini to usr/local/lib/php/extensions/no-debug-non-zts-20020429/

  4. restart apache

  5. SO i added (changed * to midgard.convert.ge and restarted apache, and now the domain is working!!

  6. but there is still empty.

  7. in midgard database: update host set name='midgard.convert.ge', port='80';

  8. add in midgard.convert.ge conf file: Allow from all

  9. chown -R www:www /var/local/cache/midgard

  10. chown -R www:www /var/local/lib/midgard

AND it's working!!!!!!

still some components are not working.. 14 switch in httpd.conf loglevel tu warn. 15. change in conf file: midgardblobdir to MidgardBlobDir /var/local/lib/midgard/blobs/midgard/ and restart apache

still some problems, as Piotras thinks, it might be some php problems.

you can check it on: http://midgard.convert.ge