
清理剩余文件
尽管yum命令会卸载大部分文件,但有时候可能会遗留配置文件或缓存。手动检查以下目录清理它们:
根据需要删除这些目录中的相关文件和目录。
在Windows7下装了Centos7,然后开机只能有两条linux……,只能进入centos界面
一、linux采用grub引导,而windows采用mbr引导,首先要将grub引导去掉,重建windows mbr引导,下载. 1、 Mbrfix要以兼容性模式(Windows XP SP3)运行,兼容模式在程序上右键,选择兼容性,2、 将Mbrfix放在C盘下,运行cmd,输入cd c:\ 按回车 3、 然后输入mbrfix /dirve 0 fixmbr /yes 回车,重启电脑 原来的linux以及mint等Linux启动项就不见了。 二、在win7下安装easybcd2.0(或者更新版本),新建linux启动项,具体如下: 1、打开软件2、选择add new entry项,再选择Linux/bcd标签,type项选为grub2,name可以自己定义,然后点add entry。 linux启动项添加完毕,再重启时win7启动项会先出现。 (启动项显示的时间自己设置好,不要来不及选择就进入系统)。
【急求】Centos 7使用gedit出现如下错误Error 9
/root/的内容发出来 我帮你看
centos7里怎么卸载tomcat

[zhoujifeng@gz1-cdc-01 ~]$ java -versionjava version 1.7.0_45OpenJDK Runtime Environment (6-x86_64 u45-b15)OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)2:查看安装的jdk[plain] view plain copy[root@gz1-cdc-01 ~]# rpm -qa | grep 6.x86_6.x86_3:卸载[sql] view plain copy[root@gz1-cdc-01 ~]# rpm -e --nodeps 6.x86_64[root@gz1-cdc-01 ~]# rpm -qa | grep 6.x86_[root@gz1-cdc-01 ~]# rpm -e --nodeps 6.x86_64[root@gz1-cdc-01 ~]# java -versionjava version 1.7.0_45Java(TM) SE Runtime Environment (build 1.7.0_45-b18)Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)4:设置Tomcat开机启动vi /etc/rc.d/ 在最后加export JDK_HOME=/usr/jdk1.7.0_45export JAVA_HOME=/usr/jdk1.7.0_45/usr/tomcat/bin/[plain] view plain copy[zhoujifeng@gz1-cdc-01 ~]$ cat /etc/rc.d/#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you dont# want to do the full Sys V style init /var/lock/subsys/localexport JDK_HOME=/usr/jdk1.7.0_45export JAVA_HOME=/usr/jdk1.7.0_45/usr/tomcat/bin/
发表评论