会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Chocolate·Lee
博客园
首页
新随笔
联系
订阅
管理
随笔 - 16
文章 - 0
评论 - 0
阅读 -
10509
1
2
下一页
2015年7月26日
查询端口下请求总数
摘要: 一、查询端口下请求总数netstat -nat|grep -i "80"|wc -l
阅读全文
posted @ 2015-07-26 16:29 Chocolate·Lee
阅读(218)
评论(0)
推荐(0)
2015年7月8日
nginx使用GeoIP限制访问并支持白名单
摘要: 要使用GeoIP,需要重新编译Nginx,我的系统是centos6.5,nginx用的是tengine,需要的软件包:gcc、gcc-c++、 openssl、 openssl-devel、geoIP library、GeoLite Country、GeoLite City、pcre、tengine...
阅读全文
posted @ 2015-07-08 10:38 Chocolate·Lee
阅读(1571)
评论(0)
推荐(1)
2015年7月2日
Nginx
摘要: Nginx的平滑重启如果改变了Nginx的配置文件(nginx.conf),想重启Nginx,可以发送系统信号给Nginx主进程的方式来进行。不过,在重启之前,要确认Nginx配置文件的语法是正确的,可通过如下命令测试配置文件是否正确:/usr/local/nginx/sbin/nginx -t -...
阅读全文
posted @ 2015-07-02 13:30 Chocolate·Lee
阅读(193)
评论(0)
推荐(0)
2015年6月8日
用户管理
摘要: 一、新增用户#使用 root 用户建立一个普通用户:adduser joe passwd joe #[输入用户密码] #[再次输入用户密码确认]二、删除用户userdel username#同时删除用户的宿主目录userdel -r username 三、新增组#1.新建test工作组groupad...
阅读全文
posted @ 2015-06-08 23:41 Chocolate·Lee
阅读(149)
评论(0)
推荐(0)
2015年6月3日
Linux远程连接服务器
摘要: #一、登录服务器ssh root@xxx.xxx.xxx.xxx#二、从服务器下载文件到本机中scp root@xxx.xxx.xxx.xxx:/home/root/xxxx(服务器目录) /xxxx(本机目录)#三、将本机文件上传到服务器scp /xxxx(本机目录) root@xxx.xxx.x...
阅读全文
posted @ 2015-06-03 10:30 Chocolate·Lee
阅读(206)
评论(0)
推荐(0)
git提交初始文件
摘要: #服务器创建好git仓库后,具有写权限的人可以提交初始文件git initgit add .git commit -m "Init"git remote add origin git@xxx.xxx.xxx.xxx:p1.gitgit push origin master如果输入$ git remo...
阅读全文
posted @ 2015-06-03 10:14 Chocolate·Lee
阅读(239)
评论(0)
推荐(1)
git创建工程
摘要: 一、keydir目录下添加m公钥二、conf下添加组[group g1]members = m1 m2 m3 m4[group g2]members = @g1三、conf下添加工程[group p1]members = @g1 @g2writable = p1四、服务器上repositories创...
阅读全文
posted @ 2015-06-03 09:48 Chocolate·Lee
阅读(175)
评论(0)
推荐(1)
2015年5月26日
Mac下删除废纸篓内文件
摘要: #首先进入废纸篓cd ~/.Trash/#然后删除
阅读全文
posted @ 2015-05-26 01:34 Chocolate·Lee
阅读(258)
评论(0)
推荐(1)
2015年5月13日
Linux指令
摘要: # 1.移动文件(有重名则覆盖)mv aFinder/aFile.xx otherFinder/thisFile.xx# 2.拷贝文件(有重名则覆盖)cp aFinder/aFile.xx otherFinder/thisFile.xx# 3.显示日期datedate +%Y/%m/%ddate +...
阅读全文
posted @ 2015-05-13 23:38 Chocolate·Lee
阅读(173)
评论(0)
推荐(0)
2015年4月29日
js简单地发送一个请求
摘要: 利用js发送简单GET的请求:var xmlhttp;if (window.XMLHttpRequest){// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest();} else {// code...
阅读全文
posted @ 2015-04-29 18:44 Chocolate·Lee
阅读(856)
评论(0)
推荐(1)
1
2
下一页
公告
昵称:
Chocolate·Lee
园龄:
10年2个月
粉丝:
2
关注:
3
<
2025年6月
>
日
一
二
三
四
五
六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
我的标签
git
(3)
nginx
(2)
Mac
(2)
linux
(2)
user
(1)
statusbar
(1)
sshssh
(1)
ssh
(1)
scrollview
(1)
scp
(1)
更多
随笔分类
git(3)
JS(1)
OC(3)
server(2)
Shell(6)
随笔档案
2015年7月(3)
2015年6月(4)
2015年5月(2)
2015年4月(7)
阅读排行榜
1. 在scrollView上增加滑动手势(Pan)(3843)
2. nginx使用GeoIP限制访问并支持白名单(1571)
3. 设置状态栏(statusbar)的样式(1519)
4. js简单地发送一个请求(856)
5. 遍历指定文件下所有文件,删除指定后缀文件(724)
推荐排行榜
1. nginx使用GeoIP限制访问并支持白名单(1)
2. git提交初始文件(1)
3. git创建工程(1)
4. Mac下删除废纸篓内文件(1)
5. js简单地发送一个请求(1)
点击右上角即可分享