环境: REDHAT 5
1. 检查是否安装了VNC:
rpm -qa vnc-server
没安装的话,安装一下:
yum install vnc-server
2. 配置vncserver登录密码:
[root@Redhat ~]# vncserver
You will require a password to access your deskt...
分类:
系统相关 时间:
2014-06-30 19:20:13
阅读次数:
392
在CentOS下安装Ngix服务及集群PHP、Tomcat
资源下载地址:http://download.csdn.net/detail/attagain/7570597
一、 Ngix依赖模块安装
Ngix依赖模块有:pcre、zlib、openssl、md5 /sha1(如果系统中没有安装相应模块,需要按照下列方式安装)
1、 安装pcre模块(8.35)
官方网站:http://w...
分类:
Web程序 时间:
2014-06-30 19:17:07
阅读次数:
294
本教程适用于centos
安装之前
检查nodejs
如果没安装nodejs按照以下步骤安装
$ su -
$ yum install openssl-devel
$ cd /usr/local/src
$ wget http://nodejs.org/dist/v0.10.29/node-v0.10.29.tar.gz
$ tar zxvf node-v0.10.29.tar.gz...
分类:
其他好文 时间:
2014-06-30 16:54:31
阅读次数:
296
前言:随着内网linux服务器越来越多,在每台服务器上安装软件,都要先把安装盘上传上去,在配置本地yum服务,即麻烦又费时。可以在内网的一台linux服务器上安装yum服务,然后其他服务器直接修改repo文件使用yum服务就可以了。安装步骤如下:...
分类:
其他好文 时间:
2014-06-30 16:28:51
阅读次数:
275
Linux下Nginx的安装 如果出现:error: 'ngx_http_file_cache_node_t' has no member named 'length'异常,可能是ngx_cache_purge-2.1.tar.gz版本太旧导致...
分类:
系统相关 时间:
2014-06-30 00:11:43
阅读次数:
401
hash函数:是不可逆的函数,它的输入可以是任意长度的字节流。它的输出是固定大小的,hash函数的作用就是给你的文件产生一个摘要,它是独一无二的。例如:y=f(x) x代表输入 y代表输出 输入x求y容易 单输入y求x就难了我们常见的hash函数MD5和SHA1 当然和有其他的比较少见。DM5 :通...
分类:
其他好文 时间:
2014-06-29 19:05:51
阅读次数:
229
背景,需要安装cacti,google了很多安装资料,需要先yum安装一些准备lib包,比如snmp以及openssl等等。[root@mysqlvm2 ~]# yum install net-snmp-develLoaded plugins: rhnplugin, securityThis system is not registered with RHN.RHN support will be...
分类:
其他好文 时间:
2014-06-28 08:25:57
阅读次数:
323
今天同事按照官方网站上的方法安装varnish,遇到一个问题,如下:执行rpm--nosignature-ihttps://repo.varnish-cache.org/redhat/varnish-3.0.el5.rpm提示error:skippinghttps://repo.varnish-cache.org/redhat/varnish-3.0.el5.rpm-transferfailed-Unknownorunexpectederror报..
分类:
其他好文 时间:
2014-06-28 06:24:32
阅读次数:
344
一、编译安装apache1、安装环境:yuminstallgccgcc-c++openssl-devellibtool-y2、安装apr、apr-util及pcretarjxfapr-1.5.1.tar.bz2cdapr-1.5.1./configure--prefix=/usr/local/aprmake&&makeinstalltarjxfapr-util-1.5.3.tar.bz2cdapr-util-1.5.3./configure--prefix=/..
分类:
数据库 时间:
2014-06-28 00:58:44
阅读次数:
697
本次坏境:CA和apache为同一台主机先使本机作为CA服务端:[root@localhost~]#yum-yinstallopensslopenssl-devel[root@localhost~]#vi/etc/pki/tls/openssl.cnf[CA_default]dir=../../CA改为:[CA_default]dir=/etc/pki/CA为了减少不必要的重复操作,可以预先定义[req_distingui..
分类:
其他好文 时间:
2014-06-28 00:15:30
阅读次数:
556