Tinyproxy is a light-weight HTTP/HTTPS proxy daemon for POSIX operating systems. Designed from the ground up to be fast and yet small, it is an ideal solution for use cases such as embedded deployments where a full featured HTTP proxy is required, but the system resources for a larger proxy are unavailable.

Tinyproxy is distributed using the GNU GPL license (version 2 or above).


apt-get install tinyproxy -y

yum install tinyproxy -y

or https://tinyproxy.github.io

git clone https://github.com/tinyproxy/tinyproxy.git

tinyproxy(8) reads its configuration file, typically stored in /etc/tinyproxy/tinyproxy.conf (or passed to Tinyproxy with -c on the command line).

default port 8888


Install Windows on any Wholesaleinternet preconfigured server using QEMU-KVM

WSI has Core2Duo box @ $10/month and they don’t provide KVM services for their preconfigured server.


Preconfigured Servers Cannot be Modified: Our preconfigured servers are designed for quick deployment. Preconfigured servers hardware (CPU/RAM/HDD) or bandwidth cannot be added or modified. Operating system options for preconfigured systems are limited to available selections on order form. KVM services are not provided for preconfigured servers.

But WSI provide SystemRescueCD and we can install Windows or any other OS using QEMU but w/o KVM support. The Sysrcd lack of KVM module and it can only install 32 Bit OS (tested on WSI). Such a waste if we snap a preconfigured servers with more than 4GB RAM.


Previously I’ve asked them via their ticket system to add Grml https://grml.org/ (because of KVM module already enabled) and finally now they add it on their reload OS options, nice!


Start the Windows installation on WSI


First reload the OS and choose Grml. Open the SSH console using the password provided.


# CAREFULL Wipe your hard disks. Let say we want to install the Windows in /dev/sda


dd if=/dev/zero of=/dev/sda bs=1M count=1


If you need temporary folder for the ISO. Need big RAM on this case. Depend on the ISO size.


mount -t tmpfs -o size=4000m tmpfs /mnt

Or if we have RAM less than 8GB we just need to creating small partition, put the ISO file there and don’t touch it during Windows installations.


Note: My WSI $10 box have second HDD so just I put my ISO inside it.


Download the ISO to /mnt folder:


wget -P /mnt http://example.com/win8-64.iso

Download and extract the portable qemu-kvm. /tmp folder is enough for this portable qemu-kvm.


wget -qO- /tmp http://notfor.pro/content/files/vkvm.tar.gz | tar xvz -C /tmp

Excute the qemu-kvm:


/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /mnt/win8-64.iso -hda /dev/sda -boot once=d -vnc :1

Open the VNC viewer and visit your IP:1 to starting the installations.


Network and Driver


After finished, enable the RDP and turn-off the firewall temporary. You can add the network driver using:


pnputil.exe -a c\yourdriver.inf

Note: In my case Windows already have the driver but I still add the driver to the DriverStore .


WSI use static IP so we must set the IP provided by WSI manually. Example:


IP: 63.141.x.x

Gateway: 63.141.x.x

Subnet Mask:

And we need to use DNS server provided by WSI also. Pick one below.


# First DNS server


# Second DNS server

This is what the support staff tell me when I can’t connect even I already enable the RDP, install the network driver, and turn-off the firewall temporarily but I am enabling the DHCP.


Those are the DNS we set, once the service is online the client can change them to whatever they wish to use.

Double check everything and reboot your server.




Qemu can boot existing Windows installations so you just need to load the Grml, extract the portable qemu-KVM and reconfigure the Windows again.


/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /mnt/win8-64.iso -hda /dev/sda -boot c -vnc :1

If you can’t connect to RDP you can creating netsh script to set the static IP automatically during startup or logon.


Credit to WSI


WSI staff is very helpful on this process, from debugging, even they are willing to add Grml because of SystemRescueCD limitations.


How about another provider


You can use the same method on any other provider out there as long as they have rescue system. Eg. OVH (SYS, Kimsufi), Hetzner, Leaseweb, etc.


DigitalOcean seems have recovery ISO so perhaps you can install Windows on their VPS lineup. Let me know if you managed to install Windows on DigitalOcean.





wget –no-check-certificate -O shadowsocks-go.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-go.sh
chmod +x shadowsocks-go.sh
./shadowsocks-go.sh 2>&1 | tee shadowsocks-go.log


./shadowsocks-go.sh uninstall


/etc/init.d/shadowsocks status


/etc/init.d/shadowsocks start
/etc/init.d/shadowsocks stop
/etc/init.d/shadowsocks restart
/etc/init.d/shadowsocks status