摘要: 安装:依赖的软件包:gcc gcc-c++ autoconf automakezlib zlib-devel openssl opensll-devel pcre pcre-devel到官方网站上下载nginx包:解压:tar -zxf nginx-x.x.tar.gz安装三步走:./configure------- make------make install./configure --prefix=/usr/local/nginx --sbin-path=/usr/local/nginx/sbin/nginx \--error-log-path=/var/log/nginx/error.l 阅读全文
posted @ 2013-09-05 04:08 osxlinux 阅读(320) 评论(0) 推荐(0) 编辑
摘要: centos 安装git:yum install git git-corerepository 仓库,设置全局用户名以及邮箱。git config --global user.name "yourname"git config --global user.email "xxx@xxx.com"git init #初始化本地仓库。如果当前目录没有.git目录则创建。.git就是当前目录的版本仓库。git add . #添加当前目录到版本地.git库git commit -m “要提交的说明” 提交当前目录的文件到版本库如果不是在某一个仓库的话,git st 阅读全文
posted @ 2013-09-03 13:54 osxlinux 阅读(555) 评论(0) 推荐(0) 编辑
摘要: ubuntu中出现如下错误:W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/precise-backports/main/i18n/Translation-en Something wicked happened resolving 'cn.archive.ubuntu.com:http' (-5 - No address associated with hostname)W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/precis 阅读全文
posted @ 2013-08-15 15:56 osxlinux 阅读(1708) 评论(0) 推荐(0) 编辑
摘要: 常见的安装错误总结:如果是红帽,centos系列首先安装依赖软件。yum install net-snmp-devel OpenIPMI OpenIPMI-devel rpm-builderror:mysqlcilent libraryerror: MYSQL library not find安装mysql-develerror: Curl library not found安装libcurl-devel Invalid NET-SNMP directory - unable to find net-snmp-config安装: net-snmp net-snmp-develerror: I. 阅读全文
posted @ 2013-06-14 00:07 osxlinux 阅读(670) 评论(0) 推荐(0) 编辑