分类 杂物篓 下的文章


由   cc  撰写于    浏览:1405  评论:0
EXEC sp_attach_db @dbname = '数据库名',@filename1 = 'C:\Users\Administrator\Desktop\数据库名.mdf',@filename2 = 'C:\Users\Administrator\Desktop\数据库名 .ldf'

由   cc  撰写于    浏览:1411  评论:0
1.Nginx服务器配置:location ^~/vue { alias /data/wwwroot/vue; index index.html; try_files $uri $uri/ /vue/index.html; }2.Apache服务器配置:开启mod_rewrite模块,设置allowAllOverid[...]

由   cc  撰写于    浏览:1420  评论:0
数据库版本:SQLServer2005因误删数据库ldf文件,导致数据库无法访问。恢复步骤:1、临时拷贝mdf数据库文件到其他目录,删除原数据库app2、重新创建同名数据库app。3、停止SQLServer服务4、拷贝原来的mdf文件到SQLServer数据文件目录覆盖现有app.mdf文件。5、启动SQLServer服务,发现数据库名变成“app[...]

由   cc  撰写于    浏览:1442  评论:0
环境:CentOS+nginx+php7.01、下载扩展包,根据自己php版本下载不同版本的安装包wget -O php-5.6.25.tar.gz http://cn2.php.net/get/php-7.0.30.tar.gz/from/this/mirror2、解压tar -zxvf php-7.0.30.tar.gz3、进入扩展目录cd p[...]

由   cc  撰写于    浏览:1291  评论:0
CI框架在NGINX下的伪静态规则修改:1、locationlocation / {if (!-e $request_filename) {rewrite ^/(.*)$ /index.php/$1 last;break;}}或location / {       try_files $uri $uri/ /index.php?$uri&$[...]