Skip to content

Instantly share code, notes, and snippets.

@asleepysamurai
Created June 1, 2013 15:56
Show Gist options
  • Select an option

  • Save asleepysamurai/5690830 to your computer and use it in GitHub Desktop.

Select an option

Save asleepysamurai/5690830 to your computer and use it in GitHub Desktop.

Revisions

  1. asleepysamurai created this gist Jun 1, 2013.
    10 changes: 10 additions & 0 deletions plv8-install-ubuntu.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    1. Install and configure Postgres [https://library.linode.com/databases/postgresql/ubuntu-12.04-precise-pangolin]
    2. Download latest stable version of plv8 [https://code.google.com/p/plv8js/wiki/PLV8]
    3. Extract plv8.zip and cd into it.
    4. sudo apt-get install subversion
    4. sudo make static
    5. Copy plv8.so to /usr/lib/postgres/9.1/lib
    6. Copy plv8--(version).sql and plv8.control to /usr/share/postgres/9.1/extension
    7. psql -d dbName
    8. CREATE EXTENSION plv8;
    9. Repeat 6-8 for plls (livescript) and plcoffee (coffeescript) if required