上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 58 下一页
摘要: . 安装libmemached复制代码 代码如下:wget https://launchpad.net/libmemcached/1.0/1.0.16/+download/libmemcached-1.0.16.tar.gztar -zxvf libmemcached-1.0.16.tar.gzcd... 阅读全文
posted @ 2015-06-20 16:13 agang_19 阅读(177) 评论(0) 推荐(0) 编辑
摘要: yum install samba samba-client samba-swatcp -p /etc/samba/smb.conf /etc/samba/smb.conf.orig/bin/systemctl restart smb.service vim smb.confuseradd alic... 阅读全文
posted @ 2015-06-20 01:27 agang_19 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 一、首先是安装VMWare tools1、以ROOT身份进入LINUX 2、在虚拟机软件VMWARE状态栏中,点击 SETTING菜单下的ENABLE VMWARE TOOLS子菜单,此时在linux的/media/下会出现一个新文件夹,把vmware-linux-tools.tar.gz(具体名字... 阅读全文
posted @ 2015-06-18 22:42 agang_19 阅读(183) 评论(0) 推荐(0) 编辑
摘要: use mysqlselect * from user \G;UPDATE user set password=PASSWORD('root') where user='root'grant all on *.* to root@'%' Identified by 'root'上次设置了密码发现不起... 阅读全文
posted @ 2015-06-07 00:36 agang_19 阅读(168) 评论(0) 推荐(0) 编辑
摘要: http://www.rollosay.com/it/%E4%BD%BF%E7%94%A8OAuth-Server-PHP%E5%AE%9E%E7%8E%B0OAuth2%E6%9C%8D%E5%8A%A1在现在的网络服务中,OAuth2.0服务已经很普遍了,无论是facebook或者微博的第三方登... 阅读全文
posted @ 2015-06-06 16:41 agang_19 阅读(1885) 评论(0) 推荐(0) 编辑
摘要: netstat -ntupln表示不查询dnst表示tcp协议u表示udp协议p表示查询占用的程序l表示查询正在监听的程序查看那个进程占用了xxx端口lsof -i:xxx查看进程号为xxx的进程在哪里ps -ef|grep xxxps -ef |grep 程序名netstat -nltp |gre... 阅读全文
posted @ 2015-06-03 18:33 agang_19 阅读(635) 评论(0) 推荐(0) 编辑
摘要: 控制器调用: function gets() { $model = Model('ap_pic'); $model->select = ' id, size_type '; $gets['page'] = empty($_GET['page'])... 阅读全文
posted @ 2015-05-23 11:57 agang_19 阅读(189) 评论(0) 推荐(0) 编辑
摘要: http协议超文本传输协议 http协议是IOS七层协议的应用层,是基于TCP/IP协议的,为什么还要多一个协议了,其实利用TCP协议也是可以的,但是TCP三次握手后是一直保持连接的,如果单单是c/s设计的话是可以TCP就可以了,因为这种设置的话如memcache中客户端和服务器连接,连接数就几千... 阅读全文
posted @ 2015-05-09 23:10 agang_19 阅读(166) 评论(0) 推荐(0) 编辑
摘要: server.phpset(array("worker_num"=>4, "dispatch_mode"=>2));$server->on("connect", function($cli) { $ser->send("hello");});$server->on("receive", fun... 阅读全文
posted @ 2015-05-08 08:33 agang_19 阅读(251) 评论(0) 推荐(0) 编辑
摘要: pstree -a | grep php| | `-php server.php 主进程 | | |-php server.php 管理线程 worker线程死掉后 可以重启一个worker线程 | | | `-php server.php | | `-{php}ps -auxroot ... 阅读全文
posted @ 2015-05-07 22:36 agang_19 阅读(1912) 评论(0) 推荐(0) 编辑
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 58 下一页