Skip to content

Commit dcc4822

Browse files
author
M5M400
authored
made readme more noob friendly
1 parent f185f14 commit dcc4822

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,20 @@ Based on a clean Ubuntu 16.04 LTS minimal install
99
Deployment via Installer
1010
------------------------
1111

12-
1. Add your user to `/etc/sudoers`, this must be done so the script can sudo up and do it's job. We suggest passwordless sudo. Suggested line: `<USER> ALL=(ALL) NOPASSWD:ALL`. Our sample builds use: `nodeproxy ALL=(ALL) NOPASSWD:ALL`
13-
2. Run the [deploy script](https://raw.githubusercontent.com/Snipa22/xmr-node-proxy/master/install.sh) as a **NON-ROOT USER**. This is very important! This script will install the proxy to whatever user it's running under!
12+
1. Create a user xmrproxy and assign a password (or add an SSH key, if you want that, you should know how to do it)
13+
14+
```bash
15+
useradd -d /home/nodeproxy -m -s /bin/bash nodeproxy
16+
passwd xmrproxy
17+
```
18+
19+
2. Add your user to `/etc/sudoers`, this must be done so the script can sudo up and do it's job. We suggest passwordless sudo. Suggested line: `<USER> ALL=(ALL) NOPASSWD:ALL`. Our sample builds use: `nodeproxy ALL=(ALL) NOPASSWD:ALL`
20+
21+
```bash
22+
echo "nodeproxy ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
23+
```
24+
25+
3. Log in as the **NON-ROOT USER** you just created and run the [deploy script](https://raw.githubusercontent.com/Snipa22/xmr-node-proxy/master/install.sh). This is very important! This script will install the proxy to whatever user it's running under!
1426

1527
```bash
1628
curl -L https://raw.githubusercontent.com/Snipa22/xmr-node-proxy/master/install.sh | bash

0 commit comments

Comments
 (0)