PDA

Bekijk de volledige versie : Automatic oleg installing script



wpte
21-08-2008, 19:00
I'm creating a massive script with the tutorial from wengi to create an automatic installation of ipkg, the post and pre scripts and maybe the formatting of the hdd...
I'm not sure if somebody likes it, so that is my question:p
are there people who find this script usefull?:D

I tought it might be usefull for trying olegs firmware out without doing a few hours of work before you get out of everything;)


I already tried out the ipkg installation, it takes about half a hour before it's completely installed configured and running (with ipkg I mean all the programs, like torrent, cron and those kinda things.)
pretty nice if you ask me:cool:

darius
21-08-2008, 19:35
Your work is welcome.

What is hot is image with preinstalled packages.
Any script when run can generate errors.
Better results can you achieve with preconfigured images.
One for router and one (backup) for harddisk (pendrive or HD).

The issue is, you still shell script to run configuration for each of 5-10 preinstalled application (nano, mc, vi, http, torrent, webcam, bluetooth, wifi....wirelesstools ....mysql, php, php-mysql, phpadmin, myphpadmin )
Nothing goes easy.
So step by step approach by wengi is the best as of today.

One day I install mysql and it works fine, next day errors,
remove all, install again and works fine.

So Olegs firmware and image for harddisk should work. Unfortunately partitioning is a personal issue.

Darius
http://www.tinyurl.com/dariusjack

wpte
21-08-2008, 20:28
Your work is welcome.

What is hot is image with preinstalled packages.
Any script when run can generate errors.
Better results can you achieve with preconfigured images.
One for router and one (backup) for harddisk (pendrive or HD).

The issue is, you still shell script to run configuration for each of 5-10 preinstalled application (nano, mc, vi, http, torrent, webcam, bluetooth, wifi....wirelesstools ....mysql, php, php-mysql, phpadmin, myphpadmin )
Nothing goes easy.
So step by step approach by wengi is the best as of today.

One day I install mysql and it works fine, next day errors,
remove all, install again and works fine.

So Olegs firmware and image for harddisk should work. Unfortunately partitioning is a personal issue.

Darius
http://www.tinyurl.com/dariusjack

no, it is supposed to be 2 or 3 scripts total
1: create the post and pre scripts in the flash memory
2: partitioning(optional) for easy partitions and formatting
3: install ipkg and all the packages wanted (you can choose while installing)

this way, you can update the post and pre scripts easily when someone makes them better.
and you are sure to have the last version of anything, an image is fun, but you end up with old software:rolleyes:
I always liked wengi's how-to, and you really need to follow it if you are new to oleg or linux, but if you don't really want to know the technical details, and the difficult things (when you are not sure how to do something...), or you just want to have a quick reinstall of everything without going over everything again... I think this script is good for that, instead of using an image.

maybe some more details:
complete install of wengi's how-to
full automatic updates on the software
some other software like lighthttpd, php, mysql
the ability to compile software
everything properly configured without too mutch editing yourself.

I'm creating a website atm for everything I did so far, it's a bit like mascat maybe, but I'm trying to go a bit more experimental, and not all tutorial like:)

engy
21-08-2008, 20:42
We have the script with repartition, format and install ipkg here http://koppel.cz/cdmawifi/postupy/IPKG/ first 1-6 steps. The page is in Czech but it's simple to understand.

wpte
21-08-2008, 20:47
We have the script with repartition, format and install ipkg here http://koppel.cz/cdmawifi/postupy/IPKG/ first 1-6 steps. The page is in Czech but it's simple to understand.

nice, I might use some of that in my script:)

newbiefan
25-08-2008, 22:33
Well, sounds pretty interesting, to have a script for everything!

But - the big question is: what must the user configure manually?
Do you have a complete documentation?
For instance: let us say the script install wizd, are the necessary configs done by the script or is there any information what must be done by hand and what is already done by script? If configuration is completly handled by script: wow, great job, if not - its more as a hard work for a noob.
Think just about the fact, that they do'nt know where files/binaries are stored and where they should search for a howto and/or wiki. Maybe they even do'nt know what the software can do.....

Anyhow, any script is appreciated as exactly such things show a linux-newcomer how a script works. And I'm interested too, due to (maybe) tips&tricks.

Where and when can I get the scripts?
Thanks!

wpte
27-08-2008, 23:23
Well, sounds pretty interesting, to have a script for everything!

But - the big question is: what must the user configure manually?
Do you have a complete documentation?
For instance: let us say the script install wizd, are the necessary configs done by the script or is there any information what must be done by hand and what is already done by script? If configuration is completly handled by script: wow, great job, if not - its more as a hard work for a noob.
Think just about the fact, that they do'nt know where files/binaries are stored and where they should search for a howto and/or wiki. Maybe they even do'nt know what the software can do.....

Anyhow, any script is appreciated as exactly such things show a linux-newcomer how a script works. And I'm interested too, due to (maybe) tips&tricks.

Where and when can I get the scripts?
Thanks!

well, most of the things will be configured automatically
however, I think with xidinet with shares will be hard, I dunno how to do that via a script
so creating shares with samba should be the only thing left to do I guess
also mysql I think, it needs a password, but I might get it filled in by the user during the execute of the script.

I'm still trying to get everything right and let the user choose what he wants, and what should be left out. the main basic stuff will be installed tho.
questions like "do you want a webserver with php and mysql" should be easy enough:D

so, no scripts available yet, as I'm still learning the language a bit, I don't know all the commands yet:p
but it is similair to basic, wich I programmed for years, so no problemo:D

also, I think you question how the "noob" will launch the script?
it's just a matter of wget file and then chmod it, launch it
quite easy I guess;)

msj33
07-09-2008, 15:06
Automatic scripts for installations - YEAH!

That would be AWSOME!.

Will make everything a lot easier for new users and semi-Noob's like myself:)

Hope to see this in the near future.

/Morten

wpte
07-09-2008, 20:59
Automatic scripts for installations - YEAH!

That would be AWSOME!.

Will make everything a lot easier for new users and semi-Noob's like myself:)

Hope to see this in the near future.

/Morten

:) yeh I will make it, but im still pretty mutch designing the setup
I'm just a bit busy atm, but it'll be there:cool:

wpte
15-09-2008, 20:00
I've now written the final last concept
This is the complete story about how I'm planning to do this.
ofcourse any ideas are welcome, and maybe some programming help in the scripts are also verry welcome!

download the concept below in the attached files.

Bohlendach
17-09-2008, 12:56
Sounds really cool. Great project. Looking forward to see et progress. Good luck.