Embed linux, yum upgrade and program in a CD.
Dear all,
I will bore to install Centos, yum upgrade and install my own program every time. Is there anywhere to embed the CentOS, yum upgrade and my own software in a CD so that I don't need to do it over and over again? Thanks and Regards Shi Hao |
you could create a kickstart file and do a kickstart everytime. If you want to have dvd, use mkisofs.
Something like this should work. This is my 4.5 image. Graft whatever else you want in there. Like the 'build' locating i use. Make ISO Image mkisofs -o /somepath/isos/name.iso -b isolinux/isolinux.bin -c isolinux/boot. cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -m TRANS.TBL -graft-points /mnt/disc1 build/=/mnt/build RedHat/RPMS/=/mnt/disc2/RedHat/RPMS RedHat/RPMS/=/mnt/disc3/RedHat/RPMS RedHat/RPMS/=/mnt/disc4/RedHat/RPMS RedHat/RPMS/=/mnt/disc5/RedHat/RPMS Burn iso image to dvd to install on Server growisofs -Z /dev/cdwriter=/somepath/isos/nameof.iso -speed=4 or: cdrecord -scanbus (to find where cd device is) cdrecord -v speed=4 -dao dev=3,0,0 /somepath/isos/nameof.iso |
Dear Wakkado,
Thanks for the reply. I am still wonder which files I should grab from Centos system? What I want is burn the CentOS 5.4 together with the yum upgrade package. Anyone who know please help!!! Appreciated Thanks and regards Shi Hao |
1 Attachment(s)
Look at these diagram, the left hand side is Centos, the right hand side is Trixbox(another iepbx system with asterisk).
I would like to compile my own asterisk configuration and iepbx(php code) into something likes trixbox as well. But I dunno what need to compile, and I also dunno how to compile all the package into rpm package. Anyone who know please help!!! Thanks |
only thing I can think of is trying to create an iso image or using kickstart and automating the yum update into that.
|
Dear wakkadoo,
Can you a bit slow. I am just a beginner and still is a noob. ok, I will be using mkisofs, If I want to burn a direcory into DVD I use: mkisofs -o my.iso /var/www/html/orderform there is a lot of things that I need to put , Can you tell me how to burn 2 directories? And I wonder how to "automating the yum update into that"? Thanks in advance. |
Another question is how to convert the files into rpm??
|
Guys, this is a urgent issues, can anybody direct me a clue? I able to burn any directory into disc, but it is not the point right? Because what I want is the rpm files that allow user install the files on the PC!!
|
Quote:
if you're wanting to setup installs for users, try placing the iso image, even cent0S5 dvd.iso on nfs share. write kickstart script to run yum update after install. call kickstart script during install. Sorry i can't help with building iso once packages are all updated. I'm pretty sure there is a way to mkiso of your whole system though, i'm not sure how to make it install. I think you can build a centos livecd, search the centos forum for building a live cd and i think you'll find your answer. edit: did a quick search and found this: https://projects.centos.org/trac/livecd/ should help you build a live cd which you can install |
All times are GMT -5. The time now is 03:43 AM. |