This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Setup#

Here are some instructions on how to setup a virtual server for CrushFTP from https://www.digitalocean.com/pricing. This was for CentOS 32bit, 1GB of RAM, $10 per month. They take about 1 minute to have the server available for use.

If you use a 64bit VM, you will probably need to configure SWAP for the OS as the 64bit Linux VMs use more memory than 32bit VMs. This is not a CrushFTP related issue. If the memory gets low, the OS starts killing processes using memory (and that is often CrushFTP).#


First, you need to use the OS X Terminal, or a SSH program like Putty on Windows to get connected to the server to set it up.
ssh root@your.new.servers.ip
Enter your password when prompted. Answer 'yes' if asked to accept the SSH key. You are now connected and can do all the below commands.

Become the root user if you aren't already from the initial connection. Enter your password when prompted.

su

Install java.

yum install java-1.8.0-openjdk
For some other distros, this may be the proper command:
apt-get install openjdk-8-jre

Wait for install to progress, answer "y" when prompted.

Get in the folder where we want to download CrushFTP.

cd /var/opt/

Download CrushFTP.

wget https://www.crushftp.com/early8/CrushFTP8_PC.zip

Unzip it.

unzip CrushFTP8_PC.zip

Delete zip file.

rm CrushFTP8_PC.zip

Answer "y" when prompted to delete the zip file.

Now go into the CrushFTP folder.

cd CrushFTP8_PC

Make the CrushFTP script executable.

chmod +x crushftp_init.sh

Generate a remote admin user to access crushftp externally.

java -jar CrushFTP.jar -a "crushadmin" "password"

Install the daemon.

./crushftp_init.sh install

If that fails, you can do it manually:

ln -s /var/opt/CrushFTP8_PC/crushftp_init.sh /etc/init.d/crushftp
/sbin/chkconfig --add crushftp
/sbin/service crushftp start
/sbin/chkconfig crushftp on
# for some distress it may be this command:
# update-rc.d crushftp defaults

The lines below only apply to some CentOS systems, not all.

Disable plesk panels so the ports are free for CrushFTP.

/sbin/service httpd stop
/sbin/chkconfig httpd off

Manage Your Server#

CrushFTP is now running as a service on your virtual server. Use your web browser now and pull up the WebInterface to register CrushFTP with your license, and start adding users.
http://your.new.servers.ip:8080/

Login as your "crushadmin" user from above with your password, then click on the "Admin" button.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 29-Dec-2020 05:25 by Ben Spink.
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
LeftMenu

JSPWiki