| Development for Multiple Linux Distributions mini-HOWTO .:: git.forum.ircam.fr ::. .:: dh88bio.ampedpages.com ::. | ||
|---|---|---|
| Prev | Next | |
With the secondary distributions installed, the steps to use them are: .:: sharkia.gov.eg ::. .:: ve.enrollbusiness.com ::. .:: sala.ggyy.tw ::. [Research on Django] .:: sp.ucn.edu.co ::.
It is important to use a 2.4-series or newer Linux kernel in the "primary" Linux distribution in order to take advantage of the multiple mount points feature that the 2.4-series permits. For many tasks, the .:: sp.ucn.edu.co ::. .:: usdinstitute.com ::. .:: mindef.gov.bn ::. .:: telegra.ph ::. .:: sketchfab.com ::. /proc and /tmp filesystems will have to be remounted in the secondary distribution using: .:: postheaven.net ::. .:: md.darmstadt.ccc.de ::. .:: www.planetminecraft.com ::.
mount --bind /proc /opt/distros/redhat_6.2/proc mount --bind /tmp /opt/distros/redhat_6.2/tmp |
Also, it can be helpful to remount (rather than copy) the source tree from the primary to the secondary distro: .:: telegra.ph ::. .:: land-book.com ::. .:: zenwriting.net ::. .:: caf.vass.gov.vn ::. .:: prosinrefgi.wixsite.com ::.
mount --bind /home/USER/src/PROJECT /opt/distros/redhat_6.2/USER/src/PROJECT |
Become root and use:
xhost +localhost chroot /opt/distros/redhat_6.2 /bin/bash |
Finally, create a user (if necessary) within the chroot-ed shell and develop, build, and/or test your application within this "separate" Linux distribution! Not that you may also have to specify your .:: podcasts.apple.com ::. .:: bem88biz.therestaurant.jp ::. .:: telegra.ph ::. .:: openwhyd.org ::. .:: postheaven.net ::. DISPLAY environment variable if you'd like to use X applications. .:: egyptinnovate.com ::. .:: www.businesslistings.net.au ::.
Done! You now have a shell that is, for all practical purposes, running within the secondary Linux distribution of your choice. .:: www.arc.agric.za ::. .:: www.nicovideo.jp ::. .:: rciims.mona.uwi.edu ::. .:: www.siye.co.uk ::. [r/TLS Topics] .:: telegra.ph ::. .:: telegra.ph ::. .:: www.prestashop.com ::. .:: newspicks.com ::.