Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If the install script is launched with sudo, it will install it in the root directory #11

Open
Urban-Hacker opened this issue Mar 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Urban-Hacker
Copy link
Owner

Found in #3 This is both a security issue and a problem because the user cannot access the root directory after installation.

We should enforce that it always install in the user directory. The current best way to bypass this is to simply run ./install.sh

@checkuon
Copy link

checkuon commented Mar 30, 2024

Good news, I started from zero and got it working. I have detailed the steps underneath for reference.

One question, can I simply change the address or pool (public-pool.io or ck-pool) by editing:
~/shurikenpi/shurikenpi.io/Worker/worker.sh ?

  1. Flashed Raspberry Pi OS Lite (64-bit) on micro SD card
  2. sudo apt update && sudo apt upgrade
  3. wget https://raw.githubusercontent.com/Urban-Hacker/shurikenpi.io/main/install.sh
  4. chmod +x ./install.sh
  5. ./install.sh

image
image

@Urban-Hacker
Copy link
Owner Author

I’m glad it worked on your side. Yeah you should be able to re-write the worker generated. You can also simply re-run the configuration wizard. I want to give more options in the future, including a webgui so you can monitor your mining operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants