1.近日,发现有台服务器不能使用linux上的基本命令,包括ifconfig , vi 等等。不管输入什么都出现 -bash: vi: command not found的情况。 2.在网上找下原因,可能是我前几日在用户的当前目录下的.bashrc文件做了修改,重启后才出现这种问题的。 3.命令都无法...
今天从Apache官网上http://httpd.apache.org/下载httpd web服务器,由于我的虚拟机上之前安装过,我先yum remove httpd进行卸载,然后重新安装。我采用的是源码安装,先进行./configure --prefix=/usr/local/apahce --enable-so ,提示以下错误: configure:...
今天安装Apache httpd web服务器时,从官方网站上 http://www.apache.org/dyn/closer.cgi 下载httpd,然后在centos下解压,安装过程分为三部分: (1)./configure (2)make (3)make install (需要root权限) 默认安装在/usr/sbin/下,执行apachectl sta...
1、前言 protobuf是Google提供的结构持久化工具,类型XML,但要比XML更加灵活,效率要高。protobuf当初支持C++、JAVA和Python,后来有了支持C语言的Protobuf-c。关于prorobuf可以参考: https://code.google.com/p/protobuf/ 和 https://code.google.com/p/p...
今天安装Apache httpd web服务器时,从官方网站上 http://www.apache.org/dyn/closer.cgi 下载httpd,然后在centos下解压,安装过程分为三部分: (1)./configure (2)make (3)make install (需要root权限) 默认安装在/usr/sbin/下,执行apachectl sta...
By: Ailson Jack Date: 2014.04.21 注:本文参考了网上相关资料,且通过了本人的尝试。 如果你的电脑安装了CentOS后无法用有线上网,那么就请执行这个命令: lspci | grep -i eth 我的终端显示的结果为: 02:00.0 Ethernet controller: Qualcomm Atheros AR8161...
有时候关闭软件后,后台进程死掉,导致端口被占用。下面以TOMCAT端口8060被占用为例,列出详细解决过程。 解决方法: 1.查找被占用的端口 netstat -tln netstat -tln | grep 8060 netstat -tln 查看端口使用情况,而netstat -tln | grep 8060则是只查看端口80...
http://blog.csdn.net/default7/article/details/30239269 添加到推刊 收藏到推刊 创建推刊 收 藏 取消 已收藏到推刊! 请填写推刊名 描述不能大于100个字符! 权限设置: 公开 仅自己可见 创建 取消 [default7@localhost ~]$ lsDesktop Downloads Music Publ...
今天在用yum安装软件出错几次户,总是有提示信息:There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.The program yum-complete-transaction is found in the yum-utils package.意思...
报错:You could try using --skip-broken to work around the problemYou could try running: package-cleanup --problemspackage-cleanup --dupesrpm -Va --nofiles --nodigestThe program package-cleanup is found in the yum-utils package. 解决:yum c...