from gist.github vagrant_dvwa.sh #!/usr/bin/sh ordinaryPack=”docker nc tcsh unzip” servPack=”httpd mariadb-server php-mysql php” passwdResetURL=”https://gist.githubusercontent.com/kaldown/1a0df9af50b6d08ddc32/raw/bfaf3bf4e610649437ae6ee72a1c3e3d9e7d3538/rootPasswdReset” 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 https://github.com/RandomStorm/DVWA/archive/v1.0.8.zip unzip /tmp/v1.0.8.zip -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/config.inc.php sed -i ‘s/^/#/g’ /etc/httpd/conf.d/welcome.conf systemctl start […]Read more "vagrant provision shell from gist.github"
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"
SWEEEEEET Recently found nice thing, look: 1 part: will modify /etc/group by adding $USER in the 2 part: occasionally will ‘refresh’ shell without restarting thanks to Source Actually it’s for linux-based systems, because for *NIX it would be slightly different. a little bit more patience my friend :DRead more "Modify /etc/group without restarting"
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"