安装php-rdkafka 扩展 ***先安装librdkafka >>>源码方式安装 git clone https://github.com/edenhill/librdkafka librdkafka-master.zip unzip librdkafka-master.zip cd libr ...
分类:
Web程序 时间:
2021-06-07 19:51:44
阅读次数:
0
配置环境:gerrit 192.168.1.100gitlab 192.168.1.1011.创建秘钥 [root@gerrit ~]# ssh-keygen -m PEM -t rsa 2.添加hosts 解析 [root@gerrit ~]#echo "192.168.1.101 gitlab" ...
分类:
其他好文 时间:
2021-06-06 19:34:13
阅读次数:
0
部署服务器(nginx+mysql+javaJdk) 使用密钥登陆服务器 先生成密匙并存储到本地。 找到您下载的私钥所在目录,如:/root/xxx.pem。 说明 xxx.pem即为您的私钥文件,下同。 使用以下命令修改私钥文件的属性:chmod 400 xxx.pem。 使用SSH命令连接至实例 ...
分类:
数据库 时间:
2021-06-06 18:59:40
阅读次数:
0
IP地址的设置 在配置网络之前我们先要知道centos的网卡名称是什么,centos7不再使用 ifconfig 命令,可通过命令 ip addr 查看,如图,网卡名为ens32,是没有IP地址的 动态IP 修改网卡配置文件 vi /etc/sysconfig/network-scripts/ifc ...
分类:
其他好文 时间:
2021-06-05 17:52:05
阅读次数:
0
linux防火墙使用以及配置 Centos 7 firewall : 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : ...
分类:
系统相关 时间:
2021-06-04 19:47:34
阅读次数:
0
1、主机防护软件的安装路径 命令:wmic /namespace:\\root\securitycenter2 path antivirusproduct get displayname,productstate,pathtosignedproductexe 2、将wmic命令和findstr命令 ...
分类:
其他好文 时间:
2021-06-04 19:16:45
阅读次数:
0
package main import ( "fmt" "gorm.io/driver/mysql" "gorm.io/gorm" "time" ) type User struct { ID int Name string CreatedTime time.Time } func main() { ...
分类:
其他好文 时间:
2021-06-04 19:06:12
阅读次数:
0
一、Blazor Server 编译与发布 cd /home/soursecode/ServerDemo donet publish -c release mv bin/release/net5.0/publish /var/www/ServerDemo supervisor守护serverDemo ...
分类:
Web程序 时间:
2021-06-04 19:04:52
阅读次数:
0
在aws 云平台的机器如果忘记密码或者系统被入侵密码被篡改有以下几种方式。 1、通过创建iam 的角色,给角色授权,再把角色绑定到ec2,最后通过 aws 的SSM 服务连接登陆。注意此方式的 前提是ec2已经安装了ssm的服务,一般新版本的aws 的系统镜像会默认安装,如果是旧版本或者公共镜像默认 ...
分类:
系统相关 时间:
2021-06-04 18:57:06
阅读次数:
0
比如要向 test.asc 文件中随便写入点内容,可以:$ echo "信息" >> test.csv如果将 test.asc 权限设置为只有 root 用户才有权限进行写操作:$ sudo chown root.root test.csv然后,我们使用 sudo 并配合 echo 命令再次向修改权 ...
分类:
其他好文 时间:
2021-06-04 18:49:09
阅读次数:
0