Skip to content

Instantly share code, notes, and snippets.

@tbonesteaks
Last active October 20, 2015 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbonesteaks/d70c456fb33da6da7728 to your computer and use it in GitHub Desktop.
Save tbonesteaks/d70c456fb33da6da7728 to your computer and use it in GitHub Desktop.
How to install NSoT on a clean Ubuntu 12 Server, with Python, and dependencies. (Rev. 10.2015)

############# NSoT on Ubuntu Install Instructions #############

This installation guide assumes that you have installed Ubuntu 12.4 on your machine, and are wanting to install NSoT. This guide will help you install NSoT and then run it locally from a browser window.

1. Install Python, Dependencies, PIP, and NSOT ==============

To ensure your Ubuntu installation is up to date, please update it. Open a command prompt and run the following.

$ sudo apt-get --yes update

Once your machine is up to date, we need to install the latest Python libraries to facilitate encryption, security, and development tools.

$ sudo apt-get --yes install build-essential python-dev libffi-dev libssl-dev

The Python Pip installer and the git repository management tools are needed too. We'll go ahead and get those next.

$ sudo apt-get --yes install python-pip git

Next we'll install NSoT and MrProxy. MrProxy is there to handle the proxy connections NSoT will require.

$ sudo pip install nsot mrproxy

Finally we'll download the NSoT repository, via Git, to the /tmp/nsot directory.

$ git clone https://github.com/dropbox/nsot /tmp/nsot

At this point NSoT is installed, the repository should be downloaded, Python and all dependencies are working, and you can go poke around in the /tmp/nsot directory.

2. Start NSoT

To Run NSoT, we start the server at the command line.

$ cd /tmp/nsot/demo

$ ./run_demo.sh

The server should come up, and begin listening for requests from the web browser.

3. Login Via Web Interface

Now you may view NSoT from your local browser of your choice. Open the following URL, which will automatically log you in as the user admin@localhost:

http://192.168.33.11:8991

(Note that you you may need to disable some internal software firewalls to allow a connection to this virtual machine.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment