Best way to install a preconfigured Server OS repeatedly, Remotely.
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Best way to install a preconfigured Server OS repeatedly, Remotely.
So my manager, always scheming for new ways to make money, has come to me about his latest idea. He wants me to start installing vicidial server software remotely for a fee. For anyone not familiar with vicidial, here are the install instructions... http://wiki.vicidial.org/index.php/VICI:UbuntuInstall
...yeah. So if at all possible, I'd like to be able to simply install a preconfigured Linux OS+vicidial remotely over the internet. I've been investigating iPXE and other options. I need to keep the amount of techincal involvement of the end user to a minimum, since many of our clientele will be in other countries, with poor english and technical comprehension.
So if any of you have any ideas of how I can best go about this, I would deeply appreciate it. I'm just a lowly PC tech, but my boss thinks I'm a pc goddess who can do anything @_@
I would do it this way:
1. Create a default installation, including the server software and anything else that should be in the deployed OS, configured to your needs.
2. Make a tar-ball from that installation, compressed to keep download times as short as possible and put it on a fileserver that is reachable from the Internet.
3. Create a custom minimal Linux system that act as installer for the server system:
-- Configure the client's system: create, format and mount the needed partitions.
-- Configure network access.
-- Download and extract the tar-ball to the system.
-- Chroot into the extracted system for installing a boot loader.
I would use Slitaz for creating the installer system, it is very small and comes with a number of tools for customization, which make that task much easier.
I think I'd use virtual machines. I doubt there is a best way.
Ipxe is pretty neat. I have used it often. See netboot.me for some examples. It would be sort of easy to get a small OS loaded but larger ones on slow connections may be a very time consuming way.
Alright thank you for you're replies! Regarding the centos netinstall, is it possible to make a install.img that already has the vicidial installation done to it? How would I make that image? I am still kind of a noobie to Linux, I've dabbled with it over the years but now I need to take it more seriously for this job.
As for USB sticks, it is a possibility. It would be nice if I could just ghost a drive image onto it, and let them boot off the USB stick directly. I could make a small disk partition and install linux inside it, then ghost the partition to a usb key, right? or am I dreaming?
ghosting is easy !
simply create a dd image of that OS including vicidial server and all you need ,then clone firsts 512 B onto a separate iso file ( that would be the MBR) dd if=/dev/source_drive bs=512 count=1 MBR.iso
Alter a live OS to autostart a script that simply create a new partition equal as image source , dd back that image onto newly created partition ,and dd MBR.iso onto /dev/sdX to prezerve the boot
clone that newly created live OS onto USB drives and spread them out
Main problem would be that dd is cloning ENTIRE partition including free space , which takes time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.