linux
zsl10
这个作者很懒,什么都没留下…
展开
-
centos安装libxml2时编译出错
错误信息:libxml.c:3909: error: 'PyObject' undeclared (first use in this function)libxml.c:3909: error: 'module' undeclared (first use in this function)libxml.c:3915: warning: implicit declaration of func原创 2016-07-31 17:04:22 · 5563 阅读 · 0 评论 -
编译出错:configure: error: installation or configuration problem: C++ compiler cannot create executables
编译时报错:configure: error: installation or configuration problem: C++ compiler cannot create executables.解决方法:# yum install -y gcc-c++原创 2016-08-17 11:20:24 · 2566 阅读 · 0 评论 -
编译安装openssl报错:POD document had syntax errors at /usr/bin/pod2man line 69. make: *** [install_docs]
错误如下:cms.pod around line 457: Expected text after =item, not a numbercms.pod around line 461: Expected text after =item, not a numbercms.pod around line 465: Expected text after =item, not a numberc原创 2016-08-07 22:55:13 · 9186 阅读 · 6 评论 -
使用yum命令报错File "/usr/bin/yum", line 30 except KeyboardInterrupt, e:
问题如下: 问题出现原因: yum包管理是使用python2.x写的,将python2.x升级到python3.1.3以后,由于python版本语法兼容性导致问题出现 解决办法: 修改yum配置文件,将python版本指向以前的旧版本# vi /usr/bin/yum#!/usr/bin/python2.6原创 2016-08-25 15:53:01 · 42331 阅读 · 3 评论 -
centos6.5安装vncserver
简介VNC (Virtual Network Computer)是虚拟网络计算机的缩写,VNC 是一款优秀的远程控制工具软件。安装VNC服务首先确认虚拟机已经安装了桌面环境,例如:gnome等# vi /etc/inittab 启动级别改为5id:5:initdefault:安装VNC服务# yum install pixman pixman-devel libXfont -y# yum i原创 2016-09-06 18:40:25 · 728 阅读 · 0 评论 -
yum出错:[Errno 256] No more mirrors to try和Error: Cannot find a valid baseurl for repo: base
解决方法: 1. yum clean all 2. vi /etc/resolv.conf 添加如下代码:search localdomainnameserver 192.168.119.1 #本地ipnameserver 114.114.114.114 #DNS重启网卡service network restart原创 2016-09-08 15:40:43 · 843 阅读 · 0 评论 -
centos 64位搭建kafka
一、安装java8下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html1、安装[root@localhost]# cd /usr/local[root@localhost]# mkdir java8[root@localhost java8]# cd java原创 2017-12-08 15:32:48 · 282 阅读 · 0 评论 -
debuginfo-install SyntaxError: invalid syntax
问题描述使用debuginfo-install出现如下问题: File "/usr/bin/debuginfo-install", line 68 print self.optparser.format_help() ^SyntaxError: invalid syntax解决主要原因是升级python导致的。解决如下:vi /usr/bin/de...原创 2018-10-10 10:44:02 · 653 阅读 · 0 评论