Koozali.org: home of the SME Server

I need info on Creating Install Script

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
I need info on Creating Install Script
« on: March 05, 2006, 04:09:41 PM »
I would like some basic information or reference material on creating your own install scripts, the current setup procedur is very larg and time consuming.

some useful links of some hints will come in handy

Thanks
.........

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: I need info on Creating Install Script
« Reply #1 on: March 05, 2006, 06:52:18 PM »
Quote from: "fixit"
I would like some basic information or reference material on creating your own install scripts, the current setup procedur is very larg and time consuming.


Which install scripts are you referring to? Which steps from the current "time consuming" setup procedure do you think should be removed?

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
I need info on Creating Install Script
« Reply #2 on: March 06, 2006, 12:41:36 AM »
Hi Charlie

I'm referring to my own, I would like to create my own Install script for Metadot on SME 7, currently the task for installing metadot is time consuming.

I need the script to install perl modules as well create custom-templates, move files and create permissions and create a database entry with user input, they need to insert own passwords.

perl modules need to be installed in a particular order
Install other prms required by metadot, such as mod perl, CGI speed, ImageMagic and so on.

also, is it possible to add entries into the file 50DirectoryIndex to include; index.pl with the script

So far I have got parts of the install script to work, the install order of the perl modules is not working out very well, which is important, because that takes the longest time.

The manual that I have created is about 6 to 7 pages long, it would be ideal to cut that down to 2 pages.

Thankyou, Russell
.........

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
I need info on Creating Install Script
« Reply #3 on: March 06, 2006, 04:46:00 AM »
Quote from: "fixit"

I'm referring to my own, I would like to create my own Install script for Metadot on SME 7, currently the task for installing metadot is time consuming.


Do you expect people to read your mind?

Quote

I need the script to install perl modules ...


I would think you would install perl modules using yum.

Quote

as well create custom-templates, move files and create permissions and create a database entry with user input, they need to insert own passwords.


I don't think you should do that with an install script. That should all be done using an smeserver-metadot RPM. Please read the developer documentation.

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
I need info on Creating Install Script
« Reply #4 on: March 06, 2006, 06:18:50 AM »
Hi Charlie, here is a link to what I am trying to create. I know it needs a lot of work still, but the installation works for me

http://www.fixitcomputers.com.au/howtos/Metadot_Howto.html

I hope this might explain what I'm trying to do

Thanks, Russell

PS. wouldn't it be great if we lived in a world where other people can read our minds, it would save a lot of typing. LOL
.........