系统:centos6.4 安装postgresql9.3 (防火墙需要开启5432端口) 添加yum源 yum?install?-y?http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm 安装postgresql yum?install...
分类:
数据库 时间:
2014-07-26 03:30:57
阅读次数:
266
LINUX一些软件安装都有依赖包,有时用rpm包要去解决依赖包问题。我们用yum来解决一些依赖包。把光盘挂载[root@node-rac1~]#mount/dev/cdrom/mnt安装createrepo[root@node-rac1~]#cd/mnt/Server/[root@node-rac1Server]#rpm-ivhcreaterepo-0.4.11-3.el5.noarch.rpm创建一个目录..
分类:
其他好文 时间:
2014-07-26 03:20:27
阅读次数:
259
#InstallGlance
[root@cloud01~]#yum–enablerepo=epel-openstack-grizzly,epel-yinstallopenstack-glance
#setdatabase(setanypasswordyoulikefor“password”section)
[root@cloud01~]#openstack-db–init–serviceglance–passwordpassword
Pleaseenterthepasswordfo..
分类:
其他好文 时间:
2014-07-26 03:08:57
阅读次数:
220
#!/bin/bash
#Author:kernal
#Date:2014-03-25
#Filename:autoinstall_zabbixclient.sh
#autoinstall&configzabbix_agent_client
find/etc/yum.repos.d/-nameepel.repo
if[$?-eq0];then
yum–enablerepo=epel-yinstallzabbix-agent
else
rpm-ivhhttp://dl.fedorapro..
分类:
其他好文 时间:
2014-07-26 03:08:27
阅读次数:
283
rpm-Uvhhttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum-yinstalldocker-io#仅此一条命令就可以搞定;
servicedockerstart#启动docker
chkconfigdockeron#加入开机启动
dockerpullcentos:latest#从docker.io中下载centos镜像到本地/var/lib..
分类:
Web程序 时间:
2014-07-26 03:08:07
阅读次数:
313
Centos 6.5下SNMP简单配置(snmp protocol v3,监控宝)
jom_ch@2014/7/25
1,安装
>yum -y install net-snmp net-snmp-devel
2,配置用户信息
> echo "rouser jkb auth" >> /etc/snmp/snmpd.conf
> echo "createUser jkb MD5 iam...
分类:
其他好文 时间:
2014-07-26 02:58:26
阅读次数:
181
参考服务器安装的是Centos 系统。
uwsgi是使用pip安装的。
nginx是使用yum install nginx安装。
python 2.7, mysql 5.5使用 yum安装。
它们之间的逻辑关系如下:
the web client the web server the socket uwsgi Django
uswgi负责从D...
分类:
其他好文 时间:
2014-07-26 02:10:06
阅读次数:
336
直接yum install nginx不行,要先处理下源,下面是安装完整流程1. rpm -ivhhttp://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm2.查看yum的ngi...
分类:
其他好文 时间:
2014-07-26 01:12:56
阅读次数:
209
原文在这里 http://doophp.sinaapp.com/archives/linux/yum-setting-parameter.html因为是程序员出身,平时虽然经常接触服务器,偶尔也会要装一些软件、配置优化什么的,可能还是个人习惯问题,一般情况下我还是以手工编译居多(这其中的优缺点就不在...
分类:
系统相关 时间:
2014-07-26 00:25:16
阅读次数:
289
要监控Linux服务器资源,需要启动rpc.rstatd守护进程。1.安装rstat相关程序1)安装rsh,rsh-service一般来说,rsh,rsh-service的rpm安装系统里有,直接使用yum命令查询到后相关包名后再安装,具体步骤如下:查询rsh的rpm包:yum list rsh:查...
分类:
系统相关 时间:
2014-07-25 23:54:30
阅读次数:
508