首页 文章 精选 留言 我的

精选列表

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

Chrome OS 支持虚拟桌面与一键通话连接

本周二,谷歌发布了基于 Linux 的桌面操作系统 Chrome OS 78 最新稳定版本,已在 Chromebook 上可用,该操作系统带来了三个新的功能:虚拟桌面(Virtual Desks)、一键通话,以及提高打印机的易用性。其中主要亮点是虚拟桌面,该功能有点类似于 Windows 10 系统中的虚拟桌面功能,可以帮助用户将不同类型的应用程序分离到单独的桌面环境中,让用户的桌面管理变得更有秩序。 如何使用虚拟桌面? 首先需要安装最新版本,之后打开 Overview,可在屏幕右上角看到“New Desk”。另外为了方便使用该功能,还提供了快捷键,比如 “Search + Shift + =“可创建新的桌面,或者使用 “Search + ]“可在桌面之间进行切换。 另外两个功能,其中一个是点击通话功能,在 Chromebook通过右键单击一个号码,它将自动发送到 Android 手机进行呼叫,不过前提是必须在这两种设备上注册,并在 Chrome 浏览器中启用同步功能。还有改进的打印机,无需任何其他设置,兼容的打印机将自动添加到打印机列表中,简化了将打印机保存到的配置文件所需的操作。 还有,为了让 Chromebook 用户更容易反馈有关 Chrome OS 的问题,添加了一个反馈“Feedback”按钮,用户可通过按住设备上的电源按钮来打开。 参考:neowin

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

蚂蚁金服通信框架SOFABolt解析 | 连接管理剖析

SOFA ScalableOpenFinancialArchitecture 是蚂蚁金服自主研发的金融级分布式中间件,包含了构建金融级云原生架构所需的各个组件,是在金融场景里锤炼出来的最佳实践。 本文为《蚂蚁金服通信框架 SOFABolt 解析》系列第四篇,作者任展。 《蚂蚁金服通信框架 SOFABolt 解析》系列由 SOFA 团队和源码爱好者们出品。 SOFARPC:https://github.com/alipay/sofa-rpc SOFABolt:https://github.com/alipay/sofa-bolt 前言 SOFABolt 是一款基于 Netty 最佳实践,通用、高效、稳定的通信框架。目前已经运用在了蚂蚁中间件的微服务,消息中心,分布式事务,分布式开关,配置中心等众多产品上。 本文将重点分析 SOFABolt

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

ssh 连接centos服务器很慢的解决办法

