会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Dsp Tian
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
31
32
33
34
35
36
37
38
39
···
79
下一页
2017年9月22日
Debian出现in the drive ‘/media/cdrom/’ and press enter解决办法
摘要: 没有光盘源解决打开/etc/apt/sources.list文件,注释掉cdrom那一行,然后再执行apt-get update更新下deb仓库这样以后再使用apt-get安装时就不会再搜寻cdrom了
阅读全文
posted @ 2017-09-22 23:33 Dsp Tian
阅读(3766)
评论(1)
推荐(1)
2017年9月20日
Linux命令行得到系统IP
摘要: 输入ifconfig得到 输入 ifconfig | grep "inet addr" | grep -v 127.0.0.1 | awk '{print $2}' | awk -F: '{print $2}' 得到 192.168.1.1
阅读全文
posted @ 2017-09-20 12:50 Dsp Tian
阅读(5538)
评论(1)
推荐(0)
2017年9月3日
【转】grep -v grep
摘要: 1.grep 是查找含有指定文本行的意思,比如grep test 就是查找含有test的文本的行 2.grep -v 是反向查找的意思,比如 grep -v grep 就是查找不含有 grep 字段的行 http://blog.csdn.net/tengdazhang770960436/articl
阅读全文
posted @ 2017-09-03 17:58 Dsp Tian
阅读(496)
评论(0)
推荐(0)
2017年9月2日
centos7 无法启动网络(service network restart)错误解决办法
摘要: systemctl status network.service 出现以下错误“rtnetlink answers file exists” 的解决方法和 NetworkManager 服务有冲突,这个好解决,直接关闭 NetworkManger 服务就好了。service NetworkManag
阅读全文
posted @ 2017-09-02 21:15 Dsp Tian
阅读(4999)
评论(0)
推荐(0)
Linux查看程序端口占用情况
摘要: 查看服务是否启动 ps -aux | grep tomcat 查看端口是否占用 netstat –apn | grep 8080
阅读全文
posted @ 2017-09-02 21:15 Dsp Tian
阅读(756)
评论(0)
推荐(0)
【转】ubuntu右键在当前位置打开终端
摘要: ubuntu右键在当前位置打开终端 ubuntu增加右键命令: 在终端中打开 软件中心: 搜索nautilus-open-terminal安装 命令行: sudo apt-get install nautilus-open-terminal 重新加载文件管理器 nautilus -q 或注销再登录
阅读全文
posted @ 2017-09-02 21:14 Dsp Tian
阅读(996)
评论(0)
推荐(0)
ubuntu密码正确,却不能登录图形界面
摘要: 传统的方法是修改.Xauthority文件权限,不过我试了没有用。 后来发现我的问题是因为安装了NVIDIA cuda驱动而导致的。 所以先卸载nvidia驱动,再更新,就可以正常进入了。 命令: sudo apt-get remove --purge nvidia-* sudo apt-get i
阅读全文
posted @ 2017-09-02 21:14 Dsp Tian
阅读(1429)
评论(0)
推荐(0)
Linux编程(获取系统时间)
摘要: #include #include int main() { time_t now; struct tm *w; time(&now); w=localtime(&now); printf("%04d/%02d/%02d\n%02d:%02d:%02d\n",w->tm_year+1900, ...
阅读全文
posted @ 2017-09-02 21:13 Dsp Tian
阅读(1251)
评论(0)
推荐(0)
【转】虚拟机安装Ubuntu的上网设置(有线网络和无线网络)
摘要: 虚拟机下ubuntu共享方式上网: 一. 有线网络 在有线网络的条件下,vmware的安装非常简单,上网方式几乎不用怎么设置(默认NAT模式) 如果默认情况下不能上网,则按以下步骤尝试: ********************************************************
阅读全文
posted @ 2017-09-02 21:13 Dsp Tian
阅读(966)
评论(0)
推荐(0)
【Java】多线程
摘要: class RunnableDemo implements Runnable { private Thread t; private String threadName; RunnableDemo( String name) { threadName = name; System.out.println("Creating " + threa...
阅读全文
posted @ 2017-09-02 21:12 Dsp Tian
阅读(449)
评论(0)
推荐(0)
上一页
1
···
31
32
33
34
35
36
37
38
39
···
79
下一页
公告