首页 » Linux » Configure » open-falcon升级版Nightingale(夜莺)安装部署方法

open-falcon升级版Nightingale(夜莺)安装部署方法

 
配置nightingale

centos7.6


0,基础包
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker -y


1,golang环境
wget https://studygolang.com/dl/golang/go1.14.1.linux-amd64.tar.gz
mkdir /home/soft
解压至/home/soft
tar -zxvf go1.14.1.linux-amd64.tar.gz
/root/.bash_profile
追加
export GOROOT=/home/soft/go
export PATH=$PATH:/home/soft/go/bin
执行
source .bash_profile

2,mysql环境
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum install -y mysql-community-server
systemctl start mysqld
systemctl enable mysqld

3,redis环境
yum install redis -y
systemctl start redis
systemctl enable redis

4,nginx环境
yum install nginx -y
systemctl start nginx

5,编译golang
git clone https://github.com/didi/nightingale.git
./control build
./control pack

将生成的压缩包复制到新的文件夹

n9e-2020-03-24-01-21-48.tar.gz
tar zxvf n9e-2020-03-24-01-21-48.tar.gz

修改etc/mysql.yml
修改nginx.conf
        location / {
            root /home/code/1/pub;#文件夹pub目录
        }

cp etc/nginx.conf /etc/nginx/nginx.conf

mysql -uroot -p < sql/n9e_hbs.sql
mysql -uroot -p < sql/n9e_mon.sql
mysql -uroot -p < sql/n9e_uic.sql

启动项目
./control start all 
./control status

默认账户:root   root

本文隐藏内容 登陆 后才可以浏览

原文链接:open-falcon升级版Nightingale(夜莺)安装部署方法,转载请注明来源!

18