Install
Untar
I appears that Fusion expects you to install in a specific directory structure. When I have time, I'll explore this more to see if my understanding is correct. For now use the structure,
Code Block |
---|
/opt/lucidworks/fusion/3.1.2 |
Untar using your serveradmin account,
Code Block |
---|
|
su - serveradmin
cd ~
mkdir lucidworks
tar -xvpf fusion-3.1.2.tar.gz
mv ./fusion/ ./lucidworks/
exit # exit back to your root enabled staff acount. |
Finally using your root enabled account,
Code Block |
---|
|
sudo mv /home/serveradmin/lucidwork/ /opt/ |
Modify Java_Home injecting in lines after finding the match,
Code Block |
---|
wget ... lucid-set-javahome.txt
sed '/function check_java() {/r lucid-set-javahome.txt' /opt/lucidworks/fusion/3.1.2/bin/common.sh |
...
Code Block |
---|
|
function check_java() {
# Bonsaiframework - Modification Start
# --------------------------------------
JRE_HOME="$FUSION_HOME"/java
JAVA_HOME="$FUSION_HOME"/java
# --------------------------------------
# Bonsaiframework - Modification End
if [ -z "$JAVA_HOME" ]; then |
I appears that Fusion expects you to install in a specific directory structure. When I have time, I'll explore this more to see if my understanding is correct.
Code Block |
---|
/opt/lucidworks/fusion/3.1.2 |
Startup
Your home directory is considered, /opt/lucidworks/3.1.2 and I'm assuming you want to start from this directory to run properly.
...