Javascript library

Discussion in 'Server Operation' started by ikrudolf, Jul 24, 2012.

  1. ikrudolf

    ikrudolf Member

    I installed a javascript library as root. How to make it available for a shell user?
     
  2. Ben

    Ben Active Member Moderator

    As I could not see how this belongs to ispconfig I moved it to a more general area.

    Which library did you "install" and how - do you have a link to the developers page of the lib?

    What do you mean by making it available for shell users? As Javascript is something client based on most commonly used in webpages / web applications I'd assume that you want to make this lib accessible through your webserver?!
     
  3. ikrudolf

    ikrudolf Member

    Ben,
    I installed nodejs as root user.
    Now I logged in as a shell user (created with ispconfig) and tried to use node but it sais:
     
  4. Ben

    Ben Active Member Moderator

    might be that node is not in your path so provide the absolute location or the binary.

    if you don't know where it is located try to search it with locate or find.
     
  5. ikrudolf

    ikrudolf Member

    I installed it here:
    /var/www/clients/client1/web34/web/node

    Where to add this path in ispconfig?
     
  6. ikrudolf

    ikrudolf Member

    Ben,
    Can you help me out, tnx!
     
  7. ikrudolf

    ikrudolf Member

    Can somebody help me out?
     
  8. Poliman

    Poliman Member

    I have this same problem. Can anybody answer?
     
  9. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    You mean jailkit shell users?
    If so, then you need to modify jailkit options to add libraries / executeables to be available for the jailed users.
    Like here.
     

Share This Page