Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: forzendiablo on November 18, 2013, 07:20:47 AM



Title: How to mine on Linux Server with CPU - SCRYPT
Post by: forzendiablo on November 18, 2013, 07:20:47 AM
I have ALOT of servers, i know they wont get supoerb hashrates but id like to mien some SCRYPT.

is there any simple guide to install some miner from root on centos or debian so i can use a bit of my power?

i was trying to find it but couldnt, everything i see is for graphical interfaces.
PS im not linux geek, need step by step guide


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: hhs99 on November 18, 2013, 09:38:33 AM
Your best bet is this software. https://github.com/pooler‎. I use it at home and it is really simple to setup on Ubuntu server. This page will give you the step by step http://forum.feathercoin.com/index.php?topic=321.0‎. If you have issues dont hesitate to PM me.


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: forzendiablo on November 18, 2013, 09:54:21 AM
hey this looks great. the only problem is.. im on centos so those commands wont work!

Linux ************2.6.32-220.el6.i686 #1 SMP Tue Dec 6 16:15:40 GMT 2011 i686 i686 i386 GNU/Linux

any tutoria lfor that?


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: hhs99 on November 18, 2013, 09:55:42 AM
When I get home from work I will make one real fast. You said Debian so I assumed that's what you wanted.


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: johny1976 on November 18, 2013, 10:03:14 AM
I have ALOT of servers, i know they wont get supoerb hashrates but id like to mien some SCRYPT.

is there any simple guide to install some miner from root on centos or debian so i can use a bit of my power?

i was trying to find it but couldnt, everything i see is for graphical interfaces.
PS im not linux geek, need step by step guide

I had the same problem, found really good how-to: https://bitcointalk.org/index.php?topic=62322.0


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: hhs99 on November 18, 2013, 10:31:30 AM
I have ALOT of servers, i know they wont get supoerb hashrates but id like to mien some SCRYPT.

is there any simple guide to install some miner from root on centos or debian so i can use a bit of my power?

i was trying to find it but couldnt, everything i see is for graphical interfaces.
PS im not linux geek, need step by step guide

I had the same problem, found really good how-to: https://bitcointalk.org/index.php?topic=62322.0

Yes that one would work nicely


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: forzendiablo on November 18, 2013, 11:01:30 AM
wow thanx guys.

what about stratum, do after --url i put:
--url stratum+tcp://stratum.coinex.pw:9029   -a  ?

cpuminer on windows has stratum in last version or that wont work?


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: forzendiablo on November 18, 2013, 11:47:14 AM
and l;ast question..
hwo ot actually stop it if i want or change pool etc?


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: ahmed_bodi on November 18, 2013, 02:50:40 PM
u just press ctrl-c or kill cpuminer/minerd and if u wish to mine theres cryptopools.com dgc,tag and arg pool's 0 fee PPS with a block finder bonus, u wont find a better pool for those coins anywhere


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: sheinsha on November 18, 2013, 04:03:23 PM
and l;ast question..
hwo ot actually stop it if i want or change pool etc?

I would recommend using SCREEN so you can close the terminal and resume at any time.
a sample command would be:
Code:
screen -S mining ./minerd --url http://coin.pool.com:1234 --userpass user:password
So once it gets you inside that session, you can press “Ctrl-A” “d” and it will detach you from it.
If you want to access it again:
Code:
screen -x mining

Hope this helps!!


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: forzendiablo on November 18, 2013, 04:10:48 PM
guys thanx for replies! i didnt use screen i was just usisng the command i listed above. it works fine BUT if i close putty - it closes.

screen -r then shows nothing then. obviously i want it to keep working not die when i close putty.

how should i run it so it doesnt die when i close putty?


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: johny1976 on November 18, 2013, 07:16:19 PM
guys thanx for replies! i didnt use screen i was just usisng the command i listed above. it works fine BUT if i close putty - it closes.

screen -r then shows nothing then. obviously i want it to keep working not die when i close putty.

how should i run it so it doesnt die when i close putty?

Just put the command called "nohup" before the "screen", so it will look like this:

nohup screen -S mining ./minerd --url http://coin.pool.com:1234 --userpass user:password

The "nohup" is not actually an command, it is signal which tells the following command not to end when SSH connection exits.


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: forzendiablo on November 18, 2013, 10:52:32 PM
ok so screen without nohup will always be killed when i leave SSH yes?

also if nohup is used and i get back - and leave again - will SSH die or keep running

sorry for noob questions but im really not that good with linux


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: johny1976 on November 19, 2013, 06:57:17 AM
ok so screen without nohup will always be killed when i leave SSH yes?

also if nohup is used and i get back - and leave again - will SSH die or keep running

sorry for noob questions but im really not that good with linux

SSH will die, but the process with nohup signal will be running


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: sheinsha on November 20, 2013, 07:04:06 PM
guys thanx for replies! i didnt use screen i was just usisng the command i listed above. it works fine BUT if i close putty - it closes.

screen -r then shows nothing then. obviously i want it to keep working not die when i close putty.

how should i run it so it doesnt die when i close putty?
did you try
Code:
screen -x mining
as i posted above?

ok so screen without nohup will always be killed when i leave SSH yes?

also if nohup is used and i get back - and leave again - will SSH die or keep running

sorry for noob questions but im really not that good with linux
I use screen all the time without nohup, you just need to detach before pressing CTRL+C if not it would send the CTRL+C to cgminer... closing it and hence closing the screen session.
So, just press CTRL+A then D and it will return to normal ssh, then close your connection as you normally do.
next time you connect just type
Code:
screen -x mining
Let me know if this works for you


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: forzendiablo on November 24, 2013, 01:45:02 AM
thanx guys but i have problem. at 1 of new servers i got i get this error:
nohup: ignoring input and appending output to `nohup.out'

then the minign wont start at all


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: pmconrad on November 24, 2013, 08:53:31 AM
thanx guys but i have problem. at 1 of new servers i got i get this error:
nohup: ignoring input and appending output to `nohup.out'

then the minign wont start at all
That's not an error message. It's just nohup telling you what it does. The miner should be running, and its output is being redirected to the file "nohup.out" in the current directory. That's why you don't see anything happening.


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: forzendiablo on November 26, 2013, 01:58:52 PM
thanx guys but i have problem. at 1 of new servers i got i get this error:
nohup: ignoring input and appending output to `nohup.out'

then the minign wont start at all
That's not an error message. It's just nohup telling you what it does. The miner should be running, and its output is being redirected to the file "nohup.out" in the current directory. That's why you don't see anything happening.
[/quote

it doesnt start running coz whe ni do screen -x mining nothign hsows up.
any way to turn that kessage off?


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: meta.p02 on November 26, 2013, 02:25:43 PM
Try "tail -f nohup.out" to see whether anything is being output.


Title: Re: How to mine on Linux Server with CPU - SCRYPT
Post by: opticalcarrier on November 26, 2013, 02:36:09 PM
nevermind