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 email@example.comEnter 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.
yum install java-1.7.0-openjdkFor 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.
Delete zip file.
Answer "y" when prompted to delete the zip file.
Now go into the CrushFTP folder.
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.
Login as your "crushadmin" user from above with your password, then click on the "Admin" button.