Last active
April 21, 2020 11:00
-
-
Save bcarlin/8fd60dc184f9f5bc210c5e48056ac33d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<authent> | |
<entry> | |
<hostid>client</hostid> | |
<address>127.0.0.1</address> | |
<port>6666</port> | |
<isssl>false</isssl> | |
<key>04ebd92364b5aa60c29f04da512aca4be069dc6c6a842e25</key> | |
</entry> | |
<entry> | |
<hostid>client-ssl</hostid> | |
<address>127.0.0.1</address> | |
<port>6667</port> | |
<isssl>true</isssl> | |
<key>04ebd92364b5aa60c29f04da512aca4be069dc6c6a842e25</key> | |
</entry> | |
<entry> | |
<hostid>server</hostid> | |
<address>127.0.0.1</address> | |
<port>6666</port> | |
<isssl>false</isssl> | |
<key>04ebd92364b5aa60c29f04da512aca4be069dc6c6a842e25</key> | |
</entry> | |
<entry> | |
<hostid>server-ssl</hostid> | |
<address>127.0.0.1</address> | |
<port>6667</port> | |
<isssl>true</isssl> | |
<key>04ebd92364b5aa60c29f04da512aca4be069dc6c6a842e25</key> | |
</entry> | |
</authent> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
set -x | |
wget "https://dl.waarp.org/dist/waarp-r66/3.3.1/waarp-r66-3.3.1-2.linux.tar.gz" | |
tar xf waarp-r66-3.3.1-2.linux.tar.gz | |
cd waarp-r66-3.3.1-2 | |
cp -r share/templates etc/conf.d/client | |
sed -i -e 's:{{app_name}}:client:g' etc/conf.d/client/*.xml | |
./bin/waarp-r66client.sh client initdb | |
./bin/waarp-r66client.sh client loadrule etc/conf.d/client | |
./bin/waarp-r66client.sh client loadauth ../client-authent.xml | |
cp -r share/templates etc/conf.d/server | |
sed -i -e 's:{{app_name}}:server:g' etc/conf.d/server/*.xml | |
./bin/waarp-r66client.sh server initdb | |
./bin/waarp-r66client.sh server loadrule etc/conf.d/server | |
./bin/waarp-r66client.sh server loadauth ../server-authent.xml | |
echo "hello world" > data/client/out/foo.txt | |
WAARP_SERVICE=1 ./bin/waarp-r66server.sh server start | |
java -Xms256m -Xmx512m -cp 'share/lib/WaarpR66-3.3.1.jar:share/lib/*' \ | |
org.waarp.openr66.client.DirectTransfer etc/conf.d/client/client.xml \ | |
-to server -rule default -file foo.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<authent> | |
<entry> | |
<hostid>server</hostid> | |
<address>127.0.0.1</address> | |
<port>6666</port> | |
<isssl>false</isssl> | |
<key>04ebd92364b5aa60c29f04da512aca4be069dc6c6a842e25</key> | |
</entry> | |
<entry> | |
<hostid>server-ssl</hostid> | |
<address>127.0.0.1</address> | |
<port>6667</port> | |
<isssl>true</isssl> | |
<key>04ebd92364b5aa60c29f04da512aca4be069dc6c6a842e25</key> | |
</entry> | |
</authent> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment