首页
关于
留言板
友情链接
Search
1
提取并下载谷歌应用商店软件(Google Play APK download)教程
4,811 阅读
2
常用VPS测试脚本代码:综合性能/硬件/IO Speed/CPU跑分/回程路由/硬盘读写/测速ping延迟测试一键脚本
362 阅读
3
不知道自己的VPS速度有多快?VPS测速脚本分享
348 阅读
4
一次在CentOS系统单用户模式下使用passwd命令破密失败的案例
305 阅读
5
宝塔面板首次登录,提示填入绑定手机号,强制提示且不能关闭
273 阅读
Windows
Linux
Kvm
程序源码
主机教程
NAS
登录
Search
标签搜索
命令
文件
服务器
etc
root
服务
server
重启
yum
程序
start
install
界面
windows
安装
update
宝塔
权限
chmod
默认
Typecho
累计撰写
160
篇文章
累计收到
11
条评论
首页
栏目
Windows
Linux
Kvm
程序源码
主机教程
NAS
页面
关于
留言板
友情链接
搜索到
2
篇与
的结果
2023-06-24
centos7 安装donet
1. centos7-安装dotnet工具安装epel源[root@sonarqube config]# yum install epel-release -y 导入dotnet源 [root@sonarqube config]# rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm 查找dotnet安装包 [root@sonarqube config]# yum search dotnet-sdk安装最新dotnet[root@sonarqube config]# yum -y install dotnet-sdk-6.0验证安装是否成功[root@sonarqube config]# dotnet --version 6.0.1022. dotnet build报错问题描述: linux下dotnet build 时候出现 .1.201/NuGet.targets(124,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json.解决方案解决: /etc/pki/tls/certs/ 下面少了证书 ca-certificates.crt 拷贝下面内容到证书里面-----BEGIN CERTIFICATE----- MIIGKjCCBRKgAwIBAgIQAqQdLHDmymcvfOktofoYODANBgkqhkiG9w0BAQsFADBE MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMR4wHAYDVQQDExVE aWdpQ2VydCBHbG9iYWwgQ0EgRzIwHhcNMjAwNTI2MDAwMDAwWhcNMjEwNDIxMTIw MDAwWjBqMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rvbj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NjB2rlQSVSfM1LZbjSW3dd+P7 SUu0rFUHqY+Vs7Qju0xtRfD2qbKVMLT9TFWMJ0pXFHyCnc1zktMWSgYMjFDRjx4J vheh5iHK/YPlELyDpQrEZyj2cxQUPUZ2w4cUiSE0Ta8PRQymSaG6u5zFsTODKYUC AwEAAaOCAScwggEjMB0GA1UdDgQWBBROIlQgGJXm427mD/r6uRLtBhePOTAPBgNV HRMBAf8EBTADAQH/MF8GA1UdIARYMFYwVAYEVR0gADBMMCMGCCsGAQUFBwIBFhdo dHRwczovL2Quc3ltY2IuY29tL2NwczAlBggrBgEFBQcCAjAZDBdodHRwczovL2Qu c3ltY2IuY29tL3JwYTAvBgNVHR8EKDAmMCSgIqAghh5odHRwOi8vcy5zeW1jYi5j b20vcGNhMy1nNS5jcmwwDgYDVR0PAQH/BAQDAgGGMC4GCCsGAQUFBwEBBCIwIDAe BggrBgEFBQcwAYYSaHR0cDovL3Muc3ltY2QuY29tMB8GA1UdIwQYMBaAFH/TZafC 3ey78DAJ80M5+gKvMzEzMA0GCSqGSIb3DQEBCwUAA4IBAQBQ3dNWKSUBip6n5X1N ua8bjKLSJzXlnescavPECMpFBlIIKH2mc6mL2Xr/wkSIBDrsqAO3sBcmoJN+n8V3 0O5JelrtEAFYSyRDXfu78ZlHn6kvV5/jPUFECEM/hdN0x8WdLpGjJMqfs0EG5qHj +UaxpucWD445wea4zlK7hUR+MA8fq0Yd1HEKj4c8TcgaQIHMa4KHr448cQ69e3CP ECRhRNg+RAKT2I7SlaVzLvaB/8yym2oMCEsoqiRT8dbXg35aKEYmmzn3O/mnB7bG Ud/EUrkIf7FVamgYZd1fSzQeg1cHqf0ja6eHpvq2bTl+cWFHaq/84KlHe5Rh0Csm pZzn -----END CERTIFICATE-----
2023年06月24日
63 阅读
0 评论
0 点赞
2022-05-31
在Ubuntu16.04上启用TCP-BBR
BBR简介BBR 是 Google 推出的一个「TCP 拥塞控制算法」,它是以 Linux 内核模块的形式加载,可以最大化 Linux Server 的网络吞吐量。简单地说,开启 BBR 的 Linux Server 和不开启 BBR 的 Linux Server,在持续传输数据方面可以有非常大的不同。BBR 尽管还没有在主流发行版中默认开启,但 Google 已经在 YouTube 网站上实践了很久,可以说是很成熟的一样技术了。检测 BBR 是否开启在开始之前,先看看 BBR 是否已经启用了,执行这条指令可以返回当前 Linux 内核可以使用的 TCP 拥堵控制算法:sudo apt-get cleansudo apt-get updatesysctl net.ipv4.tcp_available_congestion_control例如,在我的Server上返回了如下内容:net.ipv4.tcp_available_congestion_control = cubic reno可以看到是没有BBR的,因为默认的 Ubuntu 16.04 用的是 Linux 4.4.0 内核,所以自然是看不到 BBR 的。我们再次确认下系统当前启用的拥塞算法:sysctl net.ipv4.tcp_congestion_control返回的内容是:net.ipv4.tcp_congestion_control = cubic可以看到系统使用的是 cubic 这个默认的算法。接下去我们通过最标准的模式来为这台 Ubuntu 16.04 启用 BBR安装 4.10+ 新内核BBR 只能配合 Linux Kernel 4.10 以上内核才能使用。但是在 Ubuntu 16.04 上怎么使用 4.10 呢?难道要手动下载和安装吗?不能!这会有一个安全隐患,手动下载安装的新内核,无法保证后续能得到及时的安全更新。那么怎么办?这里推荐使用 HWE 版本的内核,它就在官方源里。HWE,即:HareWare Enablement,是专门为在老的系统上支持新的硬件而推出的内核。你可以像安装其他软件包一样在 Ubuntu 16.04 里非常容易的安装它,只需要执行下面的命令:sudo apt-get install linux-generic-hwe-16.04对!只需要这样就OK了!安装好以后重启系统,然后输入:uname -a我的Server输出如下:Linux oneone 4.15.0-74-generic #83~16.04.1-Ubuntu SMP Wed Dec 18 04:56:23 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux可以看到系统内核已经升级到4.15.0了。为Ubuntu 16.04 启用 BBR接下来就可以为新内核装载 BBR 模块了,分别执行:sudo modprobe tcp_bbr echo "tcp_bbr" | sudo tee -a /etc/modules-load.d/modules.conf接下来我们再来查看系统支持的拥塞算法,可以看到BBR已经在里面了:sysctl net.ipv4.tcp_available_congestion_control返回:net.ipv4.tcp_available_congestion_control = reno cubic bbr接下来就正式启用BBR,把它设为系统的默认拥塞算法,分别执行:echo "net.core.default_qdisc=fq" | sudo tee -a /etc/sysctl.confecho "net.ipv4.tcp_congestion_control=bbr" | sudo tee -a /etc/sysctl.confsudo sysctl -p最后,再来验证一下是否设置成功,可以看到BBR已经是默认算法:sysctl net.ipv4.tcp_congestion_control返回:net.ipv4.tcp_congestion_control = bbr
2022年05月31日
31 阅读
0 评论
0 点赞