Git Product home page Git Product logo

vagrantgazelle's Introduction

Vagrant Gazelle Build

Combined with a vanilla Debian Wheezy box, this Vagrantfile and associated files allows for the creation of a machine running Gazelle without any interaction from the user.

Once set up, the gazelle source files will be present in src/, which is shared to /var/www/ on the machine. A port forward from port 80 on the guest to 8080 on the host will also be established.

PLEASE NOTE: This setup is not suitable for use in production; all boxes created by this set up are identical, and therefore passwords & similar used in Gazelle & MySQL are known to all.

Usage

  1. Install a vagrant box for Debian Wheezy or build your own
  2. Get the source:
        git clone [email protected]:dr4g0nnn/VagrantGazelle.git
    
  3. Boot the box:
        cd VagrantGazelle; vagrant up
    
  4. Wait, while the install script sets everything up.
  5. Log into your newly set up box as usual:
        vagrant ssh
    

Windows specific configuration

On windows it might fail due to no vbox addons being installed with the error

Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o uid=1000,gid=1000 var_www_ /var/www

The error output from the command was:

mount: unknown filesystem type 'vboxsf'

It can be fixed by installing vagrant-vbguest

vagrant plugin install vagrant-vbguest
vagrant destroy && vagrant up

If the above doesn't seem to work for you, You can try editing the config.vm.synced_folder to the following

config.vm.synced_folder "src/", "/var/www/", nfs: true

Building your own Debian Wheezy base box

If you, like me, do not trust random Vagrant boxes found on the internet, you can create your own easily using Veewee.

This method requires Ruby to be installed.

    git clone https://github.com/jedi4ever/veewee.git && cd veewee
    gem install bundler
    bundle install --path=.bundle

    bundle exec veewee vbox define 'debian-wheezy' 'Debian-7.1.0-amd64-netboot'
    bundle exec veewee vbox build 'debian-wheezy'
    bundle exec veewee vbox export 'debian-wheezy'

    vagrant box add 'debian-wheezy' 'debian-wheezy.box'

NOTE: Here Veewee is shown being checked out and used directly rather than installed, this is because at the time of writing the copy of Veewee in the gem repository was not able to be installed.

Contributing

Additions, fixes & improvements to this project are welcome:

  1. Fork this repository
  2. Make your changes
  3. Commit them to your fork
  4. Send me a pull request!

License

These files are available under the terms of the MIT license; see LICENSE or MIT license at opensource.org.

vagrantgazelle's People

Contributors

dr4g0nnn avatar franciscolourenco avatar pareshchouhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vagrantgazelle's Issues

No album cover art shows on local install

Hi,

I installed VagrantGazelle for testing the WhatCD Android app. On my localhost:8080 install I don't get any image art in the "Cover" area of the torrent details page (see pic). I've tried both a URL as well as a local file location c:\ . . . "

***UPDATE: I just tested personal profile avatars and they don't work either. Is there an image handler thing I should change? Sorry, I'm a noob!

Any ideas of how to make this work? Thnx!

justin
gest

mount: unknown filesystem type 'vboxsf' on Windows

On windows it might fail due to no vbox addons being installed with the error

Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o uid=1000,gid=1000 var_www_ /var/www

The error output from the command was:

mount: unknown filesystem type 'vboxsf'

It can be fixed by installing vagrant-vbguest

vagrant plugin install vagrant-vbguest
vagrant destroy && vagrant up

Kindly add it to README.md, or I can do a PR if you want, above commands and this config worked for me.

config.vm.synced_folder "src/", "/var/www/", nfs: true

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.