cd /news/developer-tools/installing-ghidra-server-on-ubuntu-1… · home topics developer-tools article
[ARTICLE · art-9896] src=gist.github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Installing Ghidra Server on Ubuntu 18.04.2 LTS

This article provides step-by-step instructions for installing a Ghidra server on Ubuntu 18.04.2 LTS. The process involves installing the Java JDK, creating a dedicated system user, and configuring the server software with specific memory and repository settings. Finally, the guide explains how to install the server and add a user account for remote collaboration.

read1 min views21 publishedMay 29, 2019
  1. Install the jdk.

    $ sudo apt update
    $ sudo apt install default-jdk
    
  2. Create a new user.

    $ sudo adduser --system --home /home/ghidra --group --disabled-password --disabled-login ghidra
    
  3. Create a new directory for repositories

    $ sudo mkdir /home/ghidra/repositories
    $ sudo chown ghidra:ghidra /home/ghidra/repositories
    
  4. Unzip ghidra_version.zip in /home/ghidra.

    $ cd /home/ghidra
    $ sudo unzip /path/to/ghidra_version.zip
    $ chown -R ghidra:ghidra ghidra_version
    
  5. 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
    
  6. Install the server.

    $ sudo /home/ghidra/ghidra_version/server/svrInstall
    
  7. Fix server/svrAdmin. The penultimate line should read

    $SUDO -u $OWNER "$0" "$@"
    
  8. Add a user.

    $ sudo server/svrAdmin -add steve
    
── more in #developer-tools 4 stories · sorted by recency
── more on @ghidra 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/installing-ghidra-se…] indexed:0 read:1min 2019-05-29 ·