- apache / + memory
This commit is contained in:
parent
00b45e672e
commit
b4ffdc2d6a
5
Vagrantfile
vendored
5
Vagrantfile
vendored
@ -21,7 +21,7 @@ Vagrant.configure("2") do |config|
|
||||
vm2.vm.network "private_network", ip: "192.168.56.3"
|
||||
vm2.vm.box = "almalinux/8"
|
||||
vm2.vm.provider "virtualbox" do |vb|
|
||||
vb.memory = "512"
|
||||
vb.memory = "768"
|
||||
vb.cpus = 1
|
||||
end
|
||||
vm2.vm.provision "shell", inline: <<-SHELL
|
||||
@ -76,9 +76,8 @@ Vagrant.configure("2") do |config|
|
||||
vb.cpus = 1
|
||||
end
|
||||
zbxsrv.vm.provision "shell", inline: <<-SHELL
|
||||
yum install mc epel-release httpd net-tools -y
|
||||
yum install mc epel-release net-tools -y
|
||||
yum update -y
|
||||
systemctl enable --now httpd
|
||||
echo "zbxsrv" > /etc/hostname
|
||||
hostname -F /etc/hostname
|
||||
echo "192.168.56.6 zbxsrv" >> /etc/hosts
|
||||
|
Loading…
Reference in New Issue
Block a user