Sentora Support Forums

Full Version: [Resource] Vagrant Box with Sentora and Ubuntu 14.04x64
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.