下面的设置仅允许*.ms026.com和www.ms026.com绑定并访问主机NameVirtualHost *ServerName
default:80Order Allow,DenyDeny from allDocumentRoot ../htdocs/gbServerName
www.ms0...
分类:
Web程序 时间:
2014-05-23 22:07:09
阅读次数:
349
使用备份文件初始化日志复制对于大的数据库使用快照初始化既影响性能又花费大量的时间,在某些情况下我们可以使用数据库备份做初始化。1.
首先根据创建的Article建立发布。2.修改 allow initialization from
backup的选项为True.3.备份发布数据库。Backup .....
分类:
其他好文 时间:
2014-05-23 07:18:12
阅读次数:
268
编辑D:\wamp\alias\phpmyadmin.conf配置文件,找到最后面一行的:Allow from 127.0.0.1修改为:Allow from
allwamp默认安装的mysql的root是不设置密码的,所以在人为的修改root密码后,会造成phpmyadmin访问拒绝的问题,这时候...
分类:
Web程序 时间:
2014-05-22 14:12:35
阅读次数:
468
Apache Cordova is a set of device APIs that
allow a mobile app developer to access native device function such as the camera
or accelerometer from Jav...
分类:
其他好文 时间:
2014-05-22 02:34:01
阅读次数:
264
1.安装squid3
sudo apt-get install squid3
2,配置squid3
sudo cd /etc/squid3
sudo vim squid.conf
/http_access
N为向下查找 找到http_access deny all 把deny改成allow
3启动squid3
Sudo service squid3 start
关闭
S...
分类:
其他好文 时间:
2014-05-21 11:02:53
阅读次数:
270
NicEdit - WYSIWYG Content Editor, Inline Rich
Text ApplicationWhat is NicEdit?NicEdit is a Lightweight, Cross Platform, Inline
Content Editor to allow...
分类:
其他好文 时间:
2014-05-19 22:33:12
阅读次数:
391
AngularJS DirectivesDirectivesare one of the
most powerful ofAngularJS. They allow us to extend HTML to answer the needs of
web applications. Directiv...
分类:
Web程序 时间:
2014-05-17 15:26:40
阅读次数:
436
第一种:01假如要改SSH的默认端口(22),那么你只要修改:/etc/ssh/sshd_config中Port
22,这里把22改成自己要设的端口就行了,不过千万别设和现已有的端口相同哦,以防造成未知后果。02假如要限制SSH登陆的IP,那么可以如下做:先:修改/etc/hosts.deny,在其...
分类:
系统相关 时间:
2014-05-16 07:30:37
阅读次数:
401
ServerAdmin www.test2.com DocumentRoot
"D:/PHP/Apache/htdocs/testSite2" Options Indexes FollowSymLinks AllowOverride
None Order allow,deny ...
因业务需要需要用zabbix来监控nginxstatus,具体是如下的做法:1.首先在nginx的配置文件中添加如下内容,需要注意的是nginx的文件格式,在allow中我们需要注意的是需要添加zabbixserver的IP地址,不然无法采集到数据,2.重启nginx服务器查看nginx服务器是否能正常打开,Nginxstatus..
分类:
其他好文 时间:
2014-05-16 01:58:04
阅读次数:
331