Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Clarified some steps of the installation process
Browse files Browse the repository at this point in the history
Fixes bug 1192630

Changed the title of the instruction regarding the user creation, as
users with other names run into bugs.
Changed the bash $ symbol for some commands to # where commands are
ran as a root user
Corrected syntax for NOPASSWD in sudoers
Added ip tables rule to allow guest access to the internet

Change-Id: Iffa402fa2d717b53dab01bbefcc10943d05d6169
  • Loading branch information
Kenneth Wilke committed Jun 20, 2013
1 parent 66f09e1 commit c5710ec
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions README.md
Expand Up @@ -10,31 +10,31 @@ Install a fresh Ubuntu 12.04 (Precise Pangolin) image ( _We suggest to create a

#### Make sure we have git installed:

$ apt-get update
$ apt-get install git-core -y
# apt-get update
# apt-get install git-core -y

#### Add a user that is not root if you do not already have one:
#### Add a user named ubuntu if you do not already have one:

$ adduser ubuntu
$ visudo
# adduser ubuntu
# visudo

add this line to the file below the root user

ubuntu ALL=(ALL:ALL) ALL

**OR use this if you dont want to type your password to sudo a command**

ubuntu ALL=(ALL:NOPASSWD) ALL
ubuntu ALL=(ALL) NOPASSWD: ALL

if /dev/pts/0 does not have read/write for your user

$ chmod 660 /dev/pts/0
# chmod 660 /dev/pts/0

*Note that this number can change and if you can not connect to the screen session then the /dev/pts/# needs modding like above.*

#### Login with ubuntu:

$ su ubuntu
# su ubuntu
$ cd ~

#### Clone this repo:
Expand Down Expand Up @@ -107,6 +107,10 @@ Allows the services to continue running in the background

***

#### You may need to add this iptables rule

$ sudo iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE

#### Running the reddwarf client (It's so easy!)
*This sets of the authorization endpoint and gets a token for you*

Expand Down

0 comments on commit c5710ec

Please sign in to comment.