drbd-8.4.3.tar.gz源码编译制作rpm包解压tar-axfdrbd-8.4.3.tar.gz./configure--enable-spec--with-km##--enable-specRatherthancreatingMakefiles,createanRPMspe##--with-kmEnablekernelmodule如果编译出现:configure:error:noacceptableCcompilerfoundin$PATH则yuminstall-..
分类:
其他好文 时间:
2016-09-23 00:10:28
阅读次数:
191
0.安装apache2.2./configure--prefix=/usr/local/apache--enable-so\--enable-rewrite--with-mpm=workermake&&makeinstall1.安装jdktarzxvfjdk-7-linux-i586.gzmvjdk1.7.0/usr/local/jdk/usr/local/jdk/bin/java--version2.安装tomcat7.0.37tarzxvfapache-tomcat-7.0.3..
分类:
Web程序 时间:
2016-09-22 18:27:16
阅读次数:
280
1.编译方法1./configure--prefix=/usr/local/apache\--with-mpm=prefork\--enable-so\--enable-modules="all"\--enable-mods-shared="all"make&&makecpsupport/apachectl/etc/init.d/httpdchmod+x/etc/init.d/httpd2.编译方法2./configure--prefix=/usr/local/apache\-..
分类:
Web程序 时间:
2016-09-22 18:26:53
阅读次数:
209
vsftpd版本:2.2.21》禁止用户任意切换目录:chroot_local_user=NOchroot_list_enable=YESchroot_list_file=/etc/vsftpd/chroot_list关键是这三项,取消掉前面的注释,只有chroot_list中的用户才能切换浏览到外面的目录。2》用户访问控制黑白名单:/etc/vsftpd/ftpusers黑名单,..
分类:
其他好文 时间:
2016-09-22 11:44:16
阅读次数:
131
<!DOCTYPEhtml><html><head> <metacharset="utf-8"/> <title>DOM0级添加</title> <styletype="text/css"> input{ height:20px; width:80px; border:1px; } #addo{ background-color:blue; } </style> <scriptt..
分类:
Web程序 时间:
2016-09-21 00:22:24
阅读次数:
324
WebForm 4.5 开发中,很多控件默认Enable了 Unobtrusive ValidationMode(所谓Unobtrusive Validation,就是一种隐式的验证方式)的属性(和jquery的引用相关),但并未对其进行赋值, Programmer必须手动对其进行设置。比如,在进行 ...
分类:
移动开发 时间:
2016-09-20 11:52:52
阅读次数:
179
Php编译安装1.解压缩php包2.编译参数./configure--prefix=/usr/local/lnm--witconfig-file-path=/usr/local/lnmp/php/etc--with-mysql--with-mysqli--with-pdo-mysql--enable-mysqlnd--with-openssl--with-snmp--with-gd--with-zlib--with-curl--with-libxml-dir--with-png-dir..
分类:
Web程序 时间:
2016-09-19 22:49:55
阅读次数:
422
在这个实验中,创建VLAN10和VLAN20,将HostA、HostD划入VLAN10,HostB、HostC划入VLAN20,实现跨VLAN间。网络拓扑图2所示。图2、跨交换机VLAN拓扑图在没有创建VLAN之前,PC之间可以相互ping通,创建VLAN后,相同VLAN可以相互ping通。两台交换机使用F0/5口连接。各主机PC的配置..
分类:
其他好文 时间:
2016-09-19 13:25:21
阅读次数:
233
申请: typedef struct Vo { int Voltage; float Delay_ms; char Enable; }Volt_Def; typedef struct ed { float Delay_ms; int Level; }Edge_Def; typedef struct ...
分类:
其他好文 时间:
2016-09-18 19:44:04
阅读次数:
129
网络拓扑: 路由模式: 第一步、配置防火墙的接口地址 编辑外网接口: 配置内网口(原理同上)(interface mode:nat) 第二步、配置防火墙的路由 第三步、配置防火墙安全策略 Cisco交换机: enable conf t vlan 30 int vlan 30 ip addr 10.1 ...
分类:
系统相关 时间:
2016-09-17 19:24:47
阅读次数:
276