@Rui: Please refer to https://docs.ceph.com/docs/master/install/build-ceph/ I use below command to generate debian package for x86-Ubuntu on x86-arch platform: $ cd ${PATH_TO_Ceph} $ ./install-deps.sh $ ./make-debs.sh The generated packages are under /tmp/release After generating all the packages, you have two methods to solve "package esaily and install on other nodes" First method: 1) Share the packages with other nodes (copy directly or NFS sharing) 2) use "dpkg" tool to install the packages in right sequence Second method: 1) Setup local package repository 2) Configure apt source list to point to the above package repository 3) Use "apt-get install ceph" to install Ceph B.R. Changcheng On 22:09 Fri 11 Oct, Kefu Chai wrote: > + dev@xxxxxxx > > On Fri, Oct 11, 2019 at 5:57 PM Rui Chang (Arm Technology China) > <Rui.Chang@xxxxxxx> wrote: > > > > Hi, Kefu > > > > > > > > I am new to ceph. Currently I changed some code, and take a build. After that I can “make install” the image on my build machine which I make it as one node. > > > > But how can I install both dependent package and my ceph package on other nodes? How could I do a packaging easily and install on other nodes? > > i encourage you to re-read > https://github.com/ceph/ceph/blob/master/README.md . i don't think > this problem is specific to Ceph. what do you do when you want to "do > a packaging easily and install on other nodes" when it comes to other > software? i'd just package it for whatever distro(s) the other nodes > are using. > > > > > Will dpkg-buildpackage build my changes and dependent packages? Or should I use make-debs.sh? > > dpkg-buildpackage builds the tree with debian/ directory. if the tree > contains your change, i think dpkg-buildpackage will build it. but i > don't think dpkg-buildpackage builds the dependent packages. the > package management system is supposed to fulfill the runtime > dependencies. make-debs.sh is a very thin wrapper around > dpkg-buildpackage. > > actually, i'd recommend you read the document and then trial and error > a little bit. all of these are well documented, IMHO. > > > > > I am running on Ubuntu. Thanks a lot in advance. > > > > > > > > Regards, > > > > Rui > > > > > > > > IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. > _______________________________________________ > Dev mailing list -- dev@xxxxxxx > To unsubscribe send an email to dev-leave@xxxxxxx _______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx