-
Notifications
You must be signed in to change notification settings - Fork 17
Home
The vagrant setup installs an entire sw360 server inside one virtual machine. It can be used for different virtual machine environments, currently, there is support for virtualbox and AWS EC2 instances. Basically required:
- Shell environment (bash...) and involved tools, such as wget for downloading software
- Hypervisor, most likely VirtualBox
- Vagrant including plugin vagrant-aws, and if required, proxy
The vagrant project has changed according to the changes on the sw360 - basically, which Liferay server has been used. Please refer to the following overview:
vagrant version | sw360 version | Liferay version | OpenJDK | Linux |
---|---|---|---|---|
early days | 3.3 and 4.0.1 | 6.2 | 8 | Ubuntu 14.04 LTS |
1.0 | 5 onwards | 7.2 | 8 | Ubuntu 16.04 LTS |
2.0 | 11.0 - 12.0 inclding | 7.3 | 11 | Ubuntu 18.04 LTS |
post 2.0 | first commit after 12.0 | 7.3 | 11 | Ubuntu 18.04 LTS |
There is maybe more fine grained information about the actual commit IDs, if you would like to launch earlier versions, you would need to install a particular tag of an earlier version of sw360vagrant. If not, you will checkout the current master.
After the vagrant setup has finished, the Liferay server and the sw360 needs to be setup. depending which version you do use, select one of the following guides:
If you are considering to use the Mac platform, you should really consider installing Homebrew https://brew.sh/. For the further the following packages need to be installed:
brew cask install virtualbox
brew cask install vagrant
This is to run the sw360vagrant
in general. But, for machos there are three issues:
- there is no wget util
- there is only a old version of the bash shell (3.2)
- the linux tool
realpath
isnot available.
Therefore the following tools need to be installed:
brew install wget
brew install bash
brew install coreutils
Then, as with other OSes (such as Ubuntu), you will need:
vagrant plugin install vagrant-aws
vagrant plugin install vagrant-disksize