Sentora Support Forums
[Resource] Vagrant Box with Sentora and Ubuntu 14.04x64 - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: General Forums - (Non-Sentora Support) (https://senforums.mach-hosting.com/forumdisplay.php?fid=1)
+--- Forum: Sentora Development (https://senforums.mach-hosting.com/forumdisplay.php?fid=54)
+--- Thread: [Resource] Vagrant Box with Sentora and Ubuntu 14.04x64 (/showthread.php?tid=1476)



[Resource] Vagrant Box with Sentora and Ubuntu 14.04x64 - apinto - 04-17-2015

Hello, I've created a Vagrant Box for local development.
It is usefull for multiple cases:
  • Web Development of Multiple Sites (you do not need to create a 500mb box for each project).
  • Sentora Development and Testing
  • Server Development and Testing
  • Local VPS
You can see this box on the Vagrant Repository - Atlas within Vanguardly Profile:
sentora-trusty64 Vagrant Box Information Page

Please Note: I love to help but I will NOT provide any support for Vagrant, you can read all about this amazing tool on the official Vagrant documentation (very complete!).

How to install?
You can use the default configs of Vagrant if you are experienced (see the links above), if you just want it up and running do the steps below:
  • Save the following text as Vagrantfile (no extension) on your directory
Code:
Vagrant.configure(2) do |config|   config.vm.box = "Vanguardly/sentora-trusty64"   config.vm.network "private_network", ip: "192.168.33.44"   config.vm.hostname = "ctrl"   config.vm.synced_folder ".", "/var/sentora/hostdata", :mount_options => ["dmode=777", "fmode=666"] end
 
  • Run on the Terminal/Command Line
Code:
vagrant up
  • Add the Following Domains to your Hosts File
Code:
192.168.33.44   vagrant.dev 192.168.33.44   ctrl.vagrant.dev
  • You need to add to your hosts every development domain you create.