为了安全,本文使用的是Apache自带的用户及密码验证方法(htpasswd命令是Apache的Web服务器内置工具,用于创建和更新储存用户名、域和用户基本认证的密码文件) )

增加用户名和密码验证
a、设置登录密码认证 通过 apache 自带验证功能

[root@redhat ~]# htpasswd -c /usr/local/smokeping/htdocs/htpasswd darker     
New password:
Re-type new password:
Adding password for user darker

b、增加红框以内的内容:

[root@redhat ~]# vim /etc/httpd/conf.d/somekping.conf

1371745-20230130140826055-1069257850.png

分类: 系统运维 标签: Smokeping

评论

暂无评论数据

暂无评论数据

目录