This repository has been archived by the owner on Apr 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 521
MySQLUpdates
doug edited this page Aug 27, 2019
·
6 revisions
Please note! This wiki is no longer maintained. Our documentation has moved to https://securityonion.net/docs/. Please update your bookmarks. You can find the latest version of this page at: https://securityonion.net/docs/MySQLUpdates.
It's no longer necessary to perform the steps listed here as long as you use soup
to perform updates. For more information, please see the Updating page.
Updating the Ubuntu MySQL packages can be problematic due to autossh
port forwarding and a bug in our current version of ELSA. Here's the recommended procedure to ensure a smooth update.
- Stop all relevant services:
sudo service nsm stop
sudo service syslog-ng stop
sudo service apache2 stop
sudo pkill autossh
sudo pkill perl
- Check the process listing and verify all nsm/syslog-ng/apache/autossh/perl processes have stopped:
ps aux
- Install the MySQL updates. Other updates (such as securityonion-snorby) may require MySQL to be running, so only update the MySQL server packages as shown below. If you're prompted concerning locally modified config files, keep your currently-installed version. This is especially important in the case of ELSA log nodes where we've changed the MySQL port from its default of 3306 to 50000.
sudo apt-get update && sudo apt-get install mysql-server mysql-server-core-5.5 mysql-server-5.5
- Reboot:
sudo reboot
- Introduction
- Use Cases
- Hardware Requirements
- Release Notes
- Download/Install
- Booting Issues
- After Installation
- UTC and Time Zones
- Services
- VirtualBox Walkthrough
- VMWare Walkthrough
- Videos
- Architecture
- Cheat Sheet
- Conference
- Elastic Stack
- Elastic Architecture
- Elasticsearch
- Logstash
- Kibana
- ElastAlert
- Curator
- FreqServer
- DomainStats
- Docker
- Redis
- Data Fields
- Beats
- Pre-Releases
- ELSA to Elastic
- Network Configuration
- Proxy Configuration
- Firewall/Hardening
- Email Configuration
- Integrating with other systems
- Changing IP Addresses
- NTP
- Managing Alerts
- Managing Rules
- Adding Local Rules
- Disabling Processes
- Filtering with BPF
- Adjusting PF_RING for traffic
- MySQL Tuning
- Adding a new disk
- High Performance Tuning
- Trimming PCAPs