Bitcoin Forum
March 29, 2024, 12:15:19 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 »  All
  Print  
Author Topic: [GUIDE] Setup your own Ethereum mining pool.  (Read 30132 times)
bapparabi (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000


View Profile
August 21, 2017, 06:35:36 AM
 #41

Code:
Configure nginx to serve API on /api subdirectory. Configure nginx to serve www/dist as static website.

do you know what to do and how to do for this step as not able to do it ..not find any guide on this how to do it

Code:
Serving API using nginx

Create an upstream for API:

How to this can be done and where this code need to be placed ?? do you know can you tell me


You can edit /etc/nginx/conf.d/default.conf
That's the nginx default message when you open http://localhost

Now you want it to do something else like:

upstream api {
   server 127.0.0.1:8080;
   }

   server {
   listen 0.0.0.0:80;
   root /pool-path/www/dist;
   index index.html index.htm;

   server_name localhost;

        location /api {
                proxy_pass http://api;
        }


   location / {
      try_files $uri $uri/ /index.html;
   }

   }

This not correct location or files and config as i can see i try to do it but not working also instead listen 0.0.0.0:80 should i use mt server ip for this with port 80

this what i see http://prntscr.com/gb1xml when tryt o open our mail ip in browser
1711671319
Hero Member
*
Offline Offline

Posts: 1711671319

View Profile Personal Message (Offline)

Ignore
1711671319
Reply with quote  #2

1711671319
Report to moderator
1711671319
Hero Member
*
Offline Offline

Posts: 1711671319

View Profile Personal Message (Offline)

Ignore
1711671319
Reply with quote  #2

1711671319
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711671319
Hero Member
*
Offline Offline

Posts: 1711671319

View Profile Personal Message (Offline)

Ignore
1711671319
Reply with quote  #2

1711671319
Report to moderator
1711671319
Hero Member
*
Offline Offline

Posts: 1711671319

View Profile Personal Message (Offline)

Ignore
1711671319
Reply with quote  #2

1711671319
Report to moderator
sverkere
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
August 21, 2017, 07:32:13 AM
 #42

Make sure you have nginx installed.

After config change kill master process and start:
ps -ef | grep nginx
sudo kill process_id
sudo nginx

1. Keep default /etc/nginx/conf.d/default.conf

2. Save the below text as /etc/nginx/nginx.conf

3. edit your specific path in the line
root /open-ethereum-pool/www/dist;
**********************************************


user www-data;
worker_processes auto;
pid /run/nginx.pid;


events {
        worker_connections 768;
        # multi_accept on;
}



http {

   sendfile on;
   tcp_nopush on;
   tcp_nodelay on;
   keepalive_timeout 65;
   types_hash_max_size 2048;
   # server_tokens off;

   # server_names_hash_bucket_size 64;
   # server_name_in_redirect off;

   include /etc/nginx/mime.types;
   default_type application/octet-stream;

   ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
   #ssl_prefer_server_ciphers on;

   access_log /var/log/nginx/access.log;
   error_log /var/log/nginx/error.log;

   gzip on;
   gzip_disable "msie6";


   upstream api {
   server 127.0.0.1:8080;
   }

   server {
   listen 0.0.0.0:80;
   root /open-ethereum-pool/www/dist;
   index index.html index.htm;

   server_name localhost;

        location /api {
                proxy_pass http://api;
        }


   location / {
      try_files $uri $uri/ /index.html;
   }

   }

}
Ruzanoff
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 21, 2017, 01:38:16 PM
Last edit: August 21, 2017, 02:51:52 PM by Ruzanoff
 #43

Quote
  listen 0.0.0.0:80;
   root /open-ethereum-pool/www/dist;
   index index.html index.htm;

Just realized that ember generates /dist !

And probably need to wait for synchronization of the units or light / fast

I broke everything  Grin
retal
Full Member
***
Offline Offline

Activity: 301
Merit: 106


View Profile
August 21, 2017, 03:35:35 PM
 #44

Guys, how to fix this :?



I cant found in code
bapparabi (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000


View Profile
August 21, 2017, 03:44:19 PM
 #45

Guys, how to fix this :?



I cant found in code

are you able to manage to install it and make it live because i am not able to as it not working ..do you have proper guide on this
retal
Full Member
***
Offline Offline

Activity: 301
Merit: 106


View Profile
August 21, 2017, 05:36:12 PM
 #46

i setup musicoin mining pool: http://unepa.com
its working
I need just change text "Etherium" to "Musicoin"
So i can found in sources exact location


Guys, how to fix this :?



I cant found in code

are you able to manage to install it and make it live because i am not able to as it not working ..do you have proper guide on this
sverkere
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
August 21, 2017, 06:01:46 PM
 #47

i setup musicoin mining pool: http://unepa.com
its working
I need just change text "Etherium" to "Musicoin"
So i can found in sources exact location


Guys, how to fix this :?

https://i.imgur.com/RtgeJqJ.png

I cant found in code

are you able to manage to install it and make it live because i am not able to as it not working ..do you have proper guide on this

Look at

<a class="navbar-brand"><span class="logo-1">Ξthereum</span><span class="logo-2">Pool</span></a>

in

open-ethereum-pool/www/app/templates/application.hbs
retal
Full Member
***
Offline Offline

Activity: 301
Merit: 106


View Profile
August 21, 2017, 06:18:10 PM
 #48

Thank you so much !

i setup musicoin mining pool: http://unepa.com
its working
I need just change text "Etherium" to "Musicoin"
So i can found in sources exact location


Guys, how to fix this :?



I cant found in code

are you able to manage to install it and make it live because i am not able to as it not working ..do you have proper guide on this

Look at

<a class="navbar-brand"><span class="logo-1">Ξthereum</span><span class="logo-2">Pool</span></a>

in

open-ethereum-pool/www/app/templates/application.hbs
sverkere
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
August 21, 2017, 06:26:57 PM
 #49

Thank you so much !

If you find info helpful you thank me by mining to my music address for a while..

ethminer -G -F http://mcpool.servehttp.com:8889/0x5a922a7d16a50a9a1e12b2de49354d764d2107cd/miner1
tomasbond
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
August 21, 2017, 08:09:16 PM
 #50

Thank you so much !

If you find info helpful you thank me by mining to my music address for a while..

ethminer -G -F http://mcpool.servehttp.com:8889/0x5a922a7d16a50a9a1e12b2de49354d764d2107cd/miner1


Hi sverkere!! Im trying to run a pool, but when i try to load the front end i get "Stats API Temporarily Down". I have done all as you have explained.

In enviroment.js i used:
 ApiUrl: '//localhost:8080/'

If you help ill be glad to mine musiccoin for you.
sverkere
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
August 21, 2017, 09:34:23 PM
 #51

I reply in private.
bapparabi (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000


View Profile
August 22, 2017, 01:42:23 AM
 #52

Thank you so much !

If you find info helpful you thank me by mining to my music address for a while..

ethminer -G -F http://mcpool.servehttp.com:8889/0x5a922a7d16a50a9a1e12b2de49354d764d2107cd/miner1


Hi sverkere!! Im trying to run a pool, but when i try to load the front end i get "Stats API Temporarily Down". I have done all as you have explained.

In enviroment.js i used:
 ApiUrl: '//localhost:8080/'

If you help ill be glad to mine musiccoin for you.


i think you need to use server ip or domain instead of localhost there so it will show the website detail in front page
SpinakerMan
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
August 22, 2017, 08:13:43 PM
 #53

Should all of this be done as root user?  Does it matter what folder pool software is installed to? 
SpinakerMan
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
August 22, 2017, 08:25:40 PM
 #54

Hi

I'm trying to set up the open-ethereum-pool. I followed the guide but I always end in the following error up when I try to access the frontend url:

Error:

Stats API Temporarily Down
Usually it's just a temporal issue and mining is not affected.

Can someone help me on this?

Thx for answering

How did you fix this problem?
mnfikri
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
August 24, 2017, 02:00:53 PM
 #55

I need some help , anyone know where is my real problem ?

google and found nothing about epoch @ dag = 0 ..
http://regxm.com/Capture.PNG
bapparabi (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000


View Profile
August 24, 2017, 02:09:16 PM
 #56

what is problem exactly you getting ..can you explain in detail please .so i can see if i can solve it
mnfikri
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
August 24, 2017, 02:18:31 PM
 #57

what is problem exactly you getting ..can you explain in detail please .so i can see if i can solve it
1)
My epoch doesn't come out as expected, it returns 0. While in other pool, it return 139. Is it okay?
GatekeeperZA
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
August 25, 2017, 09:36:09 PM
 #58

Hi all

i fixed the problem the pool is only now

http://thesevendwarfs.org

hope for a lot of miners  Smiley Wink Grin


Hello How did you manage to fix the API issues please post for us to see.

Thank You.
bapparabi (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000


View Profile
August 26, 2017, 03:41:28 AM
 #59

yes if you can put how you mange to fix the issue that will be best for us to solve if any problem happen to us also ..
mnfikri
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
August 26, 2017, 01:03:31 PM
 #60

did i need edit payout at address ? or let it be 0x0

"payouts": {
                "enabled": true,
                "requirePeers": 25,
                "interval": "10m",
                "daemon": "http://127.0.0.1:8588",
                "timeout": "10s",
                "address": "COINBASE",
                "gas": "21000",
                "gasPrice": "50000000000",
                "autoGas": true,
                "threshold": 5000000000,
                "bgsave": false
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!