ecrow 3 Posted October 15, 2016 (edited) It's a bit hard to find a category to fit this topic. I've setup a virtual machine for Hercules development for myself last weekend. I have a VDI (VirtualBox Disk Image) with the source, libs, and tools setup on it; tips from this post. It's sometimes helpful to pass around a disk image for new developers. Figure I'd share what I came up with. The Download: herc_ro_dev-ubuntu-vdi.7z (I used MEGA as a site to share this. Maybe you know a better one) Be aware: When you uncompress it, it'll need 12GB of space. If you're on a mac, probably want p7zip to extract. Information on the VM: Operating System ..... Ubuntu 16.0 x64Root Password ........ passwd1User ................. devUser Password ........ passwd1Default Shell ........ zshMySQL Root Password .. passwd1MySQL RO User ........ ragnarokMySQL RO Password .... ragnarokMySQL RO Database .... ragnarok Paths (when you login as dev user): ~/git ........ I cloned the git repositories here. Already have Hercules cloned. Remember to update it. Profiles not configured.~/svn ........ Subversion repositories.~/script .... .zshrc sources a hercules.env in this directory.~/foss ....... Directory with the FOSS packages I downloaded.~/.app ....... Local binaries and development libraries for local dev user. Typically for overriding existing binaries and paths. Installed software: ZSH: Shell is only set for the dev user. VIM: With plugins Vundle, YouCompleteMe, Syntastic, VIM-Commentary, VIM-GitGutter, Unite. Syntasic has been configured with Haru's syntax highlighter for scripting.MySQL: The password and ragnarok user information above. Visual Sudio Code: Already has C/C++ and Git plugins. Useful GUI-based IDE. Useful Aliases (in ~/script/hercules.env): cdr ........ Goes to the root directory of Hercules. (~/git/Hercules)cds ........ Goes to Hercules source directory. (~/git/Hercules/src)cdcommon ... common directory under hercules' source.cdlogin .... login directory under hercules' source.cdchar ..... char directory under hercules' source.cdmap ...... map directory under hercules' source.cdconfig ... config directory under hercules' source.cdplugins .. plugins directory under hercules' source.cdtest ..... test directory under hercules' source.cdtool ..... tool directory under hercules' source. Other: I'd advise, if you decide to reconfigure Hercules, that you remember to set '-g' to the CFLAGS for debug information. Unless you're really good at reading assembly in GDB. Edited October 16, 2016 by ecrow 1 Ridley reacted to this Quote Share this post Link to post Share on other sites
Secrets 2 Posted October 17, 2016 What advantage does this have over the like of Docker or Vagrant? Quote Share this post Link to post Share on other sites
ecrow 3 Posted October 17, 2016 In almost all cases, Docker containers are the way to go. I believe it comes down to providing options. VMs can provide virtualization on a hardware level and provide the entire linux experience. Nice question. Now with Vagrant… I’m not quite sure. I think that’s just a manager for VirtualBox and Docker. Quote Share this post Link to post Share on other sites
Kit Kit 0 Posted November 9, 2016 (edited) stell error Edited November 9, 2016 by • Kate Alfred's™ • Quote Share this post Link to post Share on other sites