- 2026年07月10日
- 星期五
悄然发现,tensorflow官网已经给出了直接使用pip安装cuda8的在线安装包了,这意味着,之前比较繁琐的在cuda8.0的情况下编译安装tensorflow的历史可以结束了 安装过程 其实官网给出的过程还是比较繁琐,最简单的方式莫过于使用pip安装 科普一下:现在最流行的p
查看端口使用情况,使用netstat命令。查看已经连接的服务端口(ESTABLISHED netstat -a查看所有的服务端口(LISTEN,ESTABLISHED) netstat -ap 查看8080端口,则可以结合grep命令: sudo netstat -ap | grep 8080 如查看8888端口,则在终端中输入: lsof -i:
新装了Ubuntu 16.10后,发现最常用的workspaces图标找不到了。网上搜了下,发现是被ubuntu给disable了。 还好从“设置-》外观-》行为”中可以重新“enable”。具体图文可参考链接:https://www.maketecheasier.com/restore-workspace-in-ubuntu/
发现了一个用QGIS做的地图案例很有趣,想试一下,就安装了QGIS。 不过因为安装完后好像有点小问题,但是一时间也不知道有没有影响,所以先记录下来。 1,安装方法:http://www.voidcn.com/article/p-smybrsla-bgc.html $sudo add-apt-repository ppa:ubuntugis
在ubuntu系统下取消eth0的ip地址: 首先注释/etc/network/interfaces eth0的相关配置后重启网络: sudo /etc/init.d/networking restart 再用ifconfig来查看网络配置,eth0的配置依旧存在,再用ifdown来试试看 sudo ifdown eth0 提示: ifdown: interface eth
我最近升级到Ubuntu 12.04LTS并安装Tomcat 7但出现以下错误: root@me:/# sudo apt-get install tomcat7 tomcat7-docs tomcat7-examples tomcat7-admin -yReading package lists… DoneBuilding dependency tree Reading state in
我一直在收到GCC编译错误: $pip install python-ldap…compilation terminated.error: command gcc failed with exit status 1 我发现这篇博文有答案: http://blog.mattwoodward.com/2012/10/installing-python-ldap-in-virtualen
转载:http://blog.csdn.net/henren555/article/details/7546508 启动Apache服务时竟然提示权限不够,用su切换,输入密码提示认证失败,这下搞了吧,后来一经查阅原来Ubuntu安装后,root用户默认是被锁定了的,不允许登录,也不允许 su 到 root ,对于桌面用
添加locale编码 vi /var/lib/locales/supported.d/local en_US.UTF-8 UTF-8 zh_CN.UTF-8 UTF-8 zh_CN.GBK GBK zh_CN GB2312 sudo locale-gen 修改缺省的编码为zh_CN vi /etc/default/locale LANG=zh_CN.UTF-8
