简单的ubuntu下的ftp服务器架设介绍1. 安装 vsftpdsudo apt-get install vsftpd2. 更改配置文件 vsftpd.confsudo vi /etc/vsftpd.conf更新以下几项参数设置anonymous_enable=NO # 阻止匿名登陆seccomp...
分类:
其他好文 时间:
2014-07-22 22:54:34
阅读次数:
172
一.iptables简介1.iptables数据包处理流程以本机为目的的包,由上至下,走左边的路本机产生的包,从local process开始走左边的路本机转发的包,由上至下走右边的路简化流程如下:2.iptables表结构在neutron中主要用到filter表和nat表filter表: ...
分类:
其他好文 时间:
2014-07-19 22:18:24
阅读次数:
468
[libvirt] FYI: a short guide to libvirt & network filtering iptables/ebtables use Firewall / network filtering in libvirt ============================...
分类:
Web程序 时间:
2014-07-16 18:20:26
阅读次数:
348
#!/usr/bin/env python"""Bootstrap setuptools installationTo use setuptools in your package's setup.py, include thisfile in the same directory and add ...
分类:
编程语言 时间:
2014-07-16 17:38:43
阅读次数:
309
1.制作setup.pyfrom distutils.core import setupsetup(name='Myblog', version='1.0', description='My Blog Distribution Utilities', author='l...
分类:
编程语言 时间:
2014-07-16 15:45:26
阅读次数:
197
1.环境VMware 10CentOS-6.3-x86_64Oracle:linux.x64_11gR2硬件上我分了2.5G的内存,30G硬盘(应该不需要这么大)2个U2.2.1 先把系统装上,root登陆之后需要改掉系统设置: setup命令关掉防火墙 vi /etc/selinux/config...
分类:
数据库 时间:
2014-07-16 15:23:24
阅读次数:
353
如何进行Mongodb测试?
我们在java中使用Mongodb作为数据库进行存储的时候,怎么样对于进行测试呢?一种可能直接的方式就是在setUp中getDB,然后在tearDown里面dropDatabase。这样的方式相对来说比较慢。一种更好的方式就是使用fake的数据库,比如embedded的Mongodb用于测试。http://xunitpatterns.com/Test%20Doubl...
分类:
数据库 时间:
2014-07-16 14:07:53
阅读次数:
344
iphone手机连接USB时出现需要Mobile device setup disk上的usbaapl.sys文件...
分类:
移动开发 时间:
2014-07-16 13:52:54
阅读次数:
299
首先找到iptables文件
一般在 /etc/sysconfig下面
然后vi iptables
如同 添加一行-A INPUT ......即可打开端口
保存后输入
service iptables restart
重启下服务...
分类:
系统相关 时间:
2014-07-16 09:19:33
阅读次数:
242
arch/arm/include/asm/cputype.h
arch/arm/kernel/setup.c
1. read_cpuid_id(CPUID_ID)
#define read_cpuid(reg) ({...
分类:
其他好文 时间:
2014-07-15 10:31:21
阅读次数:
552