Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
sh
configure.sh 0.9 kB 10 22-May-2024 06:33 Ben Spink

This page (revision-49) was last changed on 16-Apr-2024 14:42 by Ada Csaba

This page was created on 05-Dec-2023 05:32 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

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/crush11wiki/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.
CrushFTP11 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 CrushFTP11 installation folder then rename the resulting jdk-21 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/jdk21.0.1/415e3f918a1f4062a0074a2794853d0d/12/GPL/openjdk-21.0.1_linux-aarch64_bin.tar.gz
tar -xvf openjdk-21.0.1_linux-aarch64_bin.tar.gz
/bin/rm openjdk-21.0.1_linux-aarch64_bin.tar.gz
mv jdk-21* /var/opt/CrushFTP11/Java
}}}
Then check if the init script detected it, run from within the CrushFTP11 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 111 changed 2 lines
Running crush in user mode as "crushftp" system user, by adding below lines into rc.local (generic method)
\\
\\
Running crush in user mode as "crushftp" system user, by adding below lines into rc.local (generic method)\\
\\
At line 114 changed one line
su - crushftp -c '/var/opt/CrushFTP7_PC/crushftp_init.sh start'
su - crushftp -c '/var/opt/CrushFTP11/crushftp_init.sh start'
At line 126 changed one line
Running in user mode on systemd RHEL 7/8 family Linux
Running in user mode on systemd RHEL 7/8 family Linux\\
At line 165 changed one line
su crushftp /var/opt/CrushFTP8_PC/crushftp_init.sh start
su crushftp /var/opt/CrushFTP11/crushftp_init.sh start
At line 185 removed 49 lines
Obsolete system V init method
\\
create new scriptfile
\\
{{{
touch /etc/init.d/crushftp
}}}
\\
add this script to /etc/init.d/crushftp
\\
{{{
#!/bin/bash
#!/bin/sh
#
# Control script for CrushFTP v1.4 running as crushuser
#
# chkconfig: - 86 14
# description: CrushFTP
#
# BEGIN INIT INFO
# Provides: crushftp
# Required-Start: $local_fs
# Should-Start: $network
# Required-Stop:
# Should-Stop: $network
# Default-Start: 2 3 5
# Default-Stop: 2 5
# Short-Description: CrushFTP Server
# Description: Starts Crush on boot
# END INIT INFO
runuser crushuser -c "/var/opt/CrushFTP8_PC/crushftp_init.sh $1"
################################################################
}}}
\\
make it executable
\\
{{{
chmod 755 /etc/init.d/crushftp
}}}
\\
install service
\\
{{{
chkconfig --add crushftp
chkconfig crushftp on
service crushftp start
}}}
Version Date Modified Size Author Changes ... Change note
49 16-Apr-2024 14:42 6.402 kB Ada Csaba to previous
48 16-Apr-2024 14:41 6.437 kB Ada Csaba to previous | to last
47 16-Apr-2024 14:40 6.425 kB Ada Csaba to previous | to last
46 29-Feb-2024 03:33 7.337 kB Ben Spink to previous | to last
45 29-Feb-2024 03:11 7.295 kB Ben Spink to previous | to last
44 27-Feb-2024 03:14 7.284 kB Ben Spink to previous | to last
43 05-Dec-2023 05:32 7.284 kB Ada Csaba to previous | to last
42 05-Dec-2023 05:32 7.454 kB Ada Csaba to previous | to last
41 05-Dec-2023 05:32 6.845 kB krivacsz to previous | to last
« This page (revision-49) was last changed on 16-Apr-2024 14:42 by Ada Csaba
G’day (anonymous guest)
CrushFTP11 | What's New

Referenced by
LeftMenu

JSPWiki