Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (43 sloc) 2.32 KB
This installation script will perform an automated install of Graylog2 on Ubuntu 12.04/12.10/13.10/14.04 and will be updated as times goes on
contact me on the twitters @mrlesmithjr
visit my website at
Update 02/21/2014 - Graylog2 v0.12.0 no longer maintained - v0.20.x is the going forward version (The script to use now is for version v0.20.x)
Update 04/30/2014 - All older unmaintained v.0.12.0 scripts are in graylog2/Old_Scripts
Installation steps
sudo apt-get -y install git
cd ~
git clone
chmod +x ./graylog2/
To change your ip address of the server you are installing on you will need to edit the script or let the script auto detect your IP for you. The default is auto detect. If you use the default of auto detect skip editing the file and continue on.
Edit the file
nano ./graylog2/
Save the file with ctrl^x.
Now enter the following to start running the script.
cd ~
sudo ./graylog2/
Uninstall steps for Preview/RC/Final v0.20.0 releases
cd ~
mv graylog2 graylog2.old
git clone
chmod +x ./graylog2/Uninstall_Scripts/
sudo ./graylog2/Uninstall_Scripts/
Upgrade steps from Preview/RC to Final v0.20.0 releases (***Use with caution as of now***) **Not for v0.12.0 to v0.20.x versions!!!
cd ~
mv graylog2 graylog2.old
git clone
chmod +x ./graylog2/Upgrade_Scripts/
sudo ./graylog2/Upgrade_Scripts/
Debian 6.0
Within the github repository there is also a script to automate a Debian 6.0 Graylog2 (v0.12.0) installation. If you are installing on Debian 6.0 run the following instead.
chmod +x ./graylog2/Old_Scripts/
cd ~
There is also a CentOS script for installing Graylog2. Thanks to boardstretcher for the help on this.
chmod +x ./graylog2/