Collapse

Announcement

Collapse
No announcement yet.

Add java to CageFS

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • santosh
    started a topic Add java to CageFS

    Add java to CageFS

    You will need to follow the below steps on the CloudLinux server to enable java inside CageFS.

    1. Create a file : /etc/cagefs/conf.d/java.cfg

    2. Add below code in this file :

    ```
    [java-custom]
    comment=Java-custom
    paths=/usr/bin/java, /etc/alternatives/java
    ```

    3. Update skeleton and remount all:

    ```
    $ cagefsctl --force-update
    $ cagefsctl --remount-all
    ```

    That's it.

  • Administrator
    replied
    Thank you Santosh

    Leave a comment:

Working...
X