2013年11月6日

linux 安装 nginx 启用服务(屈折)

摘要: 如果不清楚机器上是否已经安装了NGINX,使用WHICH NGINX命令查看是否存在查看NGINX安装目录命令WHEREIS NGINX如果已经安装了NGINX、卸载命令为sudo apt-get --purge remove nginxNGINX 需要伪静态模块PCRE库,如果没安装就装上,不然NGINX安装不了。下载路径也许已经失效了,请使用迅雷下载。wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.gztar zxvf pcre-8.12.tar.gz./configuremakesudo m 阅读全文

posted @ 2013-11-06 22:33 shuan1626 阅读(301) 评论(0) 推荐(0)

RedHatLinux4.5 yum无效解决方案

摘要: [root@localhost]# yum update yumSetting up Update ProcessSetting up repositoriesnot using ftp, http[s], or file for repos, skipping - 4 is not a valid release or hasnt been released yetCannot find a valid baseurl for repo: updateError: Cannot find a valid baseurl for repo: update解决方法一、原因为/etc/yum.re 阅读全文

posted @ 2013-11-06 12:38 shuan1626 阅读(224) 评论(0) 推荐(0)

导航