At line 3 changed one line |
wget -O - https://www.crushftp.com/crush9wiki/attach/Linux%20Install/configure.sh | bash |
wget -O - https://www.crushftp.com/crush10wiki/attach/Linux%20Install/configure.sh | bash |
At line 10 changed one line |
First, make sure Java is installed properly. By default most linux distros come with an open source version of Java that may not work with CrushFTP. Make sure its an official OpenJDK java, or other suitable JVM. |
CrushFTP10 requires Java 17 to run. First, check if there is a Java/openJDK 17 runtime available on the host, by default most linux distros come with an open source version of Java that may not work with CrushFTP. If there is none, download the latest openJDK tarball for your OS platform ( AMD64 or ARM) from [https://jdk.java.net/archive/|https://jdk.java.net/archive/], untar it into the CrushFTP10 installation folder then rename the resulting jdk-17 folder to Java |
At line 12 added one line |
|
At line 16 changed 4 lines |
If it mentions GNU, it is not the right one. |
|
To run Java, you may need to specify the full path to the java binary. Something possibly like /usr/java/jre1.8.0_191/bin/java. Its going to depend on where you installed it. |
You can also install open java 11 as that works just fine as well. |
If it is the wrong version\\ |
{{{ |
wget https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz |
tar -xvf openjdk-17.0.2_linux-x64_bin.tar.gz |
/bin/rm openjdk-17.0.2_linux-x64_bin.tar.gz |
mv jdk-17* /var/opt/CrushFTP10/Java |
}}} |
Then check if the init script detected it, run from within the CrushFTP10 installation the |
{{{ |
./crushftp_init.sh info |
}}} |
command.\\ |
At line 57 added 4 lines |
or |
{{{ |
./Java/bin/java -jar CrushFTP.jar -a "crushadmin" "password" |
}}} |
At line 114 changed one line |
su - crushftp -c '/var/opt/CrushFTP7_PC/crushftp_init.sh start' |
su - crushftp -c '/var/opt/CrushFTP10/crushftp_init.sh start' |
At line 165 changed one line |
su crushftp /var/opt/CrushFTP8_PC/crushftp_init.sh start |
su crushftp /var/opt/CrushFTP10/crushftp_init.sh start |
At line 185 changed one line |
Obsolete system V init method |
Obsolete system V init method |
At line 200 added one line |
\\ |
At line 216 changed one line |
runuser crushuser -c "/var/opt/CrushFTP8_PC/crushftp_init.sh $1" |
runuser crushuser -c "/var/opt/CrushFTP10/crushftp_init.sh $1" |