...
1. Create a linux user dedicated to run OFBiz (should NOT be root, for many good reasons that I will not go into here). This user should have full permissions over OFBiz installation dir and its subdir (for simplicity, in fact you could tune this). Your commands will be SOMETHING LIKE...
Code Block |
---|
useradd -m ofbiz chownofbiz chown -R ofbiz /opt/ofbiz chmodofbiz chmod 700 /opt/ofbiz |
2. Copy the rc.d script to the /etc/init.d directory, with the name ofbiz, so you end up with: /etc/init.d/ofbiz
...