fedora10 卸载apache、资料编码转换、编译c、显示tomcat控制台

fedora10 卸载apache、资料编码转换、编译c、显示tomcat控制台

fedora10 卸载apache、文件编码转换、编译c、显示tomcat控制台

卸载apache

键入命令查看是否装有apache

[root@localhost bin]# rpm -qa httpd

httpd-2.2.10-2.i386

卸载apache

[root@localhost bin]# rpm -e httpd

error: Failed dependencies:

httpd >= 2.2.0 is needed by (installed) gnome-user-share-0.40-3.fc10.i386

根据上面报的错卸载

[root@localhost bin]# rpm -e  gnome-user-share-0.40-3.fc10.i386

彻底卸载

[root@localhost bin]# rpm -e httpd

然后查看,没有显示版本,卸载完成

[root@localhost bin]# rpm -qa httpd

[root@localhost bin]#

启动tomcat ,访问http://localhost:8080/出现界面,则成功!

文件编码转换

iconv -f gb2312 -t utf-8 old.txt> new.txt

查询是否装了apache

rpm -qa httujupd

删除apache

rpm -e httpd

fedora10安装中文

马上切换到root权限下,按照刚才查到的命令,打开应用程序-系统工具-终端,在里面输入以下命令

yum install scim

等scim安装好后,再输入

yum install scim-pinyin

编译

cgcc RfDemo_linux.c librf.o -o test

查看tomcat控制台  logs目录下

tail -f catalina.out

fedora10 卸载apache、资料编码转换、编译c、显示tomcat控制台

相关文章:

你感兴趣的文章:

标签云: