首页 文章 精选 留言 我的

精选列表

搜索[服务器],共10000篇文章
优秀的个人博客,低调大师

CentOS服务器利用 Nginx 静态代理博客并开启全站HTTPS

首先,你得有台云主机Vps。国内的话有阿里云、腾讯云这些。由于一些不可描述的原因,我选择的是部署在香港的 VPS,懂的都懂,其实我这台 VPS 主要是服务于 SS。当然一台买了这个 VPS 只拿来做 SS 服务有点浪费啊,而且部署在 github page 上的静态博客访问其实挺慢的,然后因为不想备案的原因,还无法用到国内大厂的 CDN 加速服务,于是萌生了干脆把博客静态指向到 VPS 的 IP 算了。 然后你还得买个域名,这总不能用 IP 来访问吧,太low。 安装 Nginx 在这里就不累赘了,附上安装地址:https://www.centoschina.cn/course/install/3480.html 配置 Nginx 配置文件在 /etc/nginx/nginx.conf 其中配置了两个 server,一个 80 端口的是 HTTP,一个 443 端口的是 HTTPS,这里强制让 80 端口重定向到了 HTTPS。 user root; worker_processes 4; pid /run/nginx.pid; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; include /etc/nginx/mime.types; default_type application/octet-stream; ## # SSL Settings ## ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE ssl_prefer_server_ciphers on; ## # Logging Settings ## access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; ## # Gzip Settings ## gzip on; gzip_disable "msie6"; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; ## # Virtual Host Configs ## #include /etc/nginx/conf.d/*.conf; #include /etc/nginx/sites-enabled/*; server { listen 80; server_name www.anany.vip anany.vip; return 301 https://$server_name$request_uri; } server{ server_name www.anany.vip anany.vip; listen 443; location / { root /root/blog/pages; index index.html; } ssl on; ssl_certificate /etc/nginx/anany.vip_bundle.crt; ssl_certificate_key /etc/nginx/anany.vip.key; } }

优秀的个人博客,低调大师

NVIDIA与服务器制造商合作推进AI云计算

