Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

ezjail

Name: Anonymous 2009-02-07 5:54

Son of a bitch, posted this to /comp/, must need sleep.

I'm starting to play with FBSD jails to see how they compare to Solaris zones. Anyway, after seeing the praise for ezjail on desu~x3.org, giving it a try. Do I really have to download every src package?

cd: can't cd to /usr/src/games/fortune/strfile
*** Error code 2
...
make world failed.


Installed games, now it wants GNU. BSD mixed with GNU, I'd stick with my Mac if I wanted that.

Name: Anonymous 2009-02-07 6:02

Try cabal instead.

Name: Anonymous 2009-02-07 7:15

>>2
Which cabal? Only one I know is Haskell related.


Installed the entire source tree. Damn, make is taking forever... but it's only done once right? First impression goes to Solaris as actually being faster to setup, didn't expect that.

Please tell me that I read correctly, setting up multiple jails is just a matter of copying a few files after the initial build.

Name: Anonymous 2009-02-07 7:50

in the sysinstall of freebsd you can install packages either from a cd or from a server

Name: Anonymous 2009-02-07 8:07

>>4
And your point is...?

I started with the bootonly.iso, grabbing the rest via FTP.

2+ hours into ezjail-admin update and this thing looks like it's compiling everything. It must have downloaded a compiler all on its own; because even as shitty as sysinstall is, I'm sure I never selected that.

Name: Anonymous 2009-02-07 8:15

>>5
wat?
that's how installing software works.
1.you download the source
2.you compile the source
3.you've got a program

Name: Anonymous 2009-02-07 8:22

>>6
Gentoo user detected

Name: Anonymous 2009-02-07 8:25

>>7
Incorrect, sir.
I am a BSD user; please do not try to associate me with those filthy Linux rabble.

Name: Anonymous 2009-02-07 8:25

>>6
I have a fully working binary install, from which I wish to create Virtual Hosts. Shouldn't take more than a few config lines and maybe some file copies for the writable bits. Most of the filesystem should be mounted read-only from the root system, BECAUSE IT'S ALREADY INSTALLED!

Name: Anonymous 2009-02-07 8:41

>>9
sounds like you need to take a nap and look at it with a clear head

Name: Anonymous 2009-02-07 8:49

^C
ez my anus! VMs under Solaris could use some improvement, but it's better than this shit.

Name: Anonymous 2009-02-07 9:18

Maybe you should ask Taro for help, he uses ezjail on his boxen.

Name: Anonymous 2009-02-07 10:49

>>1
Yes, you have to not only download the entire base sources, but you have to compile them all. You have to remember that you're setting up a completely separate environment to effectively run a separate instance of FreeBSD, save the kernel (because that's how ezjail works). It's got to get the userland bits and pieces from somewhere.

You can use jails in a much more lightweight manner (since they're simply an implementation of an isolated process space), but you end up with doing a lot of the same things ezjail does.

The FreeBSD paradigm involves a lot of compilation. Most people update their sources (for both kernel and world) from CVS every so often, and that generally involves rebuilding the kernel and parts of the world (as per /usr/src/UPDATING). As such, it's not typically a big deal for most users (and ezjail can piggyback off it's infrastructure for system installation), but I can see how you'd be frustrated by it. You only have to do it once.

Wait until you have to wait 4 hours for GHC to bootstrap itself :(

It must have downloaded a compiler all on its own; because even as shitty as sysinstall is, I'm sure I never selected that.
BSD /= Linux. The base system is self-hosting and ships with gcc (and everything you'd need to compile the base). This makes building the world even more fun because you have to wait for gcc to bootstrap.

I've personally never used Solaris (much less Zones), but from what I've read they're functionally equivalent to jails (especially now that ZFS is in the tree, which means you can manipulate mountpoints from within a jail on FreeBSD). Zones are probably much less of a pain in the ass to set up though.

Name: Anonymous 2009-02-07 12:11

I didn't really have to make world to get ezjail working, I don't even have anything in my /usr/src. I just did ezjail-admin install, it will just fetch the base distribution from FreeBSD's FTP servers and dump it into /usr/jails/fulljail. It's cheating, but I don't see the point of wasting time making world.

ezjail is pretty awesome when you get the hang of it. I just wish there was an easier way to install ports/packages that get mounted with basejail.

Also, you're an OS X user trying out ezjail because it was hyped by Taro? It's like we're twins!

Name: Anonymous 2009-02-07 14:40

>>14
you speak to root vegetables?

Name: Anonymous 2009-02-07 15:18

>>15
You have beet tolled.

Name: Anonymous 2009-02-07 16:38

>>16
Lick the sperm off my calculator, nerd.

Name: Anonymous 2009-02-07 16:42

>>17
You're the one with the calculator.

Name: Anonymous 2009-02-07 16:45

PROTIP: DON'T HIRE AFRO-AMERICAN PROGRAMMERS WITH BEARDS

Name: Anonymous 2009-02-07 18:25

>>19
I just realised I've never seen a black person with a Unix beard. How odd.

(Not just because black people can't afford computers; Unix beards also exist outside of the computing context.)

Name: Anonymous 2009-02-07 22:00

>>13
I'm just annoyed that it wants to build everything, all I want is a minimal base system to install a database and a couple web swervers.

>>14
I'll have to see if I can make 2 ezjail installs to try that out.

Don't change these.
Name: Email:
Entire Thread Thread List