现象: 在局域网内,能ping通目标机器,并且时延是微秒级。 用ssh连局域网内其他linux机器,会等待10-30秒才有提示输入密码。严重影响工作效率。 [oracle@service1 ~]$ ping 192.168.1.228 PING 192.168.1.228 (192.168.1.228) 56(84) bytes of data. 64 bytes from 192.168.1.228: icmp_seq=1 ttl=64 time=0.280 ms 64 bytes from 192.168.1.228: icmp_seq=2 ttl=64 time=0.196 ms 64 bytes from 192.168.1.228: icmp_seq=3 ttl=64 time=0.326 ms ^C --- 192.168.1.228 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2986ms rtt min/avg/max/mdev = 0.196/0.267/0.326/0.055 ms 复制时: [oracle@service1 ~]$ scp -rp /home/oracle/xtt2/ 192.168.1.228:/home/oracle/ oracle@192.168.1.228's password: Connection closed by 192.168.1.228 lost connection 调试信息: [oracle@service1 ~]$ ssh -v 192.168.1.228 OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to 192.168.1.228 [192.168.1.228] port 22. debug1: Connection established. debug1: identity file /home/oracle/.ssh/identity type -1 debug1: identity file /home/oracle/.ssh/identity-cert type -1 debug1: identity file /home/oracle/.ssh/id_rsa type -1 debug1: identity file /home/oracle/.ssh/id_rsa-cert type -1 debug1: identity file /home/oracle/.ssh/id_dsa type -1 debug1: identity file /home/oracle/.ssh/id_dsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3 debug1: match: OpenSSH_5.3 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.3 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host '192.168.1.228' is known and matches the RSA host key. debug1: Found key in /home/oracle/.ssh/known_hosts:1 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password debug1: Next authentication method: gssapi-keyex debug1: No valid Key exchange context debug1: Unspecified GSS failure. Minor code may provide more information Cannot determine realm for numeric host address debug1: Unspecified GSS failure. Minor code may provide more information Cannot determine realm for numeric host address debug1: Unspecified GSS failure. Minor code may provide more information debug1: Unspecified GSS failure. Minor code may provide more information Cannot determine realm for numeric host address debug1: Next authentication method: publickey debug1: Trying private key: /home/oracle/.ssh/identity debug1: Trying private key: /home/oracle/.ssh/id_rsa debug1: Trying private key: /home/oracle/.ssh/id_dsa debug1: Next authentication method: password oracle@192.168.1.228's password: Connection closed by 192.168.1.228 有效的解决办法: 1. 修改目标机: [root@service2 ~]# vi /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.1.228 service2 192.168.1.117 service1 2.修改本机:GSSAPIAuthentication yes →GSSAPIAuthentication no GSSAPI (Generic Security Services Application Programming Interface)是一套类似Kerberos 5 的通用网络安全系统接口。该接口是对各种不同的客户端服务器安全机制的封装,以消除安全接口的不同,降低编程难度。但该接口在目标机器无域名解析时会有问题。我看到有人给ubuntu提交了相关bug,说要将GSSAPIAuthentication的缺省值设为no,不知为何,ubuntu9.10的缺省值还是yes。 [root@service1 ~]# vi /etc/ssh/ssh_config # $OpenBSD: ssh_config,v 1.25 2009/02/17 01:28:32 djm Exp $ # This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can be changed in per-user configuration files # or on the command line. # Configuration data is parsed as follows: # 1. command line options # 2. user-specific file # 3. system-wide file # Any configuration value is only changed the first time it is set. # Thus, host-specific definitions should be at the beginning of the # configuration file, and defaults at the end. # Site-wide defaults for some commonly used options. For a comprehensive # list of available options, their meanings and defaults, please see the # ssh_config(5) man page. # Host * # ForwardAgent no # ForwardX11 no # RhostsRSAAuthentication no # RSAAuthentication yes # PasswordAuthentication yes # HostbasedAuthentication no # GSSAPIAuthentication no # GSSAPIDelegateCredentials no # GSSAPIKeyExchange no # GSSAPITrustDNS no # BatchMode no # CheckHostIP yes # BatchMode no # CheckHostIP yes # AddressFamily any # ConnectTimeout 0 # StrictHostKeyChecking ask # IdentityFile ~/.ssh/identity # IdentityFile ~/.ssh/id_rsa # IdentityFile ~/.ssh/id_dsa # Port 22 # Protocol 2,1 # Cipher 3des # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc # MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 # EscapeChar ~ # Tunnel no # TunnelDevice any:any # PermitLocalCommand no # VisualHostKey no Host * GSSAPIAuthentication yes # If this option is set to yes then remote X11 clients will have full access # to the original X11 display. As virtually no X11 client supports the untrusted # mode correctly we set this to yes. ForwardX11Trusted yes # Send locale-related environment variables SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT SendEnv LC_IDENTIFICATION LC_ALL LANGUAGE SendEnv XMODIFIERS 再复制时: [oracle@service1 ~]$ scp -rp /home/oracle/xtt2/ 192.168.1.228:/home/oracle/ oracle@192.168.1.228's password: rman-xttconvert_2.0.zip 100% 26KB 26.3KB/s 00:00 xttcnvrtbkupdest.sql 100% 1390 1.4KB/s 00:00 xttdriver.pl 100% 90KB 89.6KB/s 00:00 xttdbopen.sql 100% 71 0.1KB/s 00:00 xtt.properties 100% 251 0.3KB/s 00:00 xttstartupnomount.sql 100% 52 0.1KB/s 00:00 xttprep.tmpl

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

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文件系统,支持十年生命周期更新。

用户登录
用户注册