NVIDIA公司宣布同全球领先的原始设计制造商(ODM)-富士康(Foxconn)、英业达(Inventec)、广达电脑(Quanta)与纬创(Wistron)开展合作,以期更加快速地满足市场对AI云计算的需求。 通过NVIDIAHGX合作伙伴计划,NVIDIA将让每家ODM尽早访问NVIDIA HGX参考架构,NVIDIA GPU计算技术以及设计指南。微软ProjectOlympus计划、Facebook的Big Basin系统与NVIDIA DGX-1™人工智能超级计算机也均使用了HGX数据中心设计方案。 通过将HGX用作起始秘方,ODM合作伙伴可以与NVIDIA一起更加快速地为超大型数据中心设计并推出一系列合格且经过GPU加速的系统。通过该计划,NVIDIA工程师将与ODM密切合作,以减少从设计到生产部署的时间。 在过去的1年里,对于人工智能计算资源的总体需求急剧增长,而市场对于NVIDIA GPU计算平台的采用及性能需求也随之增加。今天,全球前10家超大规模企业均在其数据中心内使用NVIDIA GPU加速器。 凭借新的基于NVIDIA® Volta™的GPU所提供的比上一代GPU三倍的性能,ODM可以根据最新的NVIDIA技术为市场需求提供最新产品。 NVIDIA加速计算业务部总经理Ian Buck表示:“加速计算正在飞速发展–在仅仅1年之内,我们便使得Tesla GPU深度学习性能提升了3倍–这对系统设计方式产生了显著影响。通过我们的HGX合作伙伴计划,设备制造商可以确保其向不断扩大的云计算提供商提供最新的AI技术。” 灵活、可升级的设计 为了满足超大规模云环境所独有的高性能、高效率和大规模扩展需求,NVIDIA构建了HGX参考设计。由于可以根据工作负载需求进行高度配置,HGX能够以多种方式轻松融合GPU与CPU,进而用于高性能计算、深度学习训练与深度学习推理。 标准的HGX设计架构包含8颗SXM2尺寸的NVIDIATesla® GPU加速器,并采用NVIDIANVLink™高速互连技术与经过优化的PCIe拓扑并以多维数据集网格连接。借助模块化设计,HGX机箱适用于全球现有数据中心机架部署,并酌情使用超大规模CPU节点。 NVIDIA Tesla P100与V100 GPU加速器均兼容于HGX。今年底,在V100 GPU上市后,这可以让基于HGX的所有产品实现即时升级。 对于想要托管全新NVIDIA GPU Cloud平台的云提供商而言,HGX堪称理想的参考架构。NVIDIA GPU Cloud管理着一系列完整集成且经过优化的深度学习框架容器的目录,包括Caffe2、Cognitive Toolkit、MXNet与TensorFlow。 富士康/鸿海精密工业股份有限公司总经理兼鸿佰科技股份有限公司(Ingrasys Technology Inc.)总裁Taiyu Chou表示:“通过与NVIDIA的这一全新合作伙伴计划,我们将能够更加快速地满足我们客户不断增加的需求,其中部分客户管理着一些全球最大型的数据中心。尽早获得NVIDIA GPU技术与设计指南,将有助于我们更加快速地推出创新型产品,充分满足我们客户不断增长的人工智能计算需求。” 英业达集团IEC China业务主管Evan Chien表示:“与NVIDIA开展更加密切的合作,将有助于我们为全球数据中心基础架构注入更高水平的创新。通过我们的紧密协作,我们将能够更加有效地满足管理超大规模云环境公司的计算密集型人工智能需求。” 广达电脑高级副总裁兼云达科技(QCT)总裁Mike Yang表示:“借助NVIDIA的人工智能计算专长,我们将能够立即向市场推出变革性的解决方案,满足人工智能时代的新计算需求。” 纬创首席技术官兼企业业务组总裁Donald Hwang表示:“作为NVIDIA的长期合作伙伴,我们期待着深化我们之间的关系,以便我们能够满足超大规模数据中心客户日益增长的计算需求。我们的客户渴望获得更高的GPU计算力量,以处理各种人工智能工作负载,而通过这一全新合作,我们将能够更快速地提供新的解决方案。” 微软AzureHardware Infrastructure总经理兼杰出工程师Kushagra Vaid表示:“我们与鸿佰科技及NVIDIA合作开创了全新行业标准设计,以满足人工智能新时代日益增长的需求。HGX-1人工智能加速器是作为微软Project Olympus的一部分而开发的,以便通过为多达32颗GPU选用高带宽互联性而实现极高的性能可扩展性。” 本文出处:畅享网 本文来自云栖社区合作伙伴畅享网,了解相关信息可以关注vsharing.com网站。

优秀的个人博客,低调大师

阿里云服务器跑 hyperledger e2e-cli 运行

