第3步:访问Rudder Web 主页

使用浏览器打开
http://rudder.example.com

进入登录页面

  • 用户:admin
  • 密码:admin

强烈建议我们尽快更改此密码。

转到 Settings → General → Allowed Networks并检查列出的网络是否正确地包含所有节点网络地址。

默认情况下,这将包含我们服务器的连接网络。

现在完成了Rudder服务器的设置。
我们可以开始安装Rudder客户端软件并配置它们以连接到服务器节点。

第1步:安装Java

Rudder需要Java

安装Java的开源版本:

sudo apt update
sudo apt install default-jre

验证是否已安装Java:

java -version

输出示例:

openjdk version "11.0.5" 2019-10-15
OpenJDK Runtime Environment (build 11.0.5+10-post-Ubuntu-0ubuntu1.118.04)
OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Ubuntu-0ubuntu1.118.04, mixed mode, sharing)

第2步:安装Rudder

现在安装了Java,继续下面继续安装舵和所有依赖项。

使用以下命令导入apt密钥

wget --quiet -O- "https://repository.rudder.io/apt/rudder_apt_key.pub" | sudo apt-key add 

Rudder指纹如下所示:

pub  4096R/474A19E8 2011-12-15 Rudder Project (release key) <security@rudder-project.org>
      Key fingerprint = 7C16 9817 7904 212D D58C  B4D1 9322 C330 474A 19E8

在Ubuntu上创建Rudder存储库:

sudo sh -c 'echo "deb http://repository.rudder.io/apt/6.0/$(lsb_release -cs) main" > /etc/apt/sources.list.d/rudder.list'

更新本地包数据库以检索我们的存储库上可用的包列表:

sudo apt update

安装Rudder软件包以及依赖项

sudo apt install rudder-server-root

在安装过程中,询问我们是否安装了数据库并配置数据库。
选择 No

───┤ Configuring rsyslog-pgsql ├──
                                                                            │ 
  The rsyslog-pgsql package must have a database installed and configured   │ 
  before it can be used. This can be optionally handled with                │ 
  dbconfig-common.                                                          │ 

│ If you are an advanced database administrator and know that you want to   │ 
│ perform this configuration bananaally, or if your database has already      │ 
│ been installed and configured, you should refuse this option. Details on  │ 
│ what needs to be done should most likely be provided in                   │ 
│ /usr/share/doc/rsyslog-pgsql.                                             │ 
│                                                                           │ 
│ Otherwise, you should probably choose this option.                        │ 
│                                                                           │ 
│ Configure database for rsyslog-pgsql with dbconfig-common?                │ 
│                                                                           │ 
│                    <Yes>                   <No>                           │ 
│                                                                           │
如何在Ubuntu 18.04/16.04上安装Rudder
日期:2020-07-07 20:55:29 来源:oir作者:oir