At line 2 changed one line |
Here are some instructions on how to setup a virtual server for CrushFTP from [http://www.godaddy.com/]. This was for CentOS, 1GB of RAM, $30 per month. They take about a day to have the server available for use. |
Here are some instructions on how to setup a virtual server for CrushFTP from [https://www.digitalocean.com/pricing]. This was for CentOS, 1GB of RAM, $10 per month. They take about 1 minute to have the server available for use. |
At line 4 changed one line |
''Become root user. Enter your password when prompted.'' |
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. |
At line 6 added 6 lines |
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.'' |
{{{ |
At line 16 added 2 lines |
|
''On some older distro you might still need to install Java, but on a newer distro, download the openjdk 13 for the OS, unpack it, rename it to Java and place the given Java folder in the root CrushFTP10 folder.'' |
At line 11 changed one line |
yum install java |
yum install java-1.8.0-openjdk |
At line 21 added 4 lines |
For some other distros, this may be the proper command: |
{{{ |
apt-get install openjdk-8-jre |
}}} |
At line 28 added 4 lines |
''Get in the folder where we want to download CrushFTP.'' |
{{{ |
cd /var/opt/ |
}}} |
At line 19 changed one line |
wget https://www.crushftp.com/early5/CrushFTP5_PC.zip |
wget https://www.crushftp.com/early10/CrushFTP10.zip |
At line 24 changed one line |
unzip CrushFTP5_PC.zip |
unzip CrushFTP10.zip |
At line 29 changed one line |
rm CrushFTP5_PC.zip |
rm CrushFTP10.zip |
At line 34 changed one line |
''Move the folder to the proper location.'' |
''Now go into the CrushFTP folder.'' |
At line 36 changed one line |
mv CrushFTP5_PC/ /var/opt/CrushFTP5_PC |
cd CrushFTP10 |
At line 39 removed one line |
cd /var/opt/CrushFTP5_PC/ |
At line 47 changed one line |
java -jar CrushFTP.jar -a "remoteadmin" "mypassword" |
java -jar CrushFTP.jar -a "crushadmin" "password" |
At line 50 changed one line |
''Add a sym link for auto startup.'' |
''Install the daemon.''\\ |
At line 52 changed one line |
ln -s crushftp_init.sh /etc/init.d/crushftp |
./crushftp_init.sh install |
At line 55 changed 6 lines |
''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 |
}}} |
If that fails because it says it can't find Java, then you may need to edit the script file and set the java command location. For example, if you used Java 11, you may need to set java to be: /usr/lib/jvm/java-11-openjdk/jre/bin/java\\ |
At line 72 added 2 lines |
---- |
''The lines below only apply to some CentOS systems, not all.'' |
At line 63 changed one line |
''Disable godaddy panels so the ports are free for CrushFTP.'' |
|
''Disable plesk panels so the ports are free for CrushFTP.'' |
At line 65 removed 5 lines |
/sbin/chkconfig tomcat55 off |
/sbin/chkconfig turbopanel off |
/sbin/chkconfig httpd off |
/sbin/service tomcat55 stop |
/sbin/service turbopanel stop |
At line 79 added one line |
/sbin/chkconfig httpd off |
At line 75 changed one line |
CrushFTP is now running as a service on your virtual server hosted by GoDaddy. Use your web browser now and pull up the GUI to register CrushFTP with your license, and start adding users. |
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. |
At line 78 changed one line |
http://your.godaddy.ip.address:8080/ |
http://your.new.servers.ip:8080/ |
At line 82 changed one line |
Login as your "remoteadmin" user from above with your password, then click on the "Admin" button. |
Login as your "crushadmin" user from above with your password, then click on the "Admin" button. |