Difference between pages "User:DestroyFX" and "Metro Recipes"

(Difference between pages)
m (typos)
 
(How do I build stuff, plus an OpenVZ template?)
 
Line 1: Line 1:
{{User page
+
== How do I build an OpenVZ template? ==
|nickname=DestroyFX
+
 
|realname=Mathieu Bélanger
+
<pre>
|website=http://nxtoo.org/
+
# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 openvz
|biography=E/S error
+
</pre>
|history_linux=Mathieu Bélanger started using Linux with Redhat 4.2 in 1997/1998 after a friend in his 3th secondary class talked about it as a Unix replacement. He made the installation on his only computer, a Ogivar 386/25. After that, he switched a couple of time back to Windows, back to Linux. His second Linux installation was Slackware 3.5, which he found better that the previous Redhat. Following that, he installed Mandrake 6 followed by RedHat 7 (downloaded with his poor 56K Rockwell ISA16 modem). He have also tried Mandrake 7 and 8. Of course, he started to have those RPM with the dependencies problem with them in bonus. So much that he got back to Slackware (7 or 8, don't remember). In 2003, a friend of his told him about Gentoo and he downloaded the 1.3 stage1 and proceeded to the installation on my Athlon XP 1700+. During that time or a bit after, he installed a LFS in his old PIII-500 Thinkpad laptop. Some time after, Mathieu bought an Athlon64 and proceeded a new Gentoo installation, from stage1, of course. He kept his installation for a long time, he switched computers motherboard/CPU each 6 months. His Gentoo installation survived his three Athlon64, his opteron and his Athlon X2. During that time, he also tried some flavor of BSD Like FreeBSD and OpenBSD. Time pass he made some new Gentoo installation on his new hardware. Somewhere in 2009, he got invited by a friend to meet a group called Gentoo-Quebec, who Sylvain Alain is one of the leader. Mathieu made some formation, on more advanced stuff like ACPI and Power management. After about 1 year, the group globally switched to Funtoo after Daniel created it. Since that, Mathieu use Funtoo on his main computer and on his laptop but he added some ebuilds for an updated toolchain. Lately, Mathieu created NXToo, which is a fork of Gentoo and Funtoo, aimed for optimization and disponibility for all x86 architectures. Now, he is part of the experimental team, to improve Gentoo toolchain and optimizations and new softwares.
+
 
|Collaboration on Open Source projects=Mathieu made fix there and there, he was more concentrated about fixig his own Linux thing and experimenting with the don't touch stuff, like git glibc and stuff like that. He used to help port Reiser4 to newers kernel, patch and fix XEN patch and improving ATI Radeon BLOB drivers patch.
+
== How do I build a VServer template? ==
}}
+
 
 +
The latest git version of metro supports vserver natively:
 +
 
 +
<pre>
 +
# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 vserver
 +
</pre>
 +
 
 +
== How do I build an Linux Containers (LXC) template? ==
 +
 
 +
The latest git version of metro supports LXC natively:
 +
 
 +
<pre>
 +
# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 lxc
 +
</pre>
 +
 
 +
== How do I build stuff, plus an OpenVZ template? ==
 +
 
 +
Sometimes it's handy to be able to build a multi-target like "full" (the default stage1/2/3 build) or "freshen" ''plus'' an additional single target such as "openvz", "lxc" or "vserver". The advantage of using this approach is that the second target will only build if the first one completes successfully. Metro now accepts a "+(single-target)" to specify one additional extra target:
 +
 
 +
<pre>
 +
# /root/git/metro/scripts/ezbuild.sh funtoo-current corei7 full+openvz
 +
</pre>
 +
 
 +
This comes in handy for cron jobs.
 +
 
 +
== How do I build more than one stage a day? ==
 +
 
 +
To build more than one stage a day, use the full syntax to <tt>ezbuild.sh</tt> as shown below, and specify the suffix of your preference to the datestamp. From Metro's perspective, the datestamp is just a string so anything will work -- "[today's date]-1", "test", "test-3", etc. will all be accepted by Metro. Metro will record the last stage3 built and use it as a seed stage.
 +
 
 +
<pre>
 +
# /root/git/metro/scripts/ezbuild.sh funtoo-current generic_64 full 20111231-1
 +
</pre>
 +
 
 +
[[Category:Metro]]

Latest revision as of 18:46, January 16, 2012

How do I build an OpenVZ template?

# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 openvz

How do I build a VServer template?

The latest git version of metro supports vserver natively:

# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 vserver

How do I build an Linux Containers (LXC) template?

The latest git version of metro supports LXC natively:

# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 lxc

How do I build stuff, plus an OpenVZ template?

Sometimes it's handy to be able to build a multi-target like "full" (the default stage1/2/3 build) or "freshen" plus an additional single target such as "openvz", "lxc" or "vserver". The advantage of using this approach is that the second target will only build if the first one completes successfully. Metro now accepts a "+(single-target)" to specify one additional extra target:

# /root/git/metro/scripts/ezbuild.sh funtoo-current corei7 full+openvz

This comes in handy for cron jobs.

How do I build more than one stage a day?

To build more than one stage a day, use the full syntax to ezbuild.sh as shown below, and specify the suffix of your preference to the datestamp. From Metro's perspective, the datestamp is just a string so anything will work -- "[today's date]-1", "test", "test-3", etc. will all be accepted by Metro. Metro will record the last stage3 built and use it as a seed stage.

# /root/git/metro/scripts/ezbuild.sh funtoo-current generic_64 full 20111231-1