ServerStatus安装
安装所需要的环境yum install gcc gcc-c++ kernel-devel -yServerStatus代码我放在了html目录下了cd /var/www/html克隆代码git clone https://github.com/cppla/ServerStatus.git安装生成服务端安装文件sergatecd ServerStatus/server makeServer执行noh
安装所需要的环境yum install gcc gcc-c++ kernel-devel -yServerStatus代码我放在了html目录下了cd /var/www/html克隆代码git clone https://github.com/cppla/ServerStatus.git安装生成服务端安装文件sergatecd ServerStatus/server makeServer执行noh
open() "/var/lib/nginx/tmp/fastcgi/0/03/0000000030" failed (13: Permission denied) while reading upstream, client解决办法,给/var/lib/nginx赋予nginx.conf中配置的用户可写权限chown -R www:www /var/lib/nginx
yum install redisLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfilebase: mirrors.usc.eduextras: repos.lax.quadranet.comupdates: mirrors.usc.eduSetting up Install ProcessNo package
系统:Linuxyum install gcc gcc++ gcc-c++ yum install zlib-devel wget https://github.com/websupport-sk/pecl-memcache/archive/php7.zip unzip php7.zip cd pecl-memcache-php7 phpize ./configure make make inst
查找所有规则/sbin/iptables -L INPUT --line-numbers删除一条规则(注意,这个11是行号,是iptables -L INPUT --line-numbers 所打印出来的行号)/sbin/iptables -D INPUT 11
可通过ps 来查看,通过参数 -o 来查看例:ps -eo pid,tty,user,comm,lstart,etime | grep init 参数说明:pid:进程IDtty:终端user:用户comm:进程名lstart:开始时间etime:运行时间运行结果如下:1 ? root init Tue Sep 3 15:17:30 2013 12-2
首先强调下,composer.phar和Composer其实是一个东西,只不过是composer.phar重命名为Composer的,叫啥都行,别忘了就好。其次对于Composer来说所谓的安装其实就是下载到本地就完事了。步骤:1、下载composer.phar这个可执行文件【必须】2、放到喜欢的位置方便调用【非必须】下载方法一curl -sS https://getcomposer.org/in
[scode type="share"]Protobuf是一种数据格式转换中间件,主要解决数据格式不一致的问题,这种问题可能出现在不同语言之间,也有可能出现在不同接口之间。[/scode]一、特性:1、统一格式2、对数据进行不完全压缩二、环境配置及使用(PHP版本:php5.6)1、下载并安装protoc编译器(protoc是用来根据.proto文件生成对应php的可执行文件)cd /usr/lo
关于python2.7的安装在这里[post cid="103" /]1、linux下安装python3yum install zlib-devel bzip2-devel openssl-devel ncurses-devel -y 2、下载 Python3.6代码包cd /usr/local/src wget https://www.python.org/ftp/python/3.6.3/Py
python升级参考这里[post cid="103" /]首先下载并安装setuptoolscd /usr/local/src wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py python ez_setup.py --insecure再到python官网下载pip安装包,解压到某个位置,我这里下载的是9.0.0版