IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
 View Only
  • 1.  Installation and configuration of Node.js and Nginx on IBMi

    Posted Tue July 04, 2023 06:16 AM

    Hello Team,

    Greetings of the day.

    I am looking for some assistance on how to "install/configure/integrate(not sure what is the exact word to use)".  To be honest I don't know anything about this and I need to start it from the scratch. I have researched on google and I could see that it is asking me to install the Node.Js using the YUM package but I didn't find the yum package to install which will have the Node.js files for the installation. 
    I am posting here to get some documentation or links on how / where to start this. Any comments would be appreciated. Kindly let me know if you need any additional information on this. Thank you all in advance.

    Regards,

    Suresh Gudelli



    ------------------------------
    G Suresh
    ------------------------------


  • 2.  RE: Installation and configuration of Node.js and Nginx on IBMi

    Posted Wed July 05, 2023 02:13 AM

    Dear Gudelli

    >>>>  I didn't find the yum package to install which will have the Node.js files for the installation.  <<<<

    This web page contains a hot link to obtaining YUM :  Installing Node.js for IBM i at https://docs.profoundlogic.com/display/PUI/Installing+Node.js+for+IBM+i   which points here for YUM :  https://bitbucket.org/ibmi/opensource/src/b1cc5212d396815a17badc57e7b7aadc836b4f5f/docs/yum/   



    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------



  • 3.  RE: Installation and configuration of Node.js and Nginx on IBMi

    Posted Wed July 05, 2023 03:31 AM

    Hi.

    The official documentation or YUM and open source packages for IBM i can be found here:

    http://ibm.biz/ibmi-rpms

    Please note that nginx is not as integrated with IBM i as the built-in Apache web server - in case you want the use the integrated security like IBM i user profiles and groups.

    Best regards,

    Christian



    ------------------------------
    Christian Jorgensen
    IT System Administrator
    Network of Music Partners A/S
    ------------------------------



  • 4.  RE: Installation and configuration of Node.js and Nginx on IBMi

    Posted Wed July 05, 2023 10:15 AM

    It's very easy to get yum installed.  From the ACS main window you can select your LPAR and then open the menu option:

    Actions > Management > Open Source Package Management

    When it connects to the LPAR, if yum is not already installed, it will be bootstrapped.



    ------------------------------
    Steven Riedmueller Certified IBM i Admin - Speaker, Mentor, and Advocate
    ------------------------------



  • 5.  RE: Installation and configuration of Node.js and Nginx on IBMi

    Posted Wed July 05, 2023 09:11 PM

    Dear Steven

    I tried what you said and was presented with this Connect to SSH dialog :

    When I clicked OK after supplying the parameters as shown above, it detected a presumably self-sign certificate and asked me if I trusted it and I responded OK and then got this error : 

    My SSH connection appeared to be OK 

    Any idea what I should do to proceed?  I'm at IBM i 7.4 with PTFs of late last year.

    Thanks in advance. 



    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------



  • 6.  RE: Installation and configuration of Node.js and Nginx on IBMi

    Posted Wed July 05, 2023 09:25 PM
    Edited by Satid Singkorapoom Wed July 05, 2023 09:30 PM

    I have found the solution (not to use QSECOFR) from a chain of information starting from Christian's post that leads to this Technote  Getting started with Open Source Package Management in IBM i ACS at https://www.ibm.com/support/pages/getting-started-open-source-package-management-ibm-i-acs    which them leads to this Technote  IBM i ACS Open Source Package Management Auth Fail Error at https://www.ibm.com/support/pages/node/1167988        



    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------