一、配置防火墙,开启80端口、3306端口CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewall...
分类:
数据库 时间:
2014-09-10 01:37:39
阅读次数:
392
#tar -zxf scons-2.1.0.tar.gz #cd scons-2.1.0 #python setup.py install #tar -zxf jsoncpp-src-0.5.0.tar.gz #cd jsoncpp-src-0.5.0 #scons platform=linux-....
分类:
Web程序 时间:
2014-09-09 17:54:39
阅读次数:
267
说明:①如果发现was、datastage已经自启动,但db2没有自启动,应先将它们停止,在按顺序启动;②如果都自启动了,就不用再启动,关闭防火墙即可。--0、关闭防火墙service iptables stop--1、db2su - db2inst1db2startps -efa | grep d...
分类:
其他好文 时间:
2014-09-09 15:12:18
阅读次数:
160
时间关系,linux环境下的配置过程先放着,有时间会一并整理出来···现在就先从老师给的cygwin环境开始。开始之前需要先准备以下文件:1. 老师给的Cygwin_setup.rar,没有的可以到http://dl.vmall.com/c0cu5yxa2i下载2. 老师给的cygwin.rar,这...
Centos查看端口占用情况命令,比如查看80端口占用情况使用如下命令: lsof -i tcp:80 列出所有端口 netstat -ntlp 1、开启端口(以80端口为例) ? ? ? 方法一: ? ? ? ? ?/sbin/iptables -I INPUT -p tc...
分类:
其他好文 时间:
2014-09-09 13:53:38
阅读次数:
158
如果是某一特定文件类型的(根据扩展名)的问题,是文件关联的问题,去注册表里寻找答案吧!用setup factory制作的安装包,之前一直都挺正常的,今天怎么试了一下,有时有图标有时没有,奇怪的很。于是追查了一下,原来我是因为我是在32位系统下编译的生成的安装包,它安装时只找%ProgramFiles...
分类:
其他好文 时间:
2014-09-09 11:12:38
阅读次数:
231
1.publish2.update print_lolPS:for Step 1.write the code in to a py file. put the py file into a folder named nester. new a py file named 'setup' and t...
分类:
编程语言 时间:
2014-09-09 10:44:28
阅读次数:
309
如果你的IPTABLES基础知识还不了解,建议先去看看.开始配置我们来配置一个filter表的防火墙.(1)查看本机关于IPTABLES的设置情况[root@tp ~]# iptables -L -nChain INPUT (policy ACCEPT)target prot opt source ...
分类:
系统相关 时间:
2014-09-07 19:45:25
阅读次数:
372
Python第三方模块中一般会自带setup.py文件,在Windows环境下,我们只需要在命令行中使用以下命令即可自动化安装python setup.py install安装的过程中有可能会出现“ImportError: No module named setuptools”的错误提示,这是因为W...
分类:
编程语言 时间:
2014-09-07 17:07:15
阅读次数:
203
netfilter 内部有三个表:filter 、nat 、mangle每个表又有不同的操作链: 1、在filter这个防火墙功能的表中有三个chain:INPUT、FORWARD、OUTPUT。 也就是对包的入、转发、出进行定义的三个过滤链 2、在nat(Network Address ...
分类:
Web程序 时间:
2014-09-07 11:00:34
阅读次数:
197