-
Install the jdk.
$ sudo apt update $ sudo apt install default-jdk -
Create a new user.
$ sudo adduser --system --home /home/ghidra --group --disabled-password --disabled-login ghidra -
Create a new directory for repositories
$ sudo mkdir /home/ghidra/repositories $ sudo chown ghidra:ghidra /home/ghidra/repositories -
Unzip
ghidra_version.zipin/home/ghidra.$ cd /home/ghidra $ sudo unzip /path/to/ghidra_version.zip $ chown -R ghidra:ghidra ghidra_version -
Edit
/home/ghidra/ghidra_version/server/server.conf. Set the following values.wrapper.app.account=ghidra wrapper.java.maxmemory=4096 wrapper.logfile.maxfiles=1000 ghidra.repositories.dir=/home/ghidra/repositories -
Install the server.
$ sudo /home/ghidra/ghidra_version/server/svrInstall -
Fix
server/svrAdmin. The penultimate line should read$SUDO -u $OWNER "$0" "$@" -
Add a user.
$ sudo server/svrAdmin -add steve
Python vs JavaScript for Backend Automation in 2026