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"

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"