会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
On the road of life, we learn as we go.
博问
闪存
新随笔
管理
上一页
1
···
3
4
5
6
7
2016年11月24日
nginx-(/etc/init.d/nginx)启动脚本
摘要: #!/bin/bash #nx Startup script for the Nginx HTTP Server # it is v.0.0.2 version. # chkconfig: - 85 15 # description: Nginx is a high-performance web and proxy server. # It has a lot...
阅读全文
posted @ 2016-11-24 17:00 JasonChen1030
阅读(6671)
评论(0)
推荐(0)
编辑
2016年11月15日
dos清除缓存
摘要: ipconfig /flushdns ,DNS缓存就被清除了. ipconfig /displaydns查看DNS缓存
阅读全文
posted @ 2016-11-15 11:03 JasonChen1030
阅读(401)
评论(0)
推荐(0)
编辑
bat 延时删除指定文件夹中的文件经验分享
摘要: 1、bat延时 xp程序中通过ping 127.0.0.1 -n 20 来实现延时操作,ping本地地址20行。 win7中通过timeout 20 来实现延时20秒。 2、删除指定文件 del /q d:\11\*.* 删除d:\11文件夹下的所有文件,并且不需要提示删除。 /P 删除每一个文件之
阅读全文
posted @ 2016-11-15 03:00 JasonChen1030
阅读(1125)
评论(0)
推荐(0)
编辑
centos 7 (操作应用)-关闭防火墙
摘要: Centos7 关闭防火墙 CentOS 7.0默认使用的是firewall作为防火墙,使用iptables必须重新设置一下 1、直接关闭防火墙 systemctl stop firewalld.service #停止firewall systemctl disable firewalld.serv
阅读全文
posted @ 2016-11-15 01:44 JasonChen1030
阅读(157)
评论(0)
推荐(0)
编辑
mysql数据库迁移
摘要: 由于yum安装mysql的时候,数据库的data目录默认是在/var/lib下,出于数据安全性的考虑需要把它挪到/data分区。步骤如下: 一、关闭apache和mysql. 复制代码 代码如下: service httpd stop service mysqld stop 二、将/var/lib下
阅读全文
posted @ 2016-11-15 01:44 JasonChen1030
阅读(606)
评论(0)
推荐(0)
编辑
二进制mysql5.7.16下载地址
摘要: 下载地址:http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.16-linux-glibc2.5-x86_64.tar.gz 2. 解压 tar xxvf mysql-5.7.12-linux-glibc2.5-x86_64.tar.gz mv mys
阅读全文
posted @ 2016-11-15 01:43 JasonChen1030
阅读(228)
评论(0)
推荐(0)
编辑
php编译内容
摘要: ./configure --prefix=/usrc/share/php--with-apxs2=/usr/share/apache2/bin/apxs--with-config-file-path=/usr/share/php/etc --with-mysql=/usr/share/mysql--
阅读全文
posted @ 2016-11-15 01:42 JasonChen1030
阅读(121)
评论(0)
推荐(0)
编辑
mount windows-linux文件共享
摘要: 。 (2)在linux下访问windows共享: smbclient -L 192.168.2.12 -U admin //查看共享了那些目录,由此知道主机名为XIAOXING-PC smbclient //192.168.2.12/Users -Uadmin 输入windows密码即可进入 //直
阅读全文
posted @ 2016-11-15 01:41 JasonChen1030
阅读(321)
评论(0)
推荐(0)
编辑
centos建立回收站
摘要: linux下的回收站在每一个当前用户目录./local/share/Trash中。 也可以给linux添加一个回收站。 mkdir /tmp/trash_tmp 建立一个回收站目录 vi /bin/trash 编辑一个文件 mv $@ /tmp/trash_tmp :wq 保存退出 alias rm
阅读全文
posted @ 2016-11-15 01:37 JasonChen1030
阅读(772)
评论(0)
推荐(0)
编辑
上一页
1
···
3
4
5
6
7