随笔分类 - linux
摘要:1 phpredis是php的一个扩展,效率是相当高有链表排序功能,对创建内存级的模块业务关系 2 3 很有用;以下是redis官方提供的命令使用技巧: 4 5 下载地址如下: 6 7 https://github.com/owlient/phpredis(支持redis 2.0.4) 8 9 10 Redis::__construct构造函数 ...
阅读全文
posted @ 2016-10-09 11:37
再見理想
摘要:PS:Nginx使用有两三年了,现在经常碰到有新用户问一些很基本的问题,我也没时间一一回答,今天下午花了点时间,结合自己的使用经验,把Nginx的主要配置参数说明分享一下,也参考了一些网络的内容,这篇是目前最完整的Nginx配置参数中文说明了。更详细的模块参数请参考:http://wiki.ngin
阅读全文
posted @ 2016-09-29 02:31
再見理想
摘要:service mysql start出错,mysql启动不了,解决mysql: unrecognized service错误的方法如下: [hitony ~]# service mysql startmysql: unrecognized service[hitony ~]# service my
阅读全文
posted @ 2016-09-12 14:26
再見理想
摘要:收集下Linux系统信息查看命令,以备用!玩VPS的站长朋友必备,呵呵~ linux-cmd 系统 # uname -a # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息 # hostname # 查看计算机名 # lspci -tv # 列出所有PCI设备 # lsusb -...
阅读全文
posted @ 2016-08-12 13:31
再見理想
摘要:Centos查看端口占用情况命令,比如查看80端口占用情况使用如下命令: lsof -i tcp:80 列出所有端口 netstat -ntlp 1、开启端口(以80端口为例)方法一: /sbin/iptables -I INPUT -p tcp –dport 80 -j ACCEPT 写入修改 /etc/init.d/iptables save 保存修改 service iptable...
阅读全文
posted @ 2016-08-12 13:30
再見理想
摘要:/** ---------------- [ 华丽分割线 ] ------------------------ ### 121.40.120.167 操作 ### 1.启动 nginx cd /usr/local/nginx/sbin => 进加载目录 ./nginx => 启动 ./nginx -t => 检测配置文件 ./nginx -s rel...
阅读全文
posted @ 2016-08-11 16:25
再見理想
摘要:1)点击 VM->Settings Hardware 选项卡下面 2)点击 Network Adapter 设置在虚拟机中将网络配置设置成NAT 3)开启 Windows服务中的 VMware NAT service 和 VMware DHCP service 4)重启(reboot) CentOS
阅读全文
posted @ 2016-07-28 14:27
再見理想
摘要:需要的附图: 【图1-2】 【图3-3】 【图6-1】 【图6-1-1】 【图10-1】 【图10-2】
阅读全文
posted @ 2015-12-25 17:53
再見理想

浙公网安备 33010602011771号