会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Howhy Blogs
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
32
33
34
35
36
37
38
39
40
···
42
下一页
2016年12月21日
使用tmpfs作为缓存加速缓存的文件目录
摘要: 使用tmpfs作为缓存加速缓存的文件目录 [root@web02 ~]# mount -t tmpfs tmpfs /dev/shm -o size=256m[root@web02 ~]# mount -t tmpfs /dev/shm/ /tmp/eaccelerator/[root@web02
阅读全文
posted @ 2016-12-21 10:47 howhy
阅读(319)
评论(0)
推荐(0)
2016年12月20日
nginx auth
摘要: # printf "howhy:$(openssl passwd -crypt 123456)\n" >>conf/htpasswd # cat conf/htpasswd howhy:xyJkVhXGAZ8tM systemctl restart nginx
阅读全文
posted @ 2016-12-20 18:06 howhy
阅读(293)
评论(0)
推荐(0)
memcached
摘要: memcache是一个开源的 高性能的内存缓存系统 作用:通过事先规划好的内存空间中临时缓存各类数据,以达到减少业务对数据库的直接高并发访问 ,从而达到提升数据库的访问性能,加速网站集群动态应用服务的访问能力 php session共享会话 在php.ini中修改 修改配置文件,在php.ini中全
阅读全文
posted @ 2016-12-20 17:28 howhy
阅读(292)
评论(0)
推荐(0)
xargs
摘要: 最近我从svn上checkout出来了一个文件夹,然后加入了git的跟踪目录.用过svn的同学可能知道,这个文件夹里面每一层级都有个.svn隐藏文件夹,需要删除他们.本来我准备笨拙地一个一个手动删除的,一位同事在我面前敲了大概是$find . -type d -name "*.svn" | xarg
阅读全文
posted @ 2016-12-20 14:33 howhy
阅读(223)
评论(0)
推荐(0)
2016年12月16日
shell调试
摘要: sh -x set -x 中间是要调试的代码 set +x
阅读全文
posted @ 2016-12-16 16:29 howhy
阅读(241)
评论(0)
推荐(0)
md5sum
摘要: find ~/ -type f | xargs md5sum >>/opt/md5sum.log 会生成每一个文件的md5值和对应的文件位置的文件 md5sum -c /opt/md5sum.log 会根据文件中相应的位置文件重新生成md5值与该文件的MD5相比较输出结果
阅读全文
posted @ 2016-12-16 16:27 howhy
阅读(143)
评论(0)
推荐(0)
ssh-keygen -t rsa P “” -f ~/.ssh/id_rsa不提示直接生成密钥
摘要: ssh-keygen -t rsa P “” -f ~/.ssh/id_rsa不提示直接生成密钥
阅读全文
posted @ 2016-12-16 15:26 howhy
阅读(7881)
评论(0)
推荐(0)
在特定的行后添加特定的字符串
摘要: sed -i 's/^aabbcc.*/&helloworld/g' 1.txt
阅读全文
posted @ 2016-12-16 13:02 howhy
阅读(220)
评论(0)
推荐(0)
2016年12月15日
Linux基础命令介绍七:网络传输与安全 wget curl rsync iptables
摘要: 本篇接着介绍网络相关命令:wget 文件下载工具、curl 网络数据传输工具、rsync 文件传输工具等。 本篇接着介绍网络相关命令:wget 文件下载工具、curl 网络数据传输工具、rsync 文件传输工具等。 本篇接着介绍网络相关命令 1、wget 文件下载工具 wget [option]..
阅读全文
posted @ 2016-12-15 15:10 howhy
阅读(1129)
评论(0)
推荐(0)
2016年12月14日
case while for
摘要: #!/bin/bash#create by howhy 20161214#mysql server start stop restart. /etc/init.d/functionsmysqldir="/opt/local/mysql"[ -e "$mysqldir" ] && cd "$mysql
阅读全文
posted @ 2016-12-14 17:57 howhy
阅读(151)
评论(0)
推荐(0)
上一页
1
···
32
33
34
35
36
37
38
39
40
···
42
下一页
公告