摘要: http://www.programgo.com/article/63404393565/ 资料网址 http://www.programgo.com/article/63404393565/ 资料网址 1、在Client上root用户执行ssh-keygen命令,生成建立安全信任关系的证书。 Cl 阅读全文
posted @ 2016-07-05 17:56 星希望 阅读(3604) 评论(0) 推荐(0) 编辑
摘要: 解析乱的日志文件到临时文件中,然后用awk 1004 cd /usr/local 1005 ll 1006 cd pttmsg/ 1007 ll 1008 cd msgbin-2/ 1009 ll 1010 cd proxy 1011 ll 1012 cd log 1013 ll 1014 tail 阅读全文
posted @ 2016-07-05 17:54 星希望 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 12 yum install lrzsz -y 13 rz 14 ll 15 unzip -o yunwei.zip 16 unzip yunwei.zip 17 yum install zip unzip 18 ll 19 unzip -o yunwei.zip 20 ll 21 mkdir -p 阅读全文
posted @ 2016-07-05 17:51 星希望 阅读(838) 评论(0) 推荐(0) 编辑
摘要: 1:查看环境: 1 2 [root@10-4-14-168 html]# cat /etc/redhat-release CentOS release 6.5 (Final) 1 2 [root@10-4-14-168 html]# cat /etc/redhat-release CentOS re 阅读全文
posted @ 2016-07-05 17:48 星希望 阅读(140) 评论(0) 推荐(0) 编辑
摘要: http://kenby.iteye.com/blog/1979899 yaf源码分析学习网站 三.利用Yaf自带的快速代码生成工具yaf_code_generator生成代码 # cd tools/cg # /usr/local/webserver/php/bin/php yaf_cg app # 阅读全文
posted @ 2016-07-05 17:42 星希望 阅读(241) 评论(0) 推荐(0) 编辑
摘要: # $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more i 阅读全文
posted @ 2016-07-05 17:38 星希望 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 学习新知识,需要在电脑上安装centos,新安装了centos7之后,发现无法yum,无法ping外网。百度了很久,最后自己思考了,想清楚了。1.要想连网,开启网卡是必须的,操作如下:编辑以下文件(ps:ifcfg-ens33后面的数字可能不一样) 2.编辑ONBOOT=yes,保存。 3.输入命令 阅读全文
posted @ 2016-07-05 17:30 星希望 阅读(1980) 评论(0) 推荐(0) 编辑
摘要: linux系统调优,参考百度搜索 linux ssh命令 /etc/init.d/sshd restart 重启ssh 193 ls 194 vim /etc/ssh/sshd_config 编辑ssh配置 GSSAPIAuthentication no X11Forwarding no UseDN 阅读全文
posted @ 2016-07-05 17:28 星希望 阅读(323) 评论(0) 推荐(0) 编辑
摘要: server { listen 80; server_name aa.bb.com; index index.html index.htm index.php default.html default.htm default.php; root /data/wwwroot; location / { 阅读全文
posted @ 2016-07-05 17:25 星希望 阅读(364) 评论(0) 推荐(0) 编辑
摘要: worker_processes 1; events { worker_connections 1024; } http { upstream www { server 127.0.0.1:9001 weight=5 max_fails=0 fail_timeout=5s; } upstream a 阅读全文
posted @ 2016-07-05 17:22 星希望 阅读(133) 评论(0) 推荐(0) 编辑