This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Installation script for OpenVAS/Greenbone 20.08 on Ubuntu 20.08 | |
| ## Tested for PatrowlEngines | |
| ## See https://patrowl.io | |
| ## Based on: | |
| # https://kifarunix.com/install-and-setup-gvm-11-on-ubuntu-20-04/#create-gvm-service-unit-file | |
| # https://github.com/yu210148/gvm_install/blob/master/install_gvm.sh | |
| apt-get update && apt-get upgrade | |
| useradd -r -d /opt/gvm -c "GVM User" -s /bin/bash gvm | |
| mkdir /opt/gvm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String.prototype.format = function () { | |
| var a = this, b; | |
| for (b in arguments) { | |
| a = a.replace(/%[a-z]/, arguments[b]); | |
| } | |
| return a; // Make chainable | |
| }; | |
| console.log('Hello %s The magic number is %d.'.format('world!', 12));// Hello World! The magic number is 12. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1 : Shutdown or Quit your XAMPP server from Xampp control panel. | |
| 2 : Download the ZIP version of MariaDB https://downloads.mariadb.org/mariadb/10.2.23/ | |
| 3 : Rename the xampp/mysql folder to mysql_old. | |
| 4 : Unzip or Extract the contents of the MariaDB ZIP file into your XAMPP folder. | |
| 5 : Rename the MariaDB folder, called something like mariadb-5.5.37-win32, to mysql. | |
| 6 : Rename xampp/mysql/data to data_old. | |
| 7 : Copy the xampp/mysql_old/data folder to xampp/mysql/. | |
| 8 : Copy the xampp/mysql_old/backup folder to xampp/mysql/. | |
| 9 : Copy the xampp/mysql_old/scripts folder to xampp/mysql/. |