go 安装 docker 安装 hyperledger fabric 源码运行 参加上篇博客 CentOS 7 HyperLedger fabric 实战 e2e-cli 有运行成功图 问题及解决方法 [java] view plain copy 2018-03-2317:52:41.021UTC[channelCmd]readBlock->DEBU016Gotstatus:*orderer.DeliverResponse_Status 2018-03-2317:52:41.021UTC[msp]GetLocalMSP->DEBU017ReturningexistinglocalMSP 2018-03-2317:52:41.021UTC[msp]GetDefaultSigningIdentity->DEBU018Obtainingdefaultsigningidentity fatalerror:unexpectedsignalduringruntimeexecution [signalSIGSEGV:segmentationviolationcode=0x1addr=0x63pc=0x7fd45dffd259] runtimestack: runtime.throw(0xdc37a7,0x2a) /opt/go/src/runtime/panic.go:566+0x95 runtime.sigpanic() /opt/go/src/runtime/sigpanic_unix.go:12+0x2cc goroutine34[syscall,lockedtothread]: runtime.cgocall(0xb08d50,0xc420020df8,0xc400000000) /opt/go/src/runtime/cgocall.go:131+0x110fp=0xc420020db0sp=0xc420020d70 net._C2func_getaddrinfo(0x7fd4580008c0,0x0,0xc420343560,0xc42012e5e8,0x0,0x0,0x0) ??:0+0x68fp=0xc420020df8sp=0xc420020db0 net.cgoLookupIPCNAME(0x7ffdd56a1a83,0x13,0x0,0x0,0x0,0x0,0x0,0x0,0x0) /opt/go/src/net/cgo_unix.go:146+0x37cfp=0xc420020f18sp=0xc420020df8 net.cgoIPLookup(0xc4203a3560,0x7ffdd56a1a83,0x13) /opt/go/src/net/cgo_unix.go:198+0x4dfp=0xc420020fa8sp=0xc420020f18 runtime.goexit() /opt/go/src/runtime/asm_amd64.s:2086+0x1fp=0xc420020fb0sp=0xc420020fa8 createdbynet.cgoLookupIP /opt/go/src/net/cgo_unix.go:208+0xb4 goroutine1[select]: github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*addrConn).wait(0xc4201d68c0,0x7fd45e37fda0,0xc4203434a0,0xc420150100,0x8006f0,0x7fd45e37fda0,0xc4203434a0,0x0) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:1032+0x183 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*ClientConn).getTransport(0xc42014dd40,0x7fd45e37fda0,0xc4203434a0,0xc420343400,0x7fd45e37fda0,0xc420343470,0x19,0x0,0xc42015d900) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:724+0x2f7 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.newClientStream(0x7fd45e37fda0,0xc4203434a0,0x13e1f40,0xc42014dd40,0xdb7f76,0x20,0x0,0x0,0x0,0x0,...) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/stream.go:189+0x599 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.NewClientStream(0x7fd45e37fd20,0xc420012290,0x13e1f40,0xc42014dd40,0xdb7f76,0x20,0x0,0x0,0x0,0x18,...) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/stream.go:105+0x162 github.com/hyperledger/fabric/protos/orderer.(*atomicBroadcastClient).Deliver(0xc42012e5d8,0x7fd45e37fd20,0xc420012290,0x0,0x0,0x0,0x0,0x0,0xc42031a9a0,0xbe4ab0) /opt/gopath/src/github.com/hyperledger/fabric/protos/orderer/ab.pb.go:499+0xba github.com/hyperledger/fabric/peer/channel.InitCmdFactory(0xc420350100,0x0,0x0,0x13ee140) /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/channel.go:179+0x2c0 github.com/hyperledger/fabric/peer/channel.getGenesisBlock(0xc420328f00,0x0,0x0,0x0) /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/deliverclient.go:141+0x11c github.com/hyperledger/fabric/peer/channel.executeCreate(0xc420328f00,0xc420328f00,0x0) /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/create.go:183+0x50 github.com/hyperledger/fabric/peer/channel.create(0xc420249440,0xc42020fcc0,0x1,0xa,0xc420328f00,0xd9d943,0x5) /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/create.go:213+0x45 github.com/hyperledger/fabric/peer/channel.createCmd.func1(0xc420249440,0xc42020fcc0,0x1,0xa,0x0,0x0) /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/create.go:59+0x52 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).execute(0xc420249440,0xc42020fb80,0xa,0xa,0xc420249440,0xc42020fb80) /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:599+0x234 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x13e58c0,0xf,0xc420010035,0x7) /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:689+0x367 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).Execute(0x13e58c0,0x7d,0xc420010035) /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:648+0x2b main.main() /opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:118+0x54e goroutine17[syscall,lockedtothread]: runtime.goexit() /opt/go/src/runtime/asm_amd64.s:2086+0x1 goroutine19[syscall]: os/signal.signal_recv(0xc420025fa8) /opt/go/src/runtime/sigqueue.go:116+0x157 os/signal.loop() /opt/go/src/os/signal/signal_unix.go:22+0x22 createdbyos/signal.init.1 /opt/go/src/os/signal/signal_unix.go:28+0x41 goroutine33[select]: net.cgoLookupIP(0x13fc8c0,0xc4203a34a0,0x7ffdd56a1a83,0x13,0xc420252180,0xc42034e440,0x0,0x0,0xc420026fa8,0x8f6938) /opt/go/src/net/cgo_unix.go:209+0x2f5 net.lookupIP(0x13fc8c0,0xc4203a34a0,0x7ffdd56a1a83,0x13,0x0,0x0,0x13f0a80,0xc420339aa0,0xc420018838) /opt/go/src/net/lookup_unix.go:70+0xf9 net.glob..func11(0x13fc8c0,0xc4203a34a0,0xe2abc0,0x7ffdd56a1a83,0x13,0xc420026ec8,0x71c6a9,0xc420026f08,0xc420026f18,0x455cc0) /opt/go/src/net/hook.go:19+0x52 net.lookupIPContext.func1(0xc42014dd40,0x7ffdd56a1a83,0x18,0x0) /opt/go/src/net/lookup.go:119+0x5c internal/singleflight.(*Group).doCall(0x1419790,0xc4203a0be0,0x7ffdd56a1a83,0x13,0xc420343500) /opt/go/src/internal/singleflight/singleflight.go:93+0x3c createdbyinternal/singleflight.(*Group).DoChan /opt/go/src/internal/singleflight/singleflight.go:86+0x339 goroutine32[select]: net.lookupIPContext(0x13fc8c0,0xc4203a34a0,0x7ffdd56a1a83,0x13,0x0,0x0,0x0,0x0,0x0) /opt/go/src/net/lookup.go:122+0x7bc net.internetAddrList(0x13fc8c0,0xc4203a34a0,0xd9cd17,0x3,0x7ffdd56a1a83,0x18,0x0,0x0,0x0,0x0,...) /opt/go/src/net/ipsock.go:241+0x5e0 net.resolveAddrList(0x13fc8c0,0xc4203a34a0,0xd9d317,0x4,0xd9cd17,0x3,0x7ffdd56a1a83,0x18,0x0,0x0,...) /opt/go/src/net/dial.go:179+0x106 net.(*Dialer).DialContext(0xc4200496c8,0x13fc8c0,0xc4203a34a0,0xd9cd17,0x3,0x7ffdd56a1a83,0x18,0x0,0x0,0x0,...) /opt/go/src/net/dial.go:329+0x238 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.dialContext(0x13fc8c0,0xc4203a34a0,0xd9cd17,0x3,0x7ffdd56a1a83,0x18,0x0,0x0,0xc4202503c0,0xc4203a6780) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/go17.go:53+0xaa github.com/hyperledger/fabric/vendor/google.golang.org/grpc.DialContext.func1(0x7fd45e37fde0,0xc4203a34a0,0x7ffdd56a1a83,0x18,0x1,0x0,0x13ee140,0xc42012d810) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:341+0x86 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.newProxyDialer.func1(0x7fd45e37fde0,0xc4203a34a0,0x7ffdd56a1a83,0x18,0x13,0x7fd45ebbc608,0x0,0x0) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/proxy.go:136+0x143 github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport.dial(0x7fd45e37fde0,0xc4203a34a0,0xc4203936b0,0x7ffdd56a1a83,0x18,0x410a5e,0xc42039e5a0,0xa0,0x98) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport/http2_client.go:135+0x5a github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport.newHTTP2Client(0x7fd45e37fde0,0xc4203a34a0,0x7ffdd56a1a83,0x18,0x0,0x0,0xda8cf6,0x11,0x0,0x0,...) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport/http2_client.go:173+0xbf github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport.NewClientTransport(0x7fd45e37fde0,0xc4203a34a0,0x7ffdd56a1a83,0x18,0x0,0x0,0xda8cf6,0x11,0x0,0x0,...) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport/transport.go:463+0xae github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*addrConn).resetTransport(0xc4201d68c0,0xc4203a2c00,0x70a61c,0x0) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:876+0x282 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*ClientConn).resetAddrConn.func1(0xc4201d68c0) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:648+0x34 createdbygithub.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*ClientConn).resetAddrConn /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:657+0x756 !!!!!!!!!!!!!!!Channelcreationfailed!!!!!!!!!!!!!!!! ==================ERROR!!!FAILEDtoexecuteEnd-2-EndScenario================== [java] view plain copy 切换路径 cd $GOPATH/src/github.com/hyperledger/fabric/examples/e2e_cli 关键步骤 修改 /etc/resolv.conf 配置,将options timeout:2 attempts:3 rotate single-request-reopen内容注释掉,作者修改后的内容如下 # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 100.100.2.136 nameserver 100.100.2.138 # options timeout:2 attempts:3 rotate single-request-reopen 执行启动命令,它会启动一个mychannel 的channel ./network_setup.sh up mychannel 问题2: hyperledger make: *** release/linux-amd64/bin/configtxgen', needed by `linux-amd64/bin 解决方法: cp -r fabric/bin/* release/linux-amd64/bin/ 参考资料: 阿里云环境部署Hyperledger Fabric之SIGSEGV问题分析和解决经验分享 https://yq.aliyun.com/articles/238940

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

用户登录
用户注册