> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lwops.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 8.16 gbase 8s

### 8.16.1 数据库用户环境变量文件复制到lwops家目录

```plain theme={null}
cp /home/gbasedbt/profile.gbaseserver /home/lwops/
```

### 8.16.2 添加agent\_conf配置

```plain theme={null}
UserParameter=gbase8s[*],/usr/bin/bash /usr/local/lwops/scripts/gbase8s.sh $1 $2 $3 2>&1|grep -v 'Your evaluation license'
```

### 8.16.3 导入监控脚本

```plain theme={null}
chmod +x  /usr/local/lwops/scripts/gbase8s.sh
chown itops. /usr/local/lwops/scripts/gbase8s.sh
```

![8.16 gbase 8s 操作截图 1](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/gbase8s/image-01.png)

### 8.16.4 重启agent

```plain theme={null}
systemctl restart lwops_agentd
```

### 8.16.5 页面添加监控
