Collapse

Announcement

Collapse
No announcement yet.

Add java to CageFS

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

  • 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.

  • #2
    Thank you Santosh

    Comment

    Working...
    X