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
crushftp_init.sh 3.9 kB 1 09-Oct-2016 18:14 Ben Spink

This page (revision-24) was last changed on 18-Oct-2017 18:15 by Halmágyi Árpád

This page was created on 09-Oct-2016 18:14 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 1 removed 2 lines
Linux Instructions
At line 7 changed one line
Java
__Java__
At line 9 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 13 changed one line
java -version
{{{java -version}}}
At line 15 changed one line
If it mentions GNU, its not the right one.
If it mentions GNU, it is not the right one.
At line 16 added one line
----
At line 19 changed one line
Starting CrushFTP
__Start / Stop CrushFTP__
At line 21 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.
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 23 changed one line
sudo java -jar CrushFTP.jar -d
{{{./crushftp_init.sh start
./crushftp_init.sh stop}}}
At line 25 changed one line
You may also want to start it so it stays running even when you logout.
__Install / Uninstall CrushFTP__
At line 27 changed one line
sudo nohup java -jar CrushFTP.jar -d&
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 29 changed one line
The "-?" option will list various command line options you can use:
{{{./crushftp_init.sh install
./crushftp_init.sh uninstall}}}
At line 31 removed one line
java -jar CrushFTP.jar -?
At line 33 changed one line
Alternate Method
__Generating an Admin User__
At line 35 changed one line
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". Be sure to get the paths correct when using it.
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 37 changed one line
Generating an Admin User
To make your user for doing this, use a command like this (avoid special characters in the comamnd line password creation):
At line 39 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.
{{{
java -jar CrushFTP.jar -a "crushadmin" "password"
}}}
At line 41 removed one line
To make your user for doing this, use a command like this: java -jar CrushFTP.jar -a "username" "password" This will make a new user, and write it to the default location...users/lookup_21/username/.
At line 43 changed one line
You can then login using this username from a ftp client, or via the remote admin interface of CrushFTP. See my video on setting up a remote admin connection. 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. 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.
This will make a new user, and write it to the default location:
At line 45 changed one line
Stopping CrushFTP
{{''users/MainUsers/crushadmin/''}}
At line 48 added 23 lines
You can now login to the administration console using a web browser. The default ports are:
{{{http://your_ip:8080/
https://your_ip:443/}}}
[Install Video|http://www.crushftp.com/videos/linux_install.mp4] | [Quick Start Video|http://www.crushftp.com/videos/quick_start.mp4]\\
__Alternate Start /Stop CrushFTP Methods__
You may also want to start it so it stays running even when you logout.
{{{
sudo nohup java -jar CrushFTP.jar -d&
}}}
The "-?" option will list various command line options you can use:
{{{
java -jar CrushFTP.jar -?
}}}
At line 49 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 77 added one line
{{{
At line 79 added one line
}}}
At line 83 added one line
{{{
At line 58 changed 3 lines
quote user admin
quote user crushadmin
At line 62 removed one line
At line 64 removed one line
At line 89 added one line
}}}
At line 67 changed one line
Provided a user named "admin" 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 69 changed one line
Generating a Password With CrushFTP from the Command Line
__Generating a Password With CrushFTP from the Command Line__
At line 73 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
24 18-Oct-2017 18:15 3.77 kB Halmágyi Árpád to previous
23 05-May-2017 17:08 3.496 kB Ben Spink to previous | to last
22 09-Oct-2016 18:14 3.431 kB Ben Spink to previous | to last
21 09-Oct-2016 18:14 3.616 kB Ben Spink to previous | to last
« This page (revision-24) was last changed on 18-Oct-2017 18:15 by Halmágyi Árpád
G’day (anonymous guest)

OLD WIKI!!!#

New: CrushFTPv9#

OLD WIKI!!!#


CrushFTP8 | What's New

Referenced by
LeftMenu

JSPWiki