I originally posted this here: /r/DarkBazaar/comments/7e26l2/method_1_whonix_most_secure_method_semiautomated/
So, I am by FAR no master coder. But I really want to see people using OB2 with Whonix, as so far it's the most secure method. I make MOST of this process automated. All you need to do is copy and paste commands.
With this method you will only have 3 steps, they will consist of simply copy and pasting!
This process should now have less steps for users than the method 2 using the tor browser.
I am assuming your using linux/unix. If your using windows, then you should go and download a version of linux now (I suggest ubuntu, linux mint, or arch), and divorce yourself from the mirco$shit spyware.
In linux either 1, open up "terminal" or you can hit Ctrl + Alt + T and it will pop up. Copy and paste the following command to install Virtualbox, download the 2 .ova's that you need and automatically import both of them. Once that is done all you will need to do is open up virtual box and start the 2 new virtual machines.
sudo apt-get install virtualbox -y && cd && cd Downloads/ && wget https://download.whonix.org/linux/13.0.0.1.4/Whonix-Gateway-13.0.0.1.4.ova && wget https://download.whonix.org/linux/13.0.0.1.4/Whonix-Workstation-13.0.0.1.4.ova && sudo vboxmanage import Whonix-Gateway-13.0.0.1.4.ova && sudo vboxmanage import Whonix-Workstation-13.0.0.1.4.ova
Once the gateway has started up, open up terminal and copy and paste the following into terminal and hit enter:
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get autoclean
Now go to the workstation. Open up terminal and paste the following in it and hit enter:
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get autoclean && cd && cd Downloads/ && wget https://github.com/OpenBazaar/openbazaar-desktop/releases/download/v2.0.17/openbazaar2_2.0.17_i386.deb && chmod +x openbazaar2_2.0.17_i386.deb && sudo dpkg --install *.deb && sudo apt-get install -f && sudo dpkg --install *.deb && openbazaar2
Once everything is set OpenBazaar2 will automatically open. Dont click the "use tor" option, as whonix automatically uses tor.
Special thanks to: /u/BigBurlyBear
Who created the original "how-to" that allowed me to make this shorter method.
A few tips for new linux/qubes users. Never copy and paste a random command in your terminal. Always check the wget url and the command itself.
The url looks clean now and the OP seems to be trusted. But if OP decides to edit the opening post in the future and change the command/wget url, always double check it. The wget + execute command is the easiest way to infect a linux distro.