This file contains 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
== Hardware | |
I will use a dedicated machine, no virtualization or containers, just raw performance. | |
CPU: Intel(R) Core(TM) i7-7700 @ 3.60GHz | |
RAM: 2 x 8192Mb DDR4 @ 2133 MT/s | |
HD: KINGSTON SA400S3 SSD @ 240 Gb | |
== OS Install & configuration | |
Let's start with an "Expert install", following the installation steps: |
This file contains 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
#!/bin/bash | |
# Author: Brahm Lower | |
# Name: phpVirtualBox Debian 8 Install Script | |
# Source: https://gist.github.com/bplower/b7e193fc3861e964c367/ | |
# Prerequisite Packages: | |
# bash, openssl, cat, grep, echo, wget, apt-key, apt-get, useradd, usermod, passwd, mv, cp, sed, systemctl | |
# Installed Packages: | |
# build-essential, dkms, unzip, apache2, php5, php5-mysql, libapache2-mod-php5, php-soap, virtualbox-5.0 | |
# Description: | |
# This is a script to install VirtualBox and php VirtualBox on a headless Debian 8 machine. |
This file contains 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
<?php | |
$ip = '127.0.0.1'; | |
$port = '9051'; | |
$auth = 'PASSWORD'; | |
$command = 'signal NEWNYM'; | |
$fp = fsockopen($ip,$port,$error_number,$err_string,10); | |
if(!$fp) { echo "ERROR: $error_number : $err_string"; | |
return false; |