Setup of a Linux server in console mode
From PowerFolder Wiki
Contents |
Preface
This article explains how to run PowerFolder on the Linux console without graphical user interface (GUI). To run PowerFolder with GUI on Linux we recommend to start the Java WebStart version of PowerFolder.
Run PowerFolder in console mode
Make sure you have installed the latest Sun's Java Runtime Java. Check the installed java version with:
java -version
Start/Stop script
Download the start/stop script for PowerFolder under Linux.
Please ensure the POWERFOLDER_INSTALL var in this script points to the home directory where PowerFolder is is installed on your system.
e.g. POWERFOLDER_INSTALL=~/powerfolder
Make the script executable by entering chmod +x PowerFolder.sh
You may now start and stop PowerFolder by typing:
./PowerFolder.sh start
./PowerFolder.sh stop
Start PowerFolder via command line
Required
- --server
Optional
- --help
to get more information about command line options.
- --dns
your host, dns or ip
- --nick
the nickname of your server
- java -Xmx512m -jar PowerFolder.jar -s
- java -Xmx1024m -jar PowerFolder.jar -s
use the this line, if you want to assign more memory to PowerFolder (which is necessary for big systems (400000+files)). Please be aware:1024 is maximum on 32 bit systems
Example
- java -jar PowerFolder.jar --server --dns mypfserver.org --nick myserver

