1
1

- apache / + memory

This commit is contained in:
Márkus Sándor 2023-07-31 19:51:07 +02:00
parent 00b45e672e
commit b4ffdc2d6a

5
Vagrantfile vendored
View File

@ -21,7 +21,7 @@ Vagrant.configure("2") do |config|
vm2.vm.network "private_network", ip: "192.168.56.3" vm2.vm.network "private_network", ip: "192.168.56.3"
vm2.vm.box = "almalinux/8" vm2.vm.box = "almalinux/8"
vm2.vm.provider "virtualbox" do |vb| vm2.vm.provider "virtualbox" do |vb|
vb.memory = "512" vb.memory = "768"
vb.cpus = 1 vb.cpus = 1
end end
vm2.vm.provision "shell", inline: <<-SHELL vm2.vm.provision "shell", inline: <<-SHELL
@ -76,9 +76,8 @@ Vagrant.configure("2") do |config|
vb.cpus = 1 vb.cpus = 1
end end
zbxsrv.vm.provision "shell", inline: <<-SHELL 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 yum update -y
systemctl enable --now httpd
echo "zbxsrv" > /etc/hostname echo "zbxsrv" > /etc/hostname
hostname -F /etc/hostname hostname -F /etc/hostname
echo "192.168.56.6 zbxsrv" >> /etc/hosts echo "192.168.56.6 zbxsrv" >> /etc/hosts