当前位置: 首页 > news >正文

php做网站需要学的东西seo最好的cms系统

php做网站需要学的东西,seo最好的cms系统,上百度推广的网站要多少钱,app 制作公司前言 在Linux系统中#xff0c;安装nginx时候#xff0c;需要先安装环境。 Nginx是使用C语言开发#xff0c;安装nginx需要先从官网上将源码下载#xff0c;然后编译#xff0c;编译需要gcc环境,但是在安装gcc环境的时候#xff0c;执行命令报错。 yum install –y gcc-…  前言 在Linux系统中安装nginx时候需要先安装环境。 Nginx是使用C语言开发安装nginx需要先从官网上将源码下载然后编译编译需要gcc环境,但是在安装gcc环境的时候执行命令报错。 yum install –y gcc-c一、报错信息 报错信息一 [rootlocalhost ~]# yum install –y gcc-c 已加载插件fastestmirror, langpacks Loading mirror speeds from cached hostfile base: mirrors.aliyun.com * c7-media: * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com http://mirrors.aliyuncs.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - “Failed connect to mirrors.aliyuncs.com:80; 拒绝连接” 正在尝试其它镜像。 http://mirrors.cloud.aliyuncs.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - “Could not resolve host: mirrors.cloud.aliyuncs.com; 未知的错误” 正在尝试其它镜像。 base | 3.6 kB 00:00:00 file:///media/CentOS/repodata/repomd.xml: [Errno 14] curl#37 - “Couldn’t open file /media/CentOS/repodata/repomd.xml” 正在尝试其它镜像。 file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] curl#37 - “Couldn’t open file /media/cdrecorder/repodata/repomd.xml” 正在尝试其它镜像。 file:///media/cdrom/repodata/repomd.xml: [Errno 14] curl#37 - “Couldn’t open file /media/cdrom/repodata/repomd.xml” 正在尝试其它镜像。 One of the configured repositories failed (CentOS-7 - Media), and yum doesn’t have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work “fix” this: 1. Contact the upstream for the repository and get them to fix the problem.2. Reconfigure the baseurl/etc. for the repository, to point to a workingupstream. This is most often useful if you are using a newerdistribution release than is supported by the repository (and thepackages for the previous distribution release still work).3. Run the command with the repository temporarily disabledyum --disablerepoc7-media ...4. Disable the repository permanently, so yum wont use it by default. Yumwill then just ignore the repository until you permanently enable itagain or use --enablerepo for temporary usage:yum-config-manager --disable c7-mediaorsubscription-manager repos --disablec7-media5. Configure the failing repository to be skipped, if it is unavailable.Note that yum will try to contact the repo. when it runs most commands,so will have to try and fail each time (and thus. yum will be be muchslower). If it is a very temporary problem though, this is often a nicecompromise:yum-config-manager --save --setoptc7-media.skip_if_unavailabletruefailure: repodata/repomd.xml from c7-media: [Errno 256] No more mirrors to try. file:///media/CentOS/repodata/repomd.xml: [Errno 14] curl#37 - “Couldn’t open file /media/CentOS/repodata/repomd.xml” file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] curl#37 - “Couldn’t open file /media/cdrecorder/repodata/repomd.xml” file:///media/cdrom/repodata/repomd.xml: [Errno 14] curl#37 - “Couldn’t open file /media/cdrom/repodata/repomd.xml” 报错信息二centos7 yum安装使用时提示 cannot find a valid baseurl for repo:base/7/x86_64 。 二、解决方案 第一步先看本地yum是否安装 直接linux下输入yum查看出现如图信息说明已经安装就不需要再安装直接到第四步。 [rootlocalhost yum.repos.d]# yum第二步卸载yum如果上一步没有安装则安装 rpm -qa | grep yum | xargs rpm -e --nodeps第三步安装yum 第四步yum命令报错解决方案 这个报错是因为yum配置源不对的问题这个配置文件在/etc/yum.repos.d/ 目录下的CentOS-Base.repo文件中重新下载一个阿里或者163的yum源配置文件文件名字不一样的改成CentOS-Base.repo。 下载163yum镜像源根据自己的版本选择不同的下载地址     第1步 备份你的原镜像文件以免出错后可以恢复。 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 第2步 下载新的CentOS-Base.repo CentOS 6下载命令 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS6-Base-163.repoCentOS 7下载命令 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo3、 第3步 运行 yum clean allyum makecache 生成缓存 yum clean allyum makecache3、 **第4步**如果还不行那么就需要换一个下载源地址。 第五步可以执行命令了 yum install –y gcc-c
http://www.pierceye.com/news/583769/

相关文章:

  • 前端和后端的区别工资郑州网站优化怎样做
  • 小程序模板平台有哪些网站优化包括哪些内容
  • 免费建网站的好的移动端网站模板下载
  • 青岛网站优化排名视频源网站怎么做
  • 做网站找我二级学院网站建设方案
  • 知名网站建设公司 北京近期网络营销的热点事件
  • 网站开发产品经理网站例子
  • 动态静态结合网站网站做404是什么意思
  • 注册域名的网站网站建设的具体步骤
  • 行业网站分类自建站排名
  • 网站备案 登陆安徽省住房和城乡建设厅网站领域
  • 做个网站需要多少钱.网站建设合同注意事项
  • 中国诚信建设网站在线代码生成器
  • 长沙企业网站建设团队目前网络最好的挣钱平台
  • 国家建设工程安全质量监督网站友情链接网
  • 适合html初学者做的网站中卫网站推广软件
  • 一个vps主机放两个网站 速度怎么做发卡网站
  • 海米云网站建设网站开发 去哪里找页面
  • 天津做网站优化的公司新手学做网站优化
  • 万网怎么上传网站wordpress google字体 360
  • 为什么建设的网站有时候访问慢6紫金优化网站制作
  • 如何在公司系统建网站广州短视频seo哪家好
  • 电气网站开发福安网站定制
  • 推荐一下做图文的网站html简单的个人网页代码
  • 网页新建站点网站建设缺陷
  • 移动端网站推广怎么申请pc网站域名
  • 外国男男做暧暧视频网站二级建造师考试试题
  • 普通网站建设是什么wordpress主题显示不
  • 朔州网站建设全球速卖通是什么平台
  • wordpress外贸网站好用的模板下载网站开发就业趋势