LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-24-2004, 03:24 AM   #1
ladyath
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Rep: Reputation: 0
Custom configurable installation interface?


Hi
I would like to create different LFS installations to reflect different functions, eg a SNORT sensor, a firewall, a proxy server, etc. But instead of creating a wallet full of different CDs, I would like to have one CD with all the info on it, using a kind of web-like interface screen.

The idea is that:
1) the CD boots up
2) partitions the drive
3) a screen appears asking what functional role the machine will have
4) untars the appropriate install
5) asks configuration questions like IP, hostname, users, etc
6) updates the relevant config files on the extracted install
7) Reboots

Any ideas or suggestions on how I could approach doing this? Has someone already done something like this? I tried Google and this forum, but it is a little hard when I am not sure what exactly to search for.

Any help would be appreciated.

Merry Christmas!!!!
 
Old 12-24-2004, 09:54 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
So you want to make a fully functionly, self installing self configuing linux install with multiple possibilities for the computers purpose, along with all utilities to partition hard drives and edit config files....

Has it been done?... um...

Its called a linux distro and there's a reason why large companies set dozens of people to work writing instlal programs so things can go smoothly...


If you want to install, setup and verify that you have a distro working exactly for the purpose you want it to be doing, you could try gentoo and then use catalyst to make your own live boot cd's with different set configurations...

Other than that...
Try to think a little smaller... yikes.
 
Old 12-25-2004, 09:33 AM   #3
ladyath
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Original Poster
Rep: Reputation: 0
No, you misunderstand. I want to set up a full image of my desired install, one for each kind of function I want to perform and then tar it.
So on a CD I would for instance have ids.tar. gz, proxy.tar.gz and console.tar.gz.
Each one of those would be a pre-configured install. I add a bootimage to the cd to make it bootable, but from here on is where the challenge lies:

With most live CDs, you can boot up and configure your distro via a simple interface. I'm assuming a combination of html and perl could do this? The problem is just on how I can for instance make sure I add the right values to the right conf file after it has been extracted, eg IP address, user creation, etc.

All I want to know is if someone has done this before so I don't spend a lot of time creating work when it is re-inventing the wheel. Would this even be possible? I tried to look at what happens in an IPCOP install, but the files it uses are all compiled, so no easy way out for me there.
 
Old 12-25-2004, 05:48 PM   #4
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Oh.. that's partly different.

You could download some timy, self booting linux distro, and make a text based script that just says "Press 1 for blah.. 2 for blahblah..." and then the command for it to untar-gzip the appropriate tar...
Or possibly set it as 2 or 3 scripts...
Number 1 picks what you want to install
Number 2 asks you for username, password, and applicable settings and echo >> them into the appropriate files...
Step 3, reboot?
 
Old 12-25-2004, 11:58 PM   #5
ladyath
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Original Poster
Rep: Reputation: 0
heh guess I will have to brush up on my scripting skillz Tnx for the reply
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.1 installation with custom build kernel zWaR Slackware 5 08-09-2005 02:29 AM
custom path installation speel Linux - Newbie 2 06-01-2005 09:17 AM
custom installation bootdisk jack.bauer Fedora 2 09-25-2004 01:38 AM
Custom Installation Disk jplev22 Slackware 4 01-19-2004 12:38 PM
Custom Installation Stephanie General 4 03-21-2003 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration