Ubuntu

gnutls_handshake() failed: Handshake failed GIT

旧时模样 提交于 2021-01-27 10:23:10
问题 Everything was working fine but suddenly I am getting the error: fatal: unable to access 'https://username@bitbucket.org/name/repo_name.git/': gnutls_handshake() failed: Handshake failed I am getting this on my computer as well as an EC2 instance. When I tried on another computer then it is working fine there. I have tried many solutions from Stackoverflow and from other forums. but nothing worked! On the computer, os is Linux mint 17 and on EC2 instance, Ubuntu 14.04.6 LTS. What can be the

gnutls_handshake() failed: Handshake failed GIT

寵の児 提交于 2021-01-27 10:22:07
问题 Everything was working fine but suddenly I am getting the error: fatal: unable to access 'https://username@bitbucket.org/name/repo_name.git/': gnutls_handshake() failed: Handshake failed I am getting this on my computer as well as an EC2 instance. When I tried on another computer then it is working fine there. I have tried many solutions from Stackoverflow and from other forums. but nothing worked! On the computer, os is Linux mint 17 and on EC2 instance, Ubuntu 14.04.6 LTS. What can be the

How to run python3 code in VSCode? /bin/sh: 1: python: not found

≡放荡痞女 提交于 2021-01-27 07:22:37
问题 I'm trying to run a python file in VSCode using python3. I know I can fix by simply setting to run using integrated terminal like it says in the microsoft vscode tutorial on python. However, I would like the program to print in the output tab and not take up the terminal window. The standard coder runner launch.json looks like this; "version": "0.2.0", "configurations": [ { "name": "Python: Current File", "type": "python", "request": "launch", "program": "${file}", "console":

Installing JNLP on Ubuntu for Open JDK 7

走远了吗. 提交于 2021-01-27 07:20:20
问题 How do I get JNLP working for OpenJDK 7 on a Ubuntu machine? I'm trying to get the source code linked to at http://www.bugaco.com/bioinf/clusterer/ with the text "Download sources" to run on my machine. Currently, when I try running javac -cp ".:l2fprod-common-all-7.3.jar:jfreechart-1.0.17/lib/jfreechart-1.0.17.jar" com/bugaco/mioritic/impl/module/project/Main.java it is giving me the error ./com/bugaco/ui/LoadBean.java:11: error: package javax.jnlp does not exist import javax.jnlp

pid file disappears after starting pgpool with ubuntu and postgresql

五迷三道 提交于 2021-01-27 06:25:11
问题 I´ve installed postgresql 9.1 on ubuntu 12.04 with pgpoolII-3.3.3 and pgPoolAdmin If I try to run pgpool from a terminal with sudo pgpool it seems to start. Viewing ubuntu file explorer I can see how a pgpool.pid file is created at /var/run/pgpool/pgpool.id (this is the path in pgpool.conf) But after one second the file disappears. I have tried to change the owner of the directory and the directory permissions but nothing seems to fix it. If after that I try to stop pgpool wiht sudo pgpool -m

pid file disappears after starting pgpool with ubuntu and postgresql

随声附和 提交于 2021-01-27 06:25:08
问题 I´ve installed postgresql 9.1 on ubuntu 12.04 with pgpoolII-3.3.3 and pgPoolAdmin If I try to run pgpool from a terminal with sudo pgpool it seems to start. Viewing ubuntu file explorer I can see how a pgpool.pid file is created at /var/run/pgpool/pgpool.id (this is the path in pgpool.conf) But after one second the file disappears. I have tried to change the owner of the directory and the directory permissions but nothing seems to fix it. If after that I try to stop pgpool wiht sudo pgpool -m

prometheus安装、使用

眉间皱痕 提交于 2021-01-26 03:38:54
本文主要参考https://songjiayang.gitbooks.io/prometheus/introduction/what.html 二进制包安装 我们可以到 Prometheus 二进制 下载页面 ,选择自己需要的系统版本,下面我们将以 ubuntu server 作为演示。 环境准备 linux amd64 (ubuntu server) prometheus 1.6.2 下载 Prometheus Server 创建下载目录,以便安装过后清理掉 mkdir ~/Download cd ~/Download 使用 wget 下载 Prometheus 的安装包 wget https://github.com/prometheus/prometheus/releases/download/v1.6.2/prometheus-1.6.2.linux-amd64.tar.gz 创建 Prometheus 目录,用于存放所有 Prometheus 相关的运行服务 mkdir ~/Prometheus cd ~/Prometheus 使用 tar 解压缩 prometheus-1.6.2.linux-amd64.tar.gz tar -xvzf ~/Download/prometheus-1.6.2.linux-amd64.tar.gz cd prometheus-1.6.2

