上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 40 下一页
摘要: [root@Nginx_BackUP keepalived]# ps -C nginx PID TTY TIME CMD 3965 ? 00:00:00 nginx 3966 ? 00:00:00 nginx 3968 ? 00:00:01 nginx [root@Nginx_BackUP keepalived]# ps -C... 阅读全文
posted @ 2016-06-29 17:12 bass 阅读(1094) 评论(0) 推荐(0) 编辑
摘要: # getconf LONG_BIT 64 阅读全文
posted @ 2016-06-29 13:10 bass 阅读(437) 评论(0) 推荐(0) 编辑
摘要: +++++++++++++++++++++服务器+++++++++++++++++++++++++++ 阅读全文
posted @ 2016-06-27 18:14 bass 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Memcached是一个高性能的分布式内存对象缓存系统,用于动态web应用以减轻数据库的负载。它通过在内存中缓存数据和对象来减少读取数据库的次数,从而提拱动态 数据驱动网站的速度。 memcached是其于libevent做事件触发的,首先装libevent. 接下来安装Memcached: 阅读全文
posted @ 2016-06-24 19:09 bass 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 如果没有CMakeCache.txt 文件编译的时候会报错!!找不到CMakeCache.txt 阅读全文
posted @ 2016-06-24 15:59 bass 阅读(295) 评论(0) 推荐(0) 编辑
摘要: http://mirror.cogentco.com/pub/mysql/MySQL-5.5/ http://mirrors.sohu.com/php/ http://nginx.org/download/ 阅读全文
posted @ 2016-06-24 15:50 bass 阅读(220) 评论(0) 推荐(0) 编辑
摘要: [root@14LN yum]# egrep 'cachedir|keepcache' /etc/yum.conf #cachedir=/var/cache/yum/$basearch/$releasever cachedir=/usr/local/src/lnmp/yum#下载rpm包存放的位置 keepcache=1#1是保存缓存在本地0是不保存缓存在本地 [root@14L... 阅读全文
posted @ 2016-06-24 14:05 bass 阅读(163) 评论(0) 推荐(0) 编辑
摘要: http://nmshuishui.blog.51cto.com/1850554/1583117 rpm包制作原理图 如果ROOT的权限过大可以建一个普通用户: 接下来,还是以ROOT的身份做的实验! 下载源码包到:SOURCE中 制作xxx.spec文件在 SPECS中 xxx.spec文件解释: 阅读全文
posted @ 2016-06-23 19:00 bass 阅读(565) 评论(2) 推荐(0) 编辑
摘要: kill -9 $(ps -ef |grep 'mysql'|gawk '$0 !~/grep/ {print $2}'|tr -s '/n') 阅读全文
posted @ 2016-06-22 17:52 bass 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 编辑/etc/my.cnf(使它永久生效) #重启数据库 阅读全文
posted @ 2016-06-22 15:48 bass 阅读(342) 评论(0) 推荐(0) 编辑
摘要: [root@bass Desktop]# date +%s 1466561580 [root@bass Desktop]# python Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2 Type "help", "copyright", "c... 阅读全文
posted @ 2016-06-22 10:16 bass 阅读(2900) 评论(0) 推荐(0) 编辑
摘要: | articles | CREATE TABLE `articles` ( `id` int(11) NOT NULL AUTO_INCREMENT, `content` longtext NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 | mysql> ... 阅读全文
posted @ 2016-06-21 18:12 bass 阅读(186) 评论(0) 推荐(0) 编辑
摘要: character_set_database和character_set_server的默认字符集是latin1 最简单的完美修改方法,修改mysql的my.cnf: 在[client]字段里加入default-character-set = utf8 在[mysqld]字段里加入character 阅读全文
posted @ 2016-06-21 17:00 bass 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 解决方案:的my.cnf中加入datadir=/usr/local/mysql/data/(根据实际情况定目录的位置) 阅读全文
posted @ 2016-06-21 10:56 bass 阅读(211) 评论(0) 推荐(0) 编辑
摘要: [root@12db etc]# innobackupex --user=root /dbback/ InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy and Percona Inc 2009-2012. All Rights Reserved. This software is publ... 阅读全文
posted @ 2016-06-20 16:58 bass 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 40 下一页