码迷,mamicode.com
首页 >  
搜索关键字:装机 yum ip    ( 70932个结果
centos和redhat下安装nginx最新版
在ubuntn下通过agp-get install nginx就可以按照最新版本的nginx,很方便在ctentos和redhat下需要添加yum 仓库才能安装最新版的nginx,在/etc/yum.repos.d/目录下新建nginx.repo 文件输入以下内容就可以了:[nginx]name=n...
分类:其他好文   时间:2014-04-30 05:01:46    阅读次数:477
centos和readhat下安装python2.7
1、安装基本库yum install gccyum install makeyum install zlib-develyum install bzip2-develyum install openssl-develyum install ncurses-devel2、获得python2.7.4wg...
分类:编程语言   时间:2014-04-30 04:58:42    阅读次数:400
centos和redhat下,psycopg2安装
1、 yum install postgresql-libs2、 yum install postgresql92-devel.i3863、 wget http://initd.org/psycopg/tarballs/PSYCOPG-2-5/psycopg2-2.5.1.tar.gz4、 tar ...
分类:其他好文   时间:2014-04-30 04:48:22    阅读次数:511
centos和redhat下安装postgreSQL
1、确定你要下载的版本:下载地址2、进入你存放下载文件的目录运行wget http://yum.postgresql.org/9.2/redhat/rhel-5-i386/pgdg-centos92-9.2-6.noarch.rpm,我的是32bit的centos5,其他版本可以在上面的路径中找到相...
分类:数据库   时间:2014-04-30 04:47:22    阅读次数:596
centos和redhat vsftp安装和设定
1、安装vsftp yum install vsftpd2、配置vsftp 配置文件在 /etc/vsftpd/vsftpd.conf,建议把匿名登录关闭 anonymous_enable=NO3、设置vsftp为开机启动 chkconfig vsftpd on 通过chkconfig –list可...
分类:其他好文   时间:2014-04-30 04:35:59    阅读次数:506
php 获取客户端ip
1 function getRealIp() { 2 if (getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"), "unknown")) 3 $ip = getenv("HTTP_C...
分类:Web程序   时间:2014-04-30 01:42:33    阅读次数:422
VoIP常见编码的带宽计算
voip带宽计算VOIP计算方法与所选用的编码方法有关,而与哪个厂家的没有什么关系,公式如下:带宽=包长度×每秒包数=包长度×(1/打包周期)=(Ethernet头+IP头+UDP头+RTP头+有效载荷)×(1/打包周期)=(208bit +160bit+64bit+96bit +有效载荷)×(1/...
分类:其他好文   时间:2014-04-30 01:18:55    阅读次数:711
github proxy
--setgithubproxygitconfig--globalhttp.proxyhttp://user_name:user_pwd@user_ip:portgitconfig--systemhttp.sslcainfo/bin/curl-ca-bundle.crt--cancelproxygi...
分类:其他好文   时间:2014-04-30 01:13:49    阅读次数:507
CentOS安装,更新Python
1、查看当前Python版本python -V2、查看当前CentOS版本cat /etc/redhat-release3、安装所有的开发工具包yum groupinstall "Development tools"4、安装其他必须包yum install zlib-devel bzip2-deve...
分类:编程语言   时间:2014-04-30 00:59:31    阅读次数:443
ntpd (linux时间同步)
开发板使用ntpdate 进行网络时间同步 用法 ntpdate ip 出现如下错误 ntpdate -u ipError resolving ai_socktype: Servname not supported for ai_socktype (-8) 1 Jan 01:44:12 ntpda....
分类:系统相关   时间:2014-04-29 23:36:24    阅读次数:1440
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!