Datasoft-pts-guide

Datasoft.ws is a common place for renting servers to mine Protoshares, because their prices were (and probably still are) very good for what you can get in col/m. Be warned, however, their tech support is very hard to deal with. Everything that you need them to do for you has to go through a ticket system or emails. Here's one way to set them up after getting them ordered and ready.

Purchase servers
Purchase at least the 12G memory version, unless you want to run half Protoshares and half Primecoin, as you will need around 512 megabytes for each thread and it is 24 thread machine. Tell them you want Centos  64-bit. Everything I have tried Ubuntu/Debian on has performed terribly for Protoshare mining, and I personally prefer Ubuntu for server setups, so please use Centos 64-bit v.6.4 if you want to avoid issues.

Use a 20 dollar machine for 10 dollars

Log in digital ocean V-Server

A: Use one of the following codes to start off with $10 free!

thechangelog10, divein10, holidayssd

B: Enter credit card details or charge the account $10 dollars using PayPal.

C: Fire up a 2 CPU/2GB droplet, choose a location, and pick the latest Ubuntu Linux.

Sir, kindly add workers.
Go to your pts workers page and create workers. I create them with the IP address + "pts" of the machine so I can track if they go down just by watching the workers page. In my case, I have a worker called clintar.224.126.71.32pts (IP changed to protect the innocent server)

Setting up the servers.
These command should get your environment ready to go.

paste these into whatever terminal you use to connect: yum -y install ntpdate ntp screen nano chkconfig ntpdate on /etc/init.d/ntpdate start wget https://www.dropbox.com/sh/jvp4wwek8jpohj7/px6K6tIwAx/jhprotominer-yvg1900-M7h-linux64-corei7sse4.tgz tar zxpvf jhprotominer-yvg1900-M7h-linux64-corei7sse4.tgz\?token_hash\=AAFVCfz8wr9AtIZIJTsX1osU4VofcZYRviSvhigpuoksIw nano -w /etc/rc.local The address for the link may change, so replace with the corei7sse4 version from yvg's dropbox. You can just right-click and select copy link location, and paste it for the wget line. You can also use whatever editor you are familar with instead of nano. The first few lines make sure the service that sets the system time using a timeserver is enabled, and running, and installs some programs we are going to use.

Once in the rc.local file, arrow down to the bottom of the file and paste these two lines, changing the user and the machine's  IP address instead of x.x.x.x (see my worker name example above and match) : /usr/bin/screen -dmS miner1 bash -c 'until /root/jhprotominer-yvg1900-M7h-linux64-corei7sse4/linux64-corei7sse4-512M/jhprotominer -F 0 -o mining.ypool.net -u user.x.x.x.xpts -p x -t 22 && false; do echo "Error, restarting...";done' /usr/bin/screen -dmS miner2 bash -c 'until /root/jhprotominer-yvg1900-M7h-linux64-corei7sse4/linux64-corei7sse4-256M/jhprotominer -F 0 -o mining.ypool.net -u user.x.x.x.xpts -p x -t 1 && false; do echo "Error, restarting...";done' The first line creates a mining process with 22 threads running at 512 megabytes each. second line creates a mining process with 1 thread of 256 megabytes. This is needed because the machine starts swapping if you try to use 512 megabytes for all processes, so I only use 22, and one extra with 256 megabytes to squeeze a little more out of it. The machine should get around 395 col/m between the two. Press F2 and 'y' to save and you can then return to the root.

The above also starts in fine tuning mode. This will slow down performance at the start, however can result in some quite good performance gains once it has finished (an hour or so). When it's finished change the lines in /etc/rc.local from -F 0 to the number that was selected in the fine tuning (it will show as AV=X on the screen). Now that those are in place, you can reboot the machine by issueing the command reboot

Once you reconnect to the machine, you can connect to the mining processes by either running the command

screen -r miner1 or

screen -r miner2 to see the current speeds.

To leave the process running in the background so you can disconnect from the machine and leave it mining, do CTRL-a, then hit the letter d. You can safely disconnect from your shell session this way and leave the miners running. Check your workers page to make sure they are running, and the View connected Miners page. You will see two connections for each of your datasoft servers.

Note: You can read up on linux screen here