-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up Katana
Katana is a Java application, distributed as a fat jar. Grab the latest release here.
You will need
-
Java 11
-
SUDO privileges, if running on *nix.
NOTE: You can use IPTables to redirect all port 80 traffic to an unprivileged port number if you do not wish to run Katana as root.Here's an example which allows you to run Katana on port 8200 but still receive traffic on port 80.
sudo iptables -I INPUT -j ACCEPT sudo iptables -t nat -A PREROUTING -p tcp -m tcp -i en0 --dport 80 -j REDIRECT --to-ports 8200
Make sure to change
en0
to your network adapter device. -
A text editor, Notepad++ and VSCode are good options, but anything which lets you edit
.json
files will do.
Create a file called start.sh
(for *nix) or start.bat
(for Windows) and put java -Xms1M -jar Katana.jar
. Put Katana.jar
in the same folder as the newly created start script. Run the script and voilà, you've successfully run Katana!
NOTE: *nix users will first have to run chmod +x start.sh
on the script to make it double-clickable.
Head to Configuring Katana to get Katana fully setup.