On Wed, Mar 22, 2017 at 7:30 PM, <[email protected]> wrote:
> Hi Nadav, > > Thanks for your effort and such a quick response. Much appreciate it. > > I am more than happy to give that a go but will need a short guide from > you. Basically I have only downloaded your virtual appliance of redis and > it has worked as a charm Great. I'm CC'ing Pekka, maybe he'll want one day to generate new images and put them on the site? :-) > but as you are aware I need to get the latest version. > > YOU have advised to get the latest OSv source code and build a redis image. > > Unfortunately I will need some more info.Please advise: > > Which source code do I need to download? Is it from http://osv.io > website? You'll need to "git clone https://github.com/cloudius-systems/osv.git" To get the latest (up to the minute) version. > Do I need to get a Linux box\vm\server install and compile new image on it? Yes, you'll need Linux to compile it. The source includes a README.md file explaining how to build. It's not as trivial as I would have liked but not too hard either. Two important steps explained there you shouldn't miss is installing the required build tools on the host (there is a script scripts/setup.py to help you do that) and to load additional "submodules" from git, with "git submodule update --init --recursive". Finally, to build everything (the OSv kernel, redis, and finally compose an image with everything), you run: scripts/build image=redis-memonly This creates the image in qcow2 format in build/latest/usr.img. You can convert it to other formats using scripts/convert. You can also run scripts/build-vm-img cloudius/osv-redis-memonly redis-memonly,httpserver,cloud-init "Redis (in-memory only)" To build exactly the same types of images and formats we have on the site. > Some links to downloads and instructions would be much appreciated. > > I have a feeling that I need to get Capstan installed > http://osv.io/run-locally/ > This should work too. The unpatched Capstan will use an antique version of OSv as a base, but this will probably work for redis because I don't think it needs any new OSv features. You'll still need to get https://github.com/cloudius-systems/osv-apps (click on "clone or download") to get the capstanfile for the redis package. > > and then study README about builds: > https://github.com/cloudius-systems/osv/blob/master/README.md > > Any additional info would be great. > > Thanks again, > Lukasz > > -- > You received this message because you are subscribed to the Google Groups > "OSv Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
