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.7 kB 3 11-Mar-2020 09:49 Ben Spink
sh
crushftp_init.sh 3.9 kB 1 25-Oct-2018 04:31 Ben Spink

This page (revision-40) was last changed on 06-May-2021 09:35 by krivacsz

This page was created on 25-Oct-2018 04:31 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 7 changed one line
First, make sure Java is installed properly. By default most linux distros come with a free version of Java that won't work with CrushFTP. Make sure its an official Sun java, or other suitable JVM.
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.
At line 15 changed one line
To run Java, you may need to specify the full path to the java binary. Something possibly like /usr/java/jre1.5.0_11/bin/java. Its going to depend on where you installed it.
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.
At line 17 removed one line
__Starting CrushFTP__
At line 19 changed one line
The key here is making sure you are in the CrushFTP directory (so its the working directory), and using the "-d" option to start in daemon mode. If you are not in the right directory when you start CrushFTP, it will start generating a new prefs.xml file and users folder from the new location where you started it.
Extract CrushFTP folder ideally into /var/opt/ so it's an easier approach if you have issues finding it over time.
At line 21 changed 3 lines
{{{
sudo java -Dcrushftp.version=5 -jar CrushFTP.jar -d
}}}
__Start / Stop CrushFTP__
At line 25 changed one line
You may also want to start it so it stays running even when you logout.
There is a script provided to give you the basics of starting and stopping CrushFTP. It might be overkill for your situation, but you are welcome to use it and modify it for your needs. The script is crushftp_init.sh. Its included with your download of CrushFTP already. You must edit the script the first time you use it to set the correct path in it.
At line 27 changed 3 lines
{{{
sudo nohup java -Dcrushftp.version=5 -jar CrushFTP.jar -d&
}}}
{{{./crushftp_init.sh start
./crushftp_init.sh stop}}}
At line 28 added one line
__Install / Uninstall CrushFTP__
At line 32 changed one line
The "-?" option will list various command line options you can use:
There is a script provided to give you the automated process supported on most Linux distro's of installing and uninstalling CrushFTP. The script is crushftp_init.sh.
At line 34 changed 3 lines
{{{
java -jar CrushFTP.jar -?
}}}
{{{./crushftp_init.sh install
./crushftp_init.sh uninstall}}}
At line 39 removed 4 lines
__Alternate Method__
There is a script provided to give you the basics of starting and stopping CrushFTP. It might be overkill for your situation, but you are welcome to use it and modify it for your needs. The script is "[crushftp_init.sh|crushftp_init.sh]". You must edit the script the first time you use it to set the correct path in it. Additionally, make a copy of the script file as CrushFTP updates will overwrite it.
At line 45 changed one line
While you technically can do everything with CrushFTP from the command line and editing text XML files, its much easier to use a GUI to do this. You can use remote administration with CrushFTP in order to remote control a headless server. This lets you have a full GUI controlling the headless linux installations of CrushFTP.
While you technically can do everything with CrushFTP from the command line and editing text XML files, its much easier to use a web browser to do this. You just need to have an admin user created first.
At line 47 changed one line
To make your user for doing this, use a command like this:
To make your user for doing this, use a command like this (avoid special characters in the comamnd line password creation):
At line 50 changed one line
java -jar CrushFTP.jar -a "remoteadmin" "mypassword"
java -jar CrushFTP.jar -a "crushadmin" "password"
At line 56 changed one line
{{''users/lookup_21/remoteadmin/''}} -- or -- {{''users/MainUsers/remoteadmin/''}}
{{''users/MainUsers/crushadmin/''}}
At line 58 changed one line
Since this is CrushFTP5, you will want to move this user to the proper location if it was generated to the 'lookup_21' folder:
You can now login to the administration console using a web browser. The default ports are:
At line 60 changed one line
{{''users/MainUsers/''}}
{{{http://your_ip:8080/
https://your_ip:443/}}}
At line 62 changed one line
You can then login using this username from a ftp client, or via the remote admin interface of CrushFTP. I recommend using remote admin using HTTP over port 8080. For FTP to work, you may need to adjust the 'passive' IP in the server preferences if CrushFTP has detected the wrong IP on your machine.
[Install Video|http://www.crushftp.com/videos/linux_install.mp4] | [Quick Start Video|http://www.crushftp.com/videos/quick_start.mp4]\\
At line 64 changed one line
[https://www.crushftp.com/Docs/Videos/Running_as_a_Service_and_Remote_Administration.mov]
__Alternate Start /Stop CrushFTP Methods__
At line 66 changed one line
[https://www.crushftp.com/Docs/Videos/Linux_Install.mov]
You may also want to start it so it stays running even when you logout.
At line 68 changed 2 lines
The basics are opening CrushFTP, clicking manage servers button in the upper right. Add a new item, click on it and set the URL to match the credentials of the user you just made. ''http://remoteadmin:mypassword@192.168.x.x:8080/'' Click apply, then click OK to close the manage servers window. Finally, select your server from the drop down and wait as CrushFTP connects to your server and gives you a remote admin interface to the GUI of the headless server.
----
{{{
sudo nohup java -jar CrushFTP.jar -d&
}}}
At line 71 removed one line
__Stopping CrushFTP__
At line 67 added 7 lines
The "-?" option will list various command line options you can use:
{{{
java -jar CrushFTP.jar -?
}}}
At line 75 changed one line
You can also do it from a script. Let me explain. CrushFTP supports the "SITE QUIT" command if it has been enabled in the User Manager under the Admin tab for a user. So you can have a scripted command that simply logs into the server, issues SITE QUIT, then logs out. The server will then gracefully quit saving any unsaved data to disk before exiting.
You can also do it from a script. CrushFTP supports the "SITE QUIT" command if it has been enabled in the User Manager under the Admin tab for a user. So you can have a scripted command that simply logs into the server, issues SITE QUIT, then logs out. The server will then gracefully quit saving any unsaved data to disk before exiting.
At line 87 changed one line
quote user remoteadmin
quote user crushadmin
At line 93 changed one line
Provided a user named "remoteadmin" exist, and they have permission to execute that command, CrushFTP will terminate once the user logs out.
Provided a user named "crushadmin" exist, and they have permission to execute that command, CrushFTP will terminate once the user logs out.
At line 100 changed one line
java -jar CrushFTP.jar -p thePassword DES
java -jar CrushFTP.jar -p DES thePassword
Version Date Modified Size Author Changes ... Change note
40 06-May-2021 09:35 6.85 kB krivacsz to previous
39 24-Jul-2020 12:59 6.85 kB krivacsz to previous | to last
38 24-Jul-2020 12:53 6.85 kB Ada Csaba to previous | to last
37 24-Jul-2020 12:52 6.846 kB Ada Csaba to previous | to last
36 24-Jul-2020 12:51 6.847 kB Ada Csaba to previous | to last
35 24-Jul-2020 12:50 6.829 kB Ada Csaba to previous | to last
34 24-Jul-2020 12:46 5.906 kB Ada Csaba to previous | to last
33 24-Jul-2020 12:45 5.9 kB Ada Csaba to previous | to last
32 24-Jul-2020 12:43 4.872 kB Ada Csaba to previous | to last
31 24-Jul-2020 12:41 4.845 kB Ada Csaba to previous | to last
30 24-Jul-2020 12:41 4.849 kB Ada Csaba to previous | to last
29 24-Jul-2020 12:39 4.83 kB Ada Csaba to previous | to last
28 24-Jul-2020 12:38 4.828 kB Ada Csaba to previous | to last
27 24-Jul-2020 12:37 4.512 kB Ada Csaba to previous | to last
26 11-Mar-2020 09:01 4.163 kB Ben Spink to previous | to last
25 21-Dec-2018 16:31 3.957 kB Halmágyi Árpád to previous | to last
24 25-Oct-2018 04:31 3.77 kB Halmágyi Árpád to previous | to last
23 25-Oct-2018 04:31 3.496 kB Ben Spink to previous | to last
22 25-Oct-2018 04:31 3.431 kB Ben Spink to previous | to last
21 25-Oct-2018 04:31 3.616 kB Ben Spink to previous | to last
« This page (revision-40) was last changed on 06-May-2021 09:35 by krivacsz
G’day (anonymous guest)
CrushFTP9 | What's New

Referenced by
LeftMenu

JSPWiki