<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
大家好:<br>
<br>
现在 njet 支持yum源安装了,目前只支持 centos 7 和 x86_64架构。<br>
<br>
具体安装方式如下:<br>
<br>
step 1: 生成njet.repo<br>
<div data-page-id="NSeMd7MnYok9bKxVGX0csDl8n8d"
data-docx-has-block-data="false"><code class="language-C++"
data-wrap="false">
<div>echo "</div>
<div>[opennjet]<br>
<br>
name=OpenNJet<br>
baseurl=<a class="moz-txt-link-freetext" href="https://njet.org.cn/download/linux/centos/$releasever/$basearch/">https://njet.org.cn/download/linux/centos/$releasever/$basearch/</a><br>
enabled=1<br>
gpgcheck=1<br>
gpgkey=<a class="moz-txt-link-freetext" href="https://njet.org.cn/download/linux/centos/RPM-GPG-KEY-OpenNJet">https://njet.org.cn/download/linux/centos/RPM-GPG-KEY-OpenNJet</a><br>
</div>
<div>" > /etc/yum.repos.d/njet.repo
</div>
<div><br>
</div>
<div><br>
</div>
<div>step 2: 更新yum缓存 <br>
</div>
<div>yum clean all</div>
<div>yum makecache # 类似于 apt update</div>
<div><br>
</div>
<div>step 3: 安装njet或njet-otel<br>
</div>
<div>yum install njet<br>
yum install njet-otel</div>
</code></div>
step 4: 启动njet服务<br>
systemctl start njet<br>
<br>
目前只支持 centos 7 和 x86_64架构<br>
目前只支持 centos 7 和 x86_64架构<br>
欢迎大家试用<br>
</body>
</html>