How to use this box with Vagrant:
Vagrant.configure("2") do |config|
config.vm.box = "digitalgeko/liferay-centos7"
end
vagrant init digitalgeko/liferay-centos7
vagrant up
This version was created almost 9 years ago.
.conf file for nginx (/etc/nginx/conf.d/virtual.conf) must be edited with the VM IP address that was used or provided by DHCP (via ip addr).
It is recommended to use at least 2GB of RAM for Liferay to properly work, use the following code in the Vagrantfile to set it up:
config.vm.provider :virtualbox do |specs|
specs.memory = 2048
specs.cpus = 2
end
This version was created almost 9 years ago.
.conf file for nginx (/etc/nginx/conf.d/virtual.conf) must be edited with the VM IP address that was used or provided by DHCP (via ip addr).
When bringing the VM up, it will ask for the ssh password. It is apparently a bug in the packaging, the following code in the Vagrantfile serves as a workaround:
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
It is recommended to use at least 2GB of RAM for Liferay to properly work, use the following code in the Vagrantfile to set it up:
config.vm.provider :libvirt do |specs|
specs.memory = 2048
end
This version was created almost 9 years ago.
.conf file for nginx (/etc/nginx/conf.d/virtual.conf) must be edited with the VM IP address that was used or provided by DHCP (via ip addr).
When bringing the VM up, it will ask for the ssh password. It is apparently a bug in the packaging, the following code in the Vagrantfile serves as a workaround:
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
It is recommended to use at least 2GB of RAM for Liferay to properly work, use the following code in the Vagrantfile to set it up:
config.vm.provider :libvirt do |specs|
specs.memory = 2048
end