Skip to content

Commit e6c5422

Browse files
authored
Merge pull request #38 from M5M400/patch-2
readme update
2 parents f185f14 + 4aabb3c commit e6c5422

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 'nodeproxy' and assign a password (or add an SSH key. If you prefer that, you should already know how to do it)
13+
14+
```bash
15+
useradd -d /home/nodeproxy -m -s /bin/bash nodeproxy
16+
passwd nodeproxy
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)