如何学习Ubuntu用法?linux需要学习什么

▼魔方 西西 提交于 2021-01-25 17:40:50
  Ubuntu适用于笔记本电脑、台式电脑和服务器,尤其适合桌面用户。随着CentOS系统版本的变化,越来越多的人关注Ubuntu。渐渐地,很多人开始学习Ubuntu版本。Ubuntu Linux和CentOS Linux一样,都是开源的、自由系统软件。Ubuntu的目标是让每个人都得到一个易于使用的Linux系统版本。那么如何学习Ubuntu用法?Linux发展前景如何?   如何学习Ubuntu用法?   (1)如果有其他Linux经验,可以快速上手。   (2)如果没有接触过Linux,建议系统学习Linux运维知识。   (3)学习官网的文档,但是对于初学者来说,官网的文档比较晦涩难懂。   Linux发展前景如何?   (1)从互联网到开发阶段,门户、 BAT从2000年发展到2010年。这个时候网络主要是PC。   (2)从互联网到移动互联网10年,从2010年到2020年,出现了很多移动软件应用。这时候除了PC,网络端还有更多手机、平板。   (3)而现下是物联网+人工智能的时代。人工智能的基础是大数据和机器学习、深度学习,Linux的应用也在不断发展。上网的人越来越多,市场对服务器稳定性和个性化的要求也越来越高。所以Linux作为承载数据的后端服务器非常重要,Linux运维人员的需求也在逐渐增加。   (4)目前各大企业都在从windows切换到Linux

利用云主机搭建游戏加速器(仅限国内加速)

末鹿安然 提交于 2021-01-25 10:01:46
利用云主机搭建游戏加速器(仅限国内加速) 注意:仅作国内游戏加速使用,禁止开飞机,否则后果自负 最近在玩西山居公司的剑网三游戏,因为自己用的是联通宽带,但是玩的是电信区的服务器,正好看到了腾讯云新用户的特价,99元1年,活动地址: https://curl.qcloud.com/Cdl2x4xa 前期工作 搭建游戏加速器的话轻量云服务器就够用了,普通的云服务也是一样的搭建方法 如果自身网络条件较好只是需要切换联通/电信节点,那么尽量将服务器买到靠近游戏服务器所在的机房位置,如果自身网络条件比较差,就把服务器买到离你自己比较近的地方(比如移动宽带或者其他二级运营商所提供的网络) 打开活动网址后我们可以根据自己的需要通过地域/需求来购买自己所需要的云服务器,因为剑网三的电信机房是深圳的实体机房,所以在这里我选择了购买广州地区的云主机,镜像这里因为个人原因平常习惯使用Ubuntu,所以这里就以Ubuntu18.04版本来做详解,CentOS是一样的使用方法 购买之后如下图所示点开自己的控制台 然后点开自己所购买的云服务器/轻量云服务器,如下图所示 然后将自己所购买的云服务器点开,点击更多,之后点击管理 进入之后选择重置密码,在这里输入自己想要设置的密码,默认用户名不需要更改,就用ubuntu就好(云服务商不同默认用户名不同,其他大多数为root) 重置完密码之后再看自己云服务器的IP

「ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory」

早过忘川 提交于 2021-01-25 07:45:32
tensorflow版本和cuda,cudnn版本的兼容性问题。 参考以下博客: 「 https://blog.csdn.net/qq_18649781/article/details/89045243 」 「 https://blog.csdn.net/omodao1/article/details/83241074 」「tensorflow版本和cuda,cudnn版本的兼容表格」 【给Ubuntu装上xrdp的远程桌面之后,远程登陆以后发现无法调用之前给主机安装的tensorflow,出现了一样的报错】 【排查了,不是版本问题,而是ldconfig的库地址环境变量问题?】 sudo ldconfig /usr/local/cuda- 9.0 /lib64 【参考】 【 https://blog.csdn.net/eb_num/article/details/89602652 】【使用ldconfig命令】 【 https://blog.csdn.net/winycg/article/details/80572735 】【关于ldconfig命令的作用】 来源: oschina 链接: https://my.oschina.net/u/4397772/blog/3517735