Giter Club home page Giter Club logo

install-ns's Introduction

install-ns

Install scripts for NaviServer (source code, releases) and optionally OpenACS.

To see the default settings, use the following command

 sudo bash install-ns.sh

This command returns a listing like e.g., the following:

 SETTINGS   build_dir              (Build directory)                 /usr/local/src
            ns_install_dir         (Installation directory)          /usr/local/ns
            version_ns             (Version of NaviServer)           4.99.24
            git_branch_ns          (Branch for git checkout of ns)   main
            version_modules        (Version of NaviServer Modules)   4.99.24
            version_tcllib         (Version of Tcllib)               1.20
            version_thread         (Version Tcl thread library)
            version_xotcl          (Version of NSF/NX/XOTcl)         2.4.0
            version_tcl            (Version of Tcl)                  8.6.13
            version_tdom           (Version of tDOM)                 0.9.1
            ns_user                (NaviServer user)                 nsadmin
            ns_group               (NaviServer group)                nsadmin
                                   (Make command)                    make
                                   (Type command)                    type -an
            ns_modules             (NaviServer Modules)              nsdbpg
            with_mongo             (Add MongoDB client and server)   0
            with_postgres          (Install PostgreSQL DB server)    1
            with_postgres_driver   (Add PostgreSQL driver support)   1
            with_system_malloc     (Tcl compiled with system malloc) 0
            with_debug_flags       (Tcl and nsd compiled with debug) 0
            with_ns_doc            (NaviServer documentation)        1

            pg_user                (PostgreSQL user)                 postgres
                                   (PostgreSQL include)              /usr/include/postgresql
                                   (PostgreSQL lib)                  /usr/lib
                                   (PostgreSQL Packages)             postgresql libpq-dev

This listing shows in the first column a name that can be used to adapt the defaults to the needs of the current instance. One can edit the script, or provide these variables as shell variables for the script.

For example, one can compile with some site-specific settings

sudo with_debug_flags=1 version_tcl=8.6.10 ns_modules="nsdbpg nssmtpd" bash install-ns.sh

This command will change the default setting by

  • compile with debiggung enabled (compilation flag -g)
  • use a special version of Tcl (here 6.8.10)
  • with some extra NaviServer modules

If you want to reuse an existing PostgresSQL database installation, use e.g.

sudo with_postgres=0 bash install-ns.sh

Finally, to compile and build NaviServer, add the word "build" add the end of the command:

sudo ... bash install-ns.sh build

For details, see: http://openacs.org/xowiki/naviserver-openacs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.