Redis监控工具—Redis-stat、RedisLive | logging.DEBUG 

作者:JerryXia | 发表于 , 阅读 (0)
Redis 安装Redis安装请参照:Redis安装与配置
Redis-stat 安装部署redis-stat is a simple Redis monitoring tool written in Ruby.
It is based on INFO command of Redis, and thus generally won’t affect the performance of the Redis instance unlike the other monitoring tools based on MONITOR command.
redis-stat allows you to monitor Redis instances
either with vmstat-like output from the terminalor with the dashboard page served by its embedded web server.通常来说,不会像基于MONITOR命令的监控工具一样,对Redis本身有性能上的影响
Github地址
卸载原有Ruby1...阅读全文

 Redis安装与配置 | logging.DEBUG 

作者:JerryXia | 发表于 , 阅读 (0)
Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker.It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries.
Redis作为如今比较火热的NoSQL数据库,在数据的热数据存储和查询方面有着不错的应用,这篇文章将介绍Redis的安装和配置信息。
...阅读全文

 Python基础—日期与时间操作 | logging.DEBUG 

作者:JerryXia | 发表于 , 阅读 (0)
常用的属性123# 利用构造函数创建日期now_time = date(2016, 1, 1)print now_timedate.max、date.min: 最大、最小日期12# 最大最小日期print now_time.min, now_time.maxdate.resolution: 表示日期的最小单位12# 表示日期的最小单位print now_time.resolutiondate.year,date.month,date.day: 取得年,月,日12# 取得年、月、日print "year={0},month={1},day={2}".format(now_time.year, now_time.month, now_time.day)常用的类方法date.today()12# 返回一个表示当前本地日期的date对象print date.today()date.fromtimestamp(timestamp)123# 根据给定的时间戮,返回一个date对象timesstamp = 1451577600print date.fromtimestamp(timesstamp)d...阅读全文

 Apache2部署WordPress | logging.DEBUG 

作者:JerryXia | 发表于 , 阅读 (0)
安装MySQL1sudo apt-get install mysql-server安装过程中会有几个设置选项:
New password for the MySQL “root” user:
Repeat password for the MySQL “root” user:
测试MySQL安装成功:
1mysql -u root -p12345678910111213Welcome to the MySQL monitor.  Commands end with ; or \g.Your MySQL connection id is 42Server version: 5.5.49-0ubuntu0.14.04.1 (Ubuntu)Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be tra...阅读全文