Change vagrant box for FreeBSD

This commit is contained in:
Frederic Guillot 2015-08-24 21:52:37 -04:00
parent 6f7feb5df2
commit b76bd32e95
3 changed files with 15 additions and 6 deletions

5
Vagrantfile vendored
View File

@ -113,8 +113,9 @@ Vagrant.configure("2") do |config|
end end
config.vm.define "freebsd10" do |m| config.vm.define "freebsd10" do |m|
m.vm.box = "chef/freebsd-10.0" m.vm.box = "freebsd/FreeBSD-10.2-STABLE"
m.vm.synced_folder ".", "/usr/local/www/apache24/data", type: "rsync", owner: "www", group: "www" m.vm.base_mac = "080027D14C66"
m.ssh.shell = "sh"
end end
config.vm.network :forwarded_port, guest: 80, host: 8001 config.vm.network :forwarded_port, guest: 80, host: 8001

View File

@ -7,7 +7,7 @@ Install from packages
```bash ```bash
$ pkg update $ pkg update
$ pkg upgrade $ pkg upgrade
$ pkg install apache24 mod_php5 kanboard $ pkg install apache24 mod_php56 kanboard
``` ```
Enable Apache in your `/etc/rc.conf`: Enable Apache in your `/etc/rc.conf`:
@ -29,11 +29,19 @@ Then start Apache:
$ service apache24 start $ service apache24 start
``` ```
Add symlink to Kanboard folder into your Apache docroot:
```bash
cd /usr/local/www/apache24/data
ln -s /usr/local/www/kanboard
```
Go to http://your.server.domain.tld/kanboard and enjoy! Go to http://your.server.domain.tld/kanboard and enjoy!
*Note*: *Notes*:
If you want to use additional features like LDAP integration etc. - If you want to use additional features like LDAP integration etc.
please install proper PHP module using pkg. please install proper PHP module using pkg.
- You may have to adjust the permissions of the folder data
Installing from ports Installing from ports
--------------------- ---------------------

View File

@ -28,7 +28,7 @@ vagrant box add chef/debian-7.6
vagrant box add chef/debian-6.0.10 vagrant box add chef/debian-6.0.10
vagrant box add chef/centos-7.0 vagrant box add chef/centos-7.0
vagrant box add chef/centos-6.5 vagrant box add chef/centos-6.5
vagrant box add chef/freebsd-10.0 vagrant box add freebsd/FreeBSD-10.2-STABLE
``` ```
### Example with Ubuntu and Sqlite ### Example with Ubuntu and Sqlite