App Container
Install
Apps (tools) on HUBzero run inside a Session Container. This is container's filesystem is rooted at /var/lib/vz/template/debian-5.0-amd64-maxwell. To install debian packages into the session container you must use chroot to root your filesystem on the Session Containers. Here we do this and install a number of Session Container related packages.
# chroot /var/lib/vz/template/debian-5.0-amd64-maxwell # apt-get update # apt-get upgrade # apt-get install icewm # apt-get install hubzero-icewm-config # apt-get install hubzero-icewm-themes # apt-get install hubzero-use
We use a modified version of icewm, to confirm you have the correct version got installed:
# dpkg --list | grep icewm ii icewm 1.2.35-1+hubzero1 wonderful Win95-OS/2-Motif-like window manag ii icewm-common 1.2.35-1+hubzero1 wonderful Win95-OS/2-Motif-like window manag
You should see a "+hubzeroXX" suffix on the version, where XX is some number. This version fixes a bug when resizing the display when using vnc4server.
This fix should get applied to the upstream package someday, in which case we will be able to remove this version of the package and use version from the Debian Linux distribution.
Be sure to exit the chroot environment when you are done:
# exit
Configure
Users in the apps group can be granted permission to manage HUBzero Apps by placing them in the 'apps' group. This permission is granted through the sudo, and is configured by adding the following lines to /etc/sudoers:
%apps ALL=NOPASSWD:/bin/su - apps