操作系统-linux
操作系统-linux
山里巴人
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Ubuntu开机自动挂载硬盘
因为我的电脑是WIN10 + Ubuntu18.04双系统,且两个系统都装在C盘上,而D盘作为数据和代码存储盘,经常会开机就被访问,例如上一次关机前用VS Code访问D盘代码,然后下一次开机的时候打开VSCode发现打不开,因为D盘没有在开机就被自动挂在,所以这里记录一下如何开机自动挂载硬盘。原创 2024-01-13 09:03:35 · 895 阅读 · 0 评论 -
centos6.5系统可用yum源(32位)以及rpmforge
[10gen] name=10gen Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686 gpgcheck=0 # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and原创 2014-11-12 10:51:45 · 2824 阅读 · 0 评论 -
使用scrapy进行大规模抓取
原文:http://www.yakergong.net/blog/archives/500 使用scrapy有大概半年了,算是有些经验吧,在这里跟大家讨论一下使用scrapy作为爬虫进行大规模抓取可能遇到的问题。我们抓取的目标是教育网上的网站(目前主要针对.edu.cn和.cas.cn/.cass.cn域名),这半年里抓取了百万以上的url,其实百万url的规模不算大,我们一直在断断转载 2014-11-12 11:50:02 · 4982 阅读 · 0 评论 -
Git错误non-fast-forward后的冲突解决
当要push代码到git时,出现提示: error:failed to push some refs to ... Dealing with “non-fast-forward” errors From time to time you may encounter this error while pushing: $ git push origin master转载 2014-11-17 16:30:32 · 584 阅读 · 0 评论 -
Our dream
I want to establish a paltform to grep some usefull, which uses scrapy tool. so ,if原创 2014-11-17 17:20:24 · 748 阅读 · 0 评论 -
PIL IOError: cannot identify image file 'images/1212.jpg'的解决办法
instead of import Image fixed the issue原创 2014-11-20 16:16:38 · 7653 阅读 · 0 评论 -
如何安装PIL--*** TKINTER support not available---IOError: cannot identify image file
ImportError: libjpeg.so.8: cannot open shared object file: No such file or directory原创 2014-11-20 16:19:10 · 5481 阅读 · 0 评论 -
发布分布式版本的spider了[hispider]
http://www.chinaunix.net/old_jh/23/1257018.html 严格说只能是一个spider系统的框架, 没有细化需求, 目前只是能提取URL, URL排重, 异 步DNS解析, 队列化任务, 支持N机分布式下载. 工作流程: 从中心节点取URL(包括URL对应的任务号, IP和port,也可能需要自己解析)转载 2014-11-21 11:12:31 · 934 阅读 · 0 评论 -
scrapy-mysql
最近用scrapy来进行网页抓取,对于pythoner来说它用起来非常方便,详细文档在这里:http://doc.scrapy.org/en/0.14/index.html 要想利用scrapy来抓取网页信息,需要先新建一个工程,scrapy startproject myproject 工程建立好后,会有一个myproject/myproject的子目录,里面有item.py(由于你转载 2014-11-22 12:44:52 · 2028 阅读 · 0 评论 -
我的svn配置
linux服务器: svnadmin create /home/svn/myrepo (myrepo是版本库名) authz: [group] [/] name = rw passwd: name = namepasswd server.conf anonuser = read authuser = write zuth_da = authz pass_d原创 2014-11-29 12:28:57 · 12676 阅读 · 0 评论 -
linux下mysql支持中文的问题
由于我的mysql安装好了以后,在/etc下只有一个my.cnf文件,没有my.conf 和my.ini文件。 后来才知道这是标准版,才是这样的。 为了使mysql支持中文,我做了以下操作。 一: find / | grep my-large.cnf 找到大概是share文件夹下和doc 文件夹下有这个文件。拷到/etc/my.cnf,覆盖。原创 2014-12-12 23:11:02 · 1818 阅读 · 0 评论 -
Program “make” not found in PATH
this article had helped me. thanks. Program “make” not found in PATH up vote11down votefavorite I'm having the Program "make" not found in PATH原创 2015-06-14 13:52:08 · 14707 阅读 · 0 评论 -
U盘装centos日记(使用大白菜最新版20150927)
U盘装centos日记--使用大白菜最新版原创 2015-09-27 09:19:40 · 13298 阅读 · 0 评论 -
mplayer播放器,没有声音.
昨晚,我试了一下CentOS下安装的mplayer播放器,能看到时间在走,就是没有声音。 在网上找到许多朋友也遇到类似的问题。他们的解决方法是: $ mknod /dev/dsp c 14 3 $ chmod 666 /dev/dsp 此方法有效,特此一记。转载 2015-10-09 21:06:36 · 2030 阅读 · 0 评论 -
linux Centos下Mplayer没有声音的解决方法
前段时间编译安装的一个mplayer1.1版的播放器,播放文件没有声音,每次执行以下命令可以听,但一重启系统又不行了. #modprobe snd_pcm_oss #echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss #mplayer gongxi.mp3 有一行提示[AO OSS] audio_setup:无法打开音频设备/dev/转载 2015-10-11 19:12:55 · 5196 阅读 · 0 评论 -
CentOS安装NVIDIA驱动记
https://my.oschina.net/hevakelcj/blog/176129 收藏临峰不畏 发表于 4年前 阅读 1656 收藏 1 点赞 0 评论 0新睿云服务器60天免费使用,快来体验!>>> 今天由于安装Wine的缘故,安装了一下自己电脑上的显示驱动。我的操作系统信息:hevake_lcj@localhost:~/Install$ uname -a Linu...转载 2018-03-26 09:13:07 · 5573 阅读 · 0 评论
分享