vagrant provision shell from gist.github

from gist.github #!/usr/bin/sh ordinaryPack=”docker nc tcsh unzip” servPack=”httpd mariadb-server php-mysql php” passwdResetURL=”” yum update -y yum install -y $servPack $ordinaryPack systemctl enable httpd.service systemctl enable mariadb.service curl $passwdResetURL >> /tmp/rootPasswdReset mysqld_safe –user=mysql –init-file=/tmp/rootPasswdReset wget -P /tmp unzip /tmp/ -d /var/www/html mv /var/www/html/DVWA-1.0.8 /var/www/html/dvwa sed -i ‘s/p@ssw0rd/sqlpasswd/g’ /var/www/html/dvwa/config/ sed -i ‘s/^/#/g’ /etc/httpd/conf.d/welcome.conf systemctl start […]

Read more "vagrant provision shell from gist.github"

mount -t vboxsf: No such device

Finally I’ve found the solution with problem described above. As always – firstly better to take a look in github (hello rkn) Here some sort of: If you will for first time, Vagrantfile will mount your ./workdir to /vagrant filesystem on Guest. But each time I yum update (chef/centos-7.0 box) – something goes wrong and […]

Read more "mount -t vboxsf: No such device"

disable repo CentOS 7

First time using rpm-based CentOS 7 revision, some when it should happens. So here I describe some obvious thing, but not so obvious for me, as allways I’ll tell about facing some problems and finding solutions. First it’s a repos: couple days ago I want to watch a movie. But for doing this I should […]

Read more "disable repo CentOS 7"