[opensuse] How to create a live CD/DVD of my installed system
Hello, Well, since the 12.1 is out, I can focus on medical. Until now, openSUSE medical live cd was out with SUSE Studio. There's a medical repository that can be added and also some programs that can be installed. The user must setup mysql and then install the programs correctly. I was told that this can be done by KIWI. I read a lot of documentation. First of all, I didn't understand what <ImageDescriptionPath> means. I got this from the portal: http://en.opensuse.org/SDB:KIWI_Cookbook_Start_Cooking So I read the manual http://git.berlios.de/cgi-bin/gitweb.cgi?p=kiwi;a=blob;f=doc/kiwi.pdf and it says something like config.xml file and the package that I want to be installed, I must add the repository and then the package eg: <repository type="rpm-md"/> <source path="http://download.opensuse.org/repositories/medical/openSUSE_11.4"/> </repository> after that make sure you have added the package in the list <packages type="image"/> <package name="openemr"/> </packages> The same thing I get from LiveSystem here http://en.opensuse.org/SDB:KIWI_Cookbook_LiveSystem So as far as I understand (since my major is medical and not technical), this shows how to install the program but without being setup (with mysql etc). My question is what is the way to do that? What is the way to make a livecd from the already installed system with the software all set to be in use? Thanks Stathis -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 2011-12-14 at 15:58 +0200, Stathis Iosifidis (aka diamond_gr) wrote:
Hello,
Well, since the 12.1 is out, I can focus on medical. Until now, openSUSE medical live cd was out with SUSE Studio. There's a medical repository that can be added and also some programs that can be installed. The user must setup mysql and then install the programs correctly.
I was told that this can be done by KIWI. I read a lot of documentation. First of all, I didn't understand what <ImageDescriptionPath> means. I got this from the portal: http://en.opensuse.org/SDB:KIWI_Cookbook_Start_Cooking
So I read the manual http://git.berlios.de/cgi-bin/gitweb.cgi?p=kiwi;a=blob;f=doc/kiwi.pdf
and it says something like config.xml file and the package that I want to be installed, I must add the repository and then the package eg:
<repository type="rpm-md"/> <source path="http://download.opensuse.org/repositories/medical/openSUSE_11.4"/> </repository>
after that make sure you have added the package in the list
<packages type="image"/> <package name="openemr"/> </packages>
The same thing I get from LiveSystem here http://en.opensuse.org/SDB:KIWI_Cookbook_LiveSystem
So as far as I understand (since my major is medical and not technical), this shows how to install the program but without being setup (with mysql etc).
My question is what is the way to do that? What is the way to make a livecd from the already installed system with the software all set to be in use?
I think KIWI is rather manageable. IIRC, if you have an appliance set up in Suse Studio, you can ask it to export a KIWI description of the appliance. Then, after some fiddling to tell what repositories you need and any other package changes you may wish to do, you can build the image locally with kiwi. An alternative it to start with one of the pre-defined kiwi configurations, and add what you want. It could be as simple as adding, in the config.xml file. the repository and packages you want added. As to MySQL: there are hooks in kiwi that allow you to run scripts/programs. These can be used to set up things specific to your needs. Or, you can build your appliance in two steps: the first makes the released image with programs and all. The second takes that image and packages it for distribution. In between these two steps. you can mount the image and do whatever you feel is needed. Like initializing MySQL.
Thanks Stathis
Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Στις 14/12/2011 04:08 μμ, ο/η Roger Oberholtzer έγραψε:
On Wed, 2011-12-14 at 15:58 +0200, Stathis Iosifidis (aka diamond_gr) wrote:
Hello,
Well, since the 12.1 is out, I can focus on medical. Until now, openSUSE medical live cd was out with SUSE Studio. There's a medical repository that can be added and also some programs that can be installed. The user must setup mysql and then install the programs correctly.
I was told that this can be done by KIWI. I read a lot of documentation. First of all, I didn't understand what<ImageDescriptionPath> means. I got this from the portal: http://en.opensuse.org/SDB:KIWI_Cookbook_Start_Cooking
So I read the manual http://git.berlios.de/cgi-bin/gitweb.cgi?p=kiwi;a=blob;f=doc/kiwi.pdf
and it says something like config.xml file and the package that I want to be installed, I must add the repository and then the package eg:
<repository type="rpm-md"/> <source path="http://download.opensuse.org/repositories/medical/openSUSE_11.4"/> </repository>
after that make sure you have added the package in the list
<packages type="image"/> <package name="openemr"/> </packages>
The same thing I get from LiveSystem here http://en.opensuse.org/SDB:KIWI_Cookbook_LiveSystem
So as far as I understand (since my major is medical and not technical), this shows how to install the program but without being setup (with mysql etc).
My question is what is the way to do that? What is the way to make a livecd from the already installed system with the software all set to be in use?
I think KIWI is rather manageable. IIRC, if you have an appliance set up in Suse Studio, you can ask it to export a KIWI description of the appliance. Then, after some fiddling to tell what repositories you need and any other package changes you may wish to do, you can build the image locally with kiwi.
An alternative it to start with one of the pre-defined kiwi configurations, and add what you want. It could be as simple as adding, in the config.xml file. the repository and packages you want added.
As to MySQL: there are hooks in kiwi that allow you to run scripts/programs. These can be used to set up things specific to your needs. Or, you can build your appliance in two steps: the first makes the released image with programs and all. The second takes that image and packages it for distribution. In between these two steps. you can mount the image and do whatever you feel is needed. Like initializing MySQL.
The medical appliance is already made by SUSE Studio. I surely can take the KIWI file from there. I must setup MySQL (user-pass) and then setup the program (openEMR). Then this can be made a LiveCD. Where can I find information about that? I wonder, why do all this and not get the installed system I have? Thanks, Stathis -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 2011-12-14 at 16:18 +0200, Stathis Iosifidis (aka diamond_gr) wrote:
The medical appliance is already made by SUSE Studio. I surely can take the KIWI file from there.
I would start with that if I were you.
I must setup MySQL (user-pass) and then setup the program (openEMR). Then this can be made a LiveCD. Where can I find information about that?
You mean setting up MySQL and OpenEMR? That is beyond me, I would think that mysql would be some command line control. That could be in a script that kiwi runs each time you make a new LiveCD image.
I wonder, why do all this and not get the installed system I have?
What is your installed system? Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello,
I must setup MySQL (user-pass) and then setup the program (openEMR). Then this can be made a LiveCD. Where can I find information about that? You mean setting up MySQL and OpenEMR? That is beyond me, I would think that mysql would be some command line control. That could be in a script that kiwi runs each time you make a new LiveCD image. This is something beyond me too (I'm a veterinarian). Well I must setup MySQL with user-pass and then when I install openEMR I'll use the user-pass from MySQL.
I'm not sure, but it's something like seting up ERP programs or CMS programs.
I wonder, why do all this and not get the installed system I have? What is your installed system?
I want to try to an XFCE on virtual machine. Well for me a tool like mylivecd of PCLinuxOS is just fine. I mean only one terminal command and it gets everything. Thanks, Stathis -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Roger Oberholtzer
-
Stathis Iosifidis (aka diamond_gr)