1、在nginx下载rpm包,如nginx-release-centos-6-0.el6.ngx.noarch.rpm ,并安装(可用yum直接安装);注:rpm包只是提供一个nginx源。2、使用sudo yum install nginx,正式安装nginx;3、安装完成后,访问127.0.0....
分类:
其他好文 时间:
2014-07-26 16:52:41
阅读次数:
313
今天在redhat5.4_64系统替换yum源的时候出现:[root@mailyum.repos.d]#yumcleanmetadataTherewasaproblemimportingoneofthePythonmodulesrequiredtorunyum.Theerrorleadingtothisproblemwas:/usr/lib/python2.4/site-packages/_sqlitecache.so:wrongELFclass:ELFCLASS32Pleasei..
分类:
其他好文 时间:
2014-07-26 15:39:48
阅读次数:
278
1.Centos6.5mini方式安装后有很多的组件没有安装,在添加网卡后使用命令ls/etc/sysconfig/network-scripts/并没有法相对应的网卡信息。2.使用命令dmesg|grep-ineth检测出对应网卡但是并没有up状态。3.更新组件#安装setuptoolyum-yinstallsetuptool#安装系统管理yum-yinstallnts..
分类:
系统相关 时间:
2014-07-26 15:36:35
阅读次数:
285
去年有出一个python整的LAMP自动安装,不过比较傻,直接调用的yum去安装了XXX...不过这次一样有用shell..我也想如何不调用shell来弄一个LAMP自动安装部署啥啥的..不过尼玛智商有限,没搞定,暂且分享一下
先说说目前的缺陷这个脚本总体来说是调用一个字典,组成这个字典是最花..
分类:
编程语言 时间:
2014-07-26 15:36:23
阅读次数:
373
1》
yum remove nodejs npm -y
2》
cd /usr/local/lib 删除所有 node 和 node_modules文件夹
cd /usr/local/include 删除所有 node 和 node_modules 文件夹
3》 cd /usr/local/bin
删除 node 的可执行文件
4》
删除: /us...
分类:
Web程序 时间:
2014-07-26 15:32:02
阅读次数:
230
去年有出一个python整的LAMP自动安装,不过比较傻,直接调用的yum 去安装了XXX...不过这次一样有用shell..我也想如何不调用shell 来弄一个LAMP自动安装部署啥啥的..不过尼玛智商有限,没搞定,暂且分享一下 先说说目前的缺陷 这个脚本总体来说是调用一个字典,组成这个字典...
分类:
编程语言 时间:
2014-07-26 09:51:07
阅读次数:
434
系统: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