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.

Do not use a 64bit VM. If you do, you will need to configure SWAP for the OS yourself as the 64VMs run out of memory very quickly for no reason. The 32bit OS works fine, and won't have any memory issues. This is not a CrushFTP related issue.#


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.7.0-openjdk
For some other distros, this may be the proper command:
apt-get install openjdk-7-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/early7/CrushFTP7_PC.zip

Unzip it.

unzip CrushFTP7_PC.zip

Delete zip file.

rm CrushFTP7_PC.zip

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

Now go into the CrushFTP folder.

cd CrushFTP7_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"

Add a sym link for auto startup. This must be the full path to the crushftp_init.sh file.

ln -s /var/opt/CrushFTP7_PC/crushftp_init.sh /etc/init.d/crushftp

Add CrushFTP as a service, start it, and enable it for auto start at bootup.

/sbin/chkconfig --add crushftp
/sbin/service crushftp start
/sbin/chkconfig crushftp on

For some other distros, this may be the proper 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 25-Oct-2018 04:31 by Ben Spink.
G’day (anonymous guest)
CrushFTP9 | What's New

Referenced by
LeftMenu

JSPWiki