使用nginx作为下载站点,开启目录浏览的功能 在/etc/nginx/sites-enabled/default中添加: autoindex on ; autoindex_exact_size off; autoindex_localtime on;说明:第一个为目录浏览功能开始...
分类:
其他好文 时间:
2014-08-25 22:38:34
阅读次数:
221
1.开机,按Del键进入系统CMOS设置,移动光标到“Power Management Setup”项后按回车。2.在打开的菜单中找到“Power Up Alarm”选项,其默认值为“Disabled”即不能定时开机,必须按一下PageDown键将其改为“Enabled”。3.这时会发现其下多出几行...
分类:
其他好文 时间:
2014-08-25 14:36:04
阅读次数:
167
在PHP5.4版本当中给我们提供了好用的特性,上传进度的支持,我们可以配合Ajax动态获取SESSION当中的上传进度:在使用这一特性之前,需要现在php.ini文件当中进行相应的设置:123456session.upload_progress.enabled[=On]:是否启用上传进度报告(默认开...
分类:
Web程序 时间:
2014-08-23 02:19:39
阅读次数:
246
vi/etc/apache2/sites-enabled/000-default#Alias/doc/"/usr/share/doc/"#<Directory"/usr/share/doc/">#OptionsIndexesMultiViewsFollowSymLinks#AllowOverrideNone#Orderdeny,allow#Denyfromall#Allowfrom127.0.0.0/255.0.0.0::1/128#</Directory>重启apache网站..
分类:
其他好文 时间:
2014-08-19 16:55:05
阅读次数:
228
缩写原意: Overflow of = OV NV [No Overflow] Direction df = DN (decrement) UP (increment) Interrupt if = EI (enabled) DI (disabled) Sign sf = NG (negative)...
分类:
编程语言 时间:
2014-08-18 18:06:32
阅读次数:
417
1.配置yum
[root@db /]# cd /etc/yum.repos.d/
[root@db yum.repos.d]# vi yum.repo --修改光盘挂载位置,enabled设置为启动
配置yum参考链接:yum配置举例
2.构建samba服务器
[root@db /]# yum install -y samba-* --使用yum安装samba服务器
[root@d...
1、基本配置# is this config file disabled
# false for enabled
# true for disabled
disabled=false# the name of the group this storage server belongs to
group_name=group1# bind an address of this host
#...
分类:
其他好文 时间:
2014-08-16 13:50:50
阅读次数:
292
1、基本配置# is this config file disabled
# false for enabled
# true for disabled
disabled=false# bind an address of this host
# empty for bind all addresses of this host
bind_addr=10.16.139.202# the track...
分类:
其他好文 时间:
2014-08-16 13:50:40
阅读次数:
299
开启rewrite模块 ls?-l?/etc/apache2/mods-available/rewrite.load??
sudo?a2enmod?rewrite???
ls?-l?/etc/apache2/mods-enabled/rewrite.load?
sudo?vi?/etc/apache2/sites-available/default
su...
分类:
系统相关 时间:
2014-08-15 21:16:49
阅读次数:
306
??
在.net中有三种计时器,一是System.Windows.Forms命名空间下的Timer控件,它直接继承自Componet;二是System.Timers命名空间下的Timer类。
Timer控件:Timer控件只有绑定了Tick事件,和设置Enabled=True后才会自动计时,停止计时可以用Stop()控制,通过Stop()停止之后,如果想重新计时,可以用Start()方法来启动...
分类:
其他好文 时间:
2014-08-15 12:53:18
阅读次数:
240