linux iptables导致httpd网页打不开(转帖)

linux iptables导致httpd网页打不开

原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://taotao1240.blog.51cto.com/731446/611758
  问题:httpd 服务已启动,80端口已开,但是网页就是打不开,重启服务器还是不行 忽然想看看log,记录如下: [Fri Jul 15 00:41:03 2011] [notice] SELinux policy enabled; httpd running as context root:syste[……]

Read more

[…]

linux 如何显示一个文件的某几行(中间几行)

linux 如何显示一个文件的某几行(中间几行)

【一】从第3000行开始,显示1000行。即显示3000~3999行 cat filename | tail -n +3000 | head -n 1000   【二】显示1000行到3000行 cat filename| head -n 3000 | tail -n +1000   *注意两种方法的顺序   分解: tail -n 1000:显示最后1000行 tail -n +1000:从1000行开始显示,显示1000行以后的 hea[……]

Read more

[…]

Bowtie2-manual (转贴)

getting started with Bowtie 2: Lambda phage example-从这里开始使用Bowtie2:λ噬菌体的例子

Bowtie2自带了一些入门级的示例文件,这些示例文件并不具有科学含义,我们用λ噬菌体的参考基因组只是因为它很短,并且例子里面的reads是由一个电脑程序生成的而不是测序的结果。但是,这些文件能让你立即开始运行Bowtie2和下游的程序。 首先按照获取Bowtie2的指导下载它。设置Bowtie2环境变量BT2_HOME,把它指向含有bowtie2, bowtie2-buildbowtie2-inspect二进制文件的新Bowtie2的[……]

Read more

[…]

关于PYTHON_EGG_CACHE无权限的问题

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.
Traceback (most recent call last):
  File "/data/wap/www/spider/picture.py", line 8,[......]

Read more

[…]