Comments (13)
区别在 releases 页面中有说明,简单来说,就是 x86_64 v1 ~ v4 的区别,现代 x86_64 CPU 一般都是 v3 了,老一点的是 v2,再老点的就是 v1(不带 v 字眼的),如果有疑问,可以 百度、Google 搜索 x86_64 微架构级别(x86_64 v1 v2 v3 v4 什么区别,如何确定我的 CPU 是 v几)。
这个是向后兼容的,也就是若目标 CPU 支持 x86_64 v4,则可以运行 x86_64(v1)、x86_64_v2、x86_64_v3、x86_64_v4 版本的 ELF 文件。若希望性能最佳,请选择目标 CPU 支持的最高级别。如果不想关注这些,能用就行,那就无脑选 x86_64(不带v的)。
x86_64我都试了,无法运行,显示command not found,系统是Debian 12.6
from chinadns-ng.
服了。你真厉害!感谢大佬,我水平欠佳,以后多向你学习!
from chinadns-ng.
去 releases 页面下载预编译的文件。
自己编译和预编译的没区别,当搞不定编译的时候,就不需要浪费时间折腾编译了。
from chinadns-ng.
就是预编译的文件,怎么运行啊?不是deb不会安装。不知道这些区别在哪儿?
from chinadns-ng.
下载对应架构的 chinadns-ng 文件,进行适当的重命名(如果需要),然后 chmod +x
添加可执行权限,然后运行即可。
from chinadns-ng.
区别在 releases 页面中有说明,简单来说,就是 x86_64 v1 ~ v4 的区别,现代 x86_64 CPU 一般都是 v3 了,老一点的是 v2,再老点的就是 v1(不带 v 字眼的),如果有疑问,可以 百度、Google 搜索 x86_64 微架构级别(x86_64 v1 v2 v3 v4 什么区别,如何确定我的 CPU 是 v几)。
这个是向后兼容的,也就是若目标 CPU 支持 x86_64 v4,则可以运行 x86_64(v1)、x86_64_v2、x86_64_v3、x86_64_v4 版本的 ELF 文件。若希望性能最佳,请选择目标 CPU 支持的最高级别。如果不想关注这些,能用就行,那就无脑选 x86_64(不带v的)。
from chinadns-ng.
这个不是 deb 文件,这是可执行文件,下载后,执行 chmod +x chinadns-ng*
给予它可执行权限,然后运行就好了呀,有这么难理解吗?使用过 Linux 系统的都明白吧。。。
from chinadns-ng.
哦,明白了,感谢!我还以为是安装包呢。
from chinadns-ng.
下载对应架构的 chinadns-ng 文件,进行适当的重命名(如果需要),然后
chmod +x
添加可执行权限,然后运行即可。
这已经把步骤告诉你了,已经不能再简单了。
from chinadns-ng.
基本常识:在 Unix 世界中,如果一个文件没有后缀名(比如 .txt),那么就是可执行文件(ELF文件、Shell脚本等),chmod +x
之后即可运行。
不要被文件名中的
@
字符吓到了,这只是一个常规文件名。。
from chinadns-ng.
直接运行,真的是无法运行。不知道咋回事。
from chinadns-ng.
有没有一种可能,要使用 ./chinadns-ng。这是基本常识
from chinadns-ng.
要不就把 可执行文件 放到 /usr/local/bin 等 PATH 路径下。
from chinadns-ng.
Related Issues (20)
- 能否增加域名列表reload的功能? HOT 7
- verdict缓存、dns缓存 持久化 HOT 18
- 服务参数改成配置文件时遇到的一些No such file or directory错误 HOT 3
- 请教:是否支持单纯的dns转发 HOT 10
- 米家智能非标准域名mijia cloud解析问题
- 请教:上游DNS是否支持IPV6地址? HOT 5
- release中没有mips64架构的版本 HOT 11
- 上游 TCP/DoT 服务器的 限流/限速 问题 HOT 37
- 可以增加一个测速优选功能吗? HOT 4
- failed to build on arm64 device panther-x2 HOT 2
- ipv6 dns的支持格式 HOT 1
- 多个上游dns是什么工作模式 HOT 1
- no ipv6对group没生效,是我配置有问题吗? HOT 5
- 为什么 "-Dtarget=native-native-musl" 无法编译成功? HOT 2
- 反向污染有没有办法自动识别 HOT 25
- 过滤掉无效的返回 HOT 8
- [建议]可否考虑加入socks5客户端 HOT 6
- VOWIFI组的例子
- 关于设置ipset-name4 ipset-name6 参数, HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chinadns-ng.