-
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.zip
in/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
Created
May 29, 2019 18:30
-
-
Save stevecheckoway/c5ad318e8c0c1f55a49905a8494bfad8 to your computer and use it in GitHub Desktop.
Installing Ghidra Server on Ubuntu 18.04.2 LTS
You're welcome. I'm glad you found it helpful.
Thanks, useful tutorial to save time!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for sharing this.