错误error:cannotopenPackagesdatabasein/var/lib/rpmCRITICAL:yum.main:Error:rpmdbopenfailed解决方法:#rm
-rf /var/lib/rpm/__db*#rpm --rebuilddb#yum clean all
分类:
其他好文 时间:
2014-05-24 04:09:52
阅读次数:
484
1.安装方式:rpm或者编译都可,rpm可以直接用yum安装.rpm安装的话,根据文件名进行选择即可.编译的话,不同参数对应不同的组件.编译安装zabbix:同时安装server和agent,并支持将数据放入mysql数据中,可使用类似如下配置命令:./configure--prefix=/usr/...
分类:
其他好文 时间:
2014-05-23 11:36:41
阅读次数:
634
1.查看linux详细版本信息 file /sbin/init2.下载对应nmon版本http://pkgs.repoforge.org/nmon/3.安装rpm -ivhnmon-14f-1.el5.rf.i386.rpm4.采集数据1)./nmon_x86_rhel52 -s10 -c60-f -m .-s10 每 10 秒采集一次数据 ......
分类:
系统相关 时间:
2014-05-22 09:36:32
阅读次数:
287
[nginx]Step 1Download the shell scriptwget
https://raw.github.com/JasonGiedymin/nginx-init-ubuntu/master/nginx -O
/etc/init.d/nginxStep 2chmod +x /etc...
分类:
数据库 时间:
2014-05-20 09:00:18
阅读次数:
401
--Linux下MySQL安装和配置---------------------------2014/05/18Linux下MySQL的配置和安装本文的安装采用rpm包安装1.首先在官网下载http://dev.mysql.com/downloads/mysql/MySQL-client-5.6.17...
分类:
数据库 时间:
2014-05-19 17:11:13
阅读次数:
246
从Visual Studio
2012开始,微软就把自家原来的安装与部署工具彻底废掉了,转而让大家去安装使用第三方的打包工具“InstallShield Limited Edition
for Visual Studio”,注意这个版本是免费的,只需要邮件注册下,就会有要注册码。虽然不知道微软这是何...
分类:
Web程序 时间:
2014-05-19 12:53:52
阅读次数:
307
SVN
客户端下载地址:http://tortoisesvn.net/downloads.htmlTips: 如果使用的是CenteOS 或 RedHat
请使用yum命令,其它如Debian、Ubuntu 就请使用apt-get命令。这里使用yum。使用RPM软件包管理,检查SVN是否已存在。St...
分类:
系统相关 时间:
2014-05-19 08:29:28
阅读次数:
474
一、安装需要用的软件[root@station111~]#yuminstallphpphp-gdphp-xmlphp-mysqlmysqlmysql-serverhttpd–y启动mysql和httpd并设置为2、3、4、5级别自动启动[root@station111~]#servicemysqldstart[root@station111~]#chkconfigmysqldon[root@station111~]#servicehttpdstart[r..
分类:
其他好文 时间:
2014-05-16 02:37:22
阅读次数:
396
打开 /usr/local/php/etc/php-fpm.conf
调大以下两个参数(根据服务器实际情况,过大也不行) 5120 600
分类:
其他好文 时间:
2014-05-15 21:12:11
阅读次数:
206
1、系统环境centos-6.4ipaddr:10.240.240.114gateway:10.240.240.12、关闭selinux(关闭完之后最好进行一次重启)sed-i‘/SELINUX/s/enforcing/disabled/‘/etc/selinux/config关闭防火墙chkconfigiptablesoff3、配置obbleryum源rpm-Uvh‘http://mirrors.ustc.edu.cn/epel/6/i386/..
分类:
其他好文 时间:
2014-05-15 12:40:01
阅读次数:
560