Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

InstallingOnUbuntu

Doug Burks edited this page Jul 8, 2016 · 35 revisions

If you want to quickly evaluate Security Onion on your preferred flavor of Ubuntu 14.04 32-bit/64-bit (not using our ISO image), follow these steps:

  1. First, check the Hardware Requirements page.
  2. Download the ISO image for your preferred flavor of Ubuntu 14.04, verify the ISO image, and boot from it.
  3. Follow the prompts in the installer. When prompted to encrypt home folder or encrypt partition option, DO NOT enable this feature. When asked about automatic updates, DO NOT enable automatic updates.
  4. Reboot into your new installation.
  5. Login using the username/password you specified during installation.
  6. Verify that you have Internet connectivity. If necessary, configure your proxy settings.
  7. Log back in (using ssh -X if you’re installing on Ubuntu Server or a headless distro).
  8. Configure MySQL not to prompt for root password:
````

echo "debconf debconf/frontend select noninteractive" | sudo debconf-set-selections ````

  1. Clean apt list repository:
````

sudo rm -rf /var/lib/apt/lists/* sudo apt-get update ````

  1. Add the Security Onion stable repository:
````

sudo apt-get -y install python-software-properties sudo add-apt-repository -y ppa:securityonion/stable sudo apt-get update ````

  1. Install the securityonion-all metapackage:
````

sudo apt-get -y install securityonion-all syslog-ng-core ````

  1. If you installed a fresh copy of Ubuntu, you can most likely skip this step. Otherwise, you may need to add your IP address to the /etc/hosts.allow file and flush iptables (if you don't do this, you may not be able to SSH in):
````

sudo gedit /etc/hosts.allow add line: sshd: xxx.xxx.xxx.xxx/255.255.255.255 Flush IPTables (sosetup will configure properly) iptables -F ````

  1. Run the Setup wizard:
````

sudo sosetup ````

  1. Follow the prompts.
  2. Analyze alerts using the Sguil client, or open a browser to https://localhost where you can access Squert and ELSA.
  3. Follow the upgrade process.

Please review the PostInstallation page.

Clone this wiki locally