hello ha aaa @ on
installing software @root to be accessible to hub users
i have submit configured properly. i installed java inside vmware image by logging in as root and issue apt-get java…etc.it gets installed inside /usr/bin. but when i login as a user through web browser and open up the terminal, /usr/bin doesn’t have the same content as the /usr/bin when i login as “root”. i also saw a “.root” directory at the terminal X(like nanohub.org). any clue or tips on how to install applications at the backend to make it available to all users on nanohub.org? Besides,where can i find the .bashrc to add the extra path to new software installed when hub users log in? thanks in advance
1 Like 0 Dislike
Anna Alber @ on
For java installation, try the following:
* chroot /var/lib/vz/template/debian-5.0-amd64-maxwell/ * sudo apt-get install sun-java6-jdk * cd /etc/ld.so.conf.d/ * vi x86_64-linux-gnu.conf * Add the following lines to the end of the file:
/usr/lib/jvm/java-6-sun/jre/lib/amd64/ /usr/lib/jvm/java-6-sun/jre/lib/amd64/jli /usr/lib/jvm/java-6-sun/jre/lib/amd64/motif21 /usr/lib/jvm/java-6-sun/jre/lib/amd64/native_threads /usr/lib/jvm/java-6-sun/jre/lib/amd64/server /usr/lib/jvm/java-6-sun/jre/lib/amd64/xawt
* Re-run ldconfig: ldconfig -v
Reply Report abuse
Please login to answer the question.