Cmq ho installato java, estratto CrushFTP10, inserito i comandi seguendo il loro tutorial (che si trova qui: https://www.crushftp.com/download.html):
Codice: Seleziona tutto
root@ernestodtp:~# cd CrushFTP10
root@ernestodtp:~/CrushFTP10# ls
CrushFTP32.exe CrushFTP.jar OSX_scripts
CrushFTP.command install_readme_linux.txt plugins
CrushFTP.exe install_readme_macos.txt users
crushftp_init.sh install_readme_windows.txt WebInterface
root@ernestodtp:~/CrushFTP10# java -jar CrushFTP.jar -a
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:79)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at CrushFTP.main(CrushFTP.java:56)
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at CrushFTPLauncher.<init>(CrushFTPLauncher.java:381)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67)
... 3 more
root@ernestodtp:~/CrushFTP10# java -jar CrushFTP.jar -a crushadmin password
Admin user written to:./users/MainUsers/
Codice: Seleziona tutto
root@ernestodtp:~/CrushFTP10# ./crushftp_init.sh start
CrushFTP is not currently running...
Starting CrushFTP... ./crushftp_init.sh: line 46: cd: /var/opt/CrushFTP10/: No such file or directory
FAIL
could not change to CrushFTP directory
the directory is setup as:
/var/opt/CrushFTP10/
Codice: Seleziona tutto
chmod a+x /var/opt/CrushFTP10_PC/crushftp_init.sh
Qualcuno mi può aiutare? Grazie