最近业务扩展需要把netcore程序部署到ubuntu 16.0.4上,因为代码里面用到了HttpClient 请求. 部署ubuntu后一直报错 参考地址:https://github.com/dotnet/corefx/issues/35838 当有人明确需要curlhttphandler时,解决方法是安装旧的libcurl3 apt install libcurl3…
之前因为学习TensorFlow,所以在自己的Ubuntu上安装了cuda,cudnn以及Nvidia驱动.但可能是由于自己经常不注重正常关闭自己的Ubuntu,这就导致了一个问题: 某天在查看自己的显卡信息时,输入 $nvidia-smi 结果报错 NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is ins…
环境:ubuntu 16.0 需要软件:jdk ssh https://mirrors.tuna.tsinghua.edu.cn/apache/hadoop/common/ 2.8.3 安装 jdk并配置环境变量 安装ssh和rshync,主要设置免密登录 sudo apt-get install ssh sudo apt-get install rshync sh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ~/…
前言: 公司因为用Ruby做开发,所有适用了Ubuntu系统,但是自己笔记本是W10,又不想装双系统,搭建开发环境,便想到倒不如自己远程操控公司电脑,这样在家的时候也可以处理一些问题.故此便有了下面的安装步骤. 环境:   Windows 10 ,Ubuntu 16.0.4 安装步骤:   Ubuntu下: 1.右击桌面打开终端,或快捷键Ctrl+Shift+T打开终端 1.1 输入ifconfig查看电脑ip地址 1.2 enp2s0下的inet6是你的IP地址,比如我的ip是 192.168…
配置 supervisor [program:HelloWebApp] command=dotnet run directory=/home/python/dotnet/myweb/mywebapi environment=ASPNETCORE__ENVIRONMENT=Production user=root stopsignal=INT autostart=true autorestart=true startsecs= stderr_logfile=/var/log/HelloWebApp…
系统版本 ubuntu  Kylin 16.04 LTS       安装pip3 安装 Django 总是提示time out,无法安装. 逛了好多论坛终于遭到了解决办法,分享保存: sudo pip3 install -i https://pypi.doubanio.com/simple/ 包名(django) 还有其他的解决方案,如修改配置文件 [global]块,的超时时间等…
NetBeans部署项目(Extjs)报错(二) 1.具体错误如下: Using CATALINA_BASE: "C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base" Using CATALINA_HOME: "D:\NetBeans\Apache Tomcat 7.0.41" Using CATALINA_TMPDIR: &q…
NetBeans部署项目(Extjs)报错(一) 1.用NetBeans将项目部署到Tomcat中,报错. 具体如下: ant -f D:\\NetBeans\\workspace\\FoundationDatabase -Dbrowser.context=D:\\NetBeans\\workspace\\FoundationDatabase -DforceRedeploy=false -Ddirectory.deployment.supported=true -Dnb.wait.for.cac…
Tomcat7.0启动报错:java.lang.illegalargumentexception:taglib definition not consisten with specification version 原因:Tomcat7和Tomcat6在标签配置上稍有不同. 解决: You just need to confirm the allowed tags by web.xml confirming DTD file. e.g. version=”2.5″ compatible web.…
从旧的ADT迁移的新的ADT时, android 程序中res/values-v14/styles.xml报错: error: Error retrieving parent for item: No resource found that matches the given name :Theme.AppCompat.Light.DarkActionBar 解决办法:修改项目下的project-properties文件, 把下面这一行加入,指向新导入的support库(需要先导入这个库) an…