1、linux时间管理linux分硬件时钟和软件时钟date:系统时间clock或hwclock(Centos环境下在实验中发现必须用ROOT权限才能执行该命令):硬件时间
分类:
系统相关 时间:
2014-10-15 03:46:30
阅读次数:
304
#! /usr/bin/env python#coding=utf-8from fabric.api import *from fabric.state import *env.roledefs = {'scan_proc_server': ['172.16.1.15','172.16.1.12',...
分类:
其他好文 时间:
2014-10-14 22:58:59
阅读次数:
361
一、环境准备:
系统环境:CentOS 6.5
Tomcat 7.0.26
jdk-7u17-linux-x64.rpm
solr-4.10.1.tgz
首先将软件包上传到/tmp目录下
1、 jdk安装
]# rpm -ivh jdk-7u17-linux...
分类:
系统相关 时间:
2014-10-14 21:19:09
阅读次数:
380
一、编译安装Nginx的要求如下:1、确保您的操作系统安装有GCC编译器。另外您还必须安装Autoconf和Automake工具,它们用于自动创建功能完善的Makefile,当前大多数软件包都是用这一工具生成Makefile的,在CentOS系统下,您可以使用yum命令yum-yinstallgccgcc-c++autoconfautomake..
分类:
其他好文 时间:
2014-10-14 21:11:09
阅读次数:
185
Niginx的一些模块需要其他第三方库的支持,例如gzip模块需要zlib库,rewirte模块需要pcre库,ssl功能需要openssl库的。同样,如果是在centos系统下,我们可以使用yum命令或下载源码包编译安装这些模块依赖的库: 我下载的安装包都在/home/txtfashion/Ng....
分类:
其他好文 时间:
2014-10-14 20:38:09
阅读次数:
238
运行mysql出现错误:TheserverquitwithoutupdatingPIDfile...原因:内存太小解决办法:使用下面my.cnf#ExampleMySQLconfigfileforsmallsystems.##Thisisforasystemwithlittlememory(<=64M)whereMySQLisonlyused#fromtimetotimeandit‘simportantthatthemysqlddaemon#doesn‘tu..
分类:
数据库 时间:
2014-10-14 20:24:20
阅读次数:
169
centos6.5清除内存中的系统缓存#free-mtotalusedfreesharedbufferscachedMem:15936731386230390-/+buffers/cache:72198716Swap:819478187使用以下命令清除缓存:echo3>/proc/sys/vm/drop_caches#free-mtotalusedfreesharedbufferscachedMem:159365313106230360-/+buffers/ca..
分类:
其他好文 时间:
2014-10-14 16:42:59
阅读次数:
173
DPDK介绍见:www.dpdk.org1. 所用系统与软件版本系统:Ubuntu 12.04.3 LTS 64位,CentOS Linux release 7.0.1406 64位dpdk: 1.7.0 (下载页)dpdk 1.7.1 经过试验,发现在这两个系统上都有问题, 运行各示例程序都有以下...
分类:
其他好文 时间:
2014-10-14 14:29:38
阅读次数:
900
一、配置防火墙,开启80端口、3306端口CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewall...
分类:
数据库 时间:
2014-10-14 14:18:18
阅读次数:
351
适用环境:
CentOS 6.5 32bit
Linux + Nginx + Mysql + PHP
版本与时间:(截至此帖发帖日期2014-10-14,所有版本皆为最新版本)
Nginx-1.7.6
Mysql-5.6.21
PHP-5.6.1
一、下载:
nginx:http://nginx.org/en/download.html
mysql:http:...
分类:
Web程序 时间:
2014-10-14 14:11:28
阅读次数:
176