VMware Workstation下centos的使用

一台电脑不够用,安装了VMware Workstation。

1,开启网络

教程  :  http://jingyan.baidu.com/article/215817f78c9cde1eda14231e.html

安装centos使用yum update失败

Could not retrieve mirror list ...

检查是否联网

/etc/sysconfig/network-script/ifcfg-?? 网卡配置文件 ONBOOT=yes开机启动 文件详解:   http://www.cnblogs.com/iixiaowei/articles/2300197.html

http://linux.chinaunix.net/techdoc/system/2007/03/18/952541.shtml

service network restart

ping www.baidu.com成功

yum search ifconfig

yum install net-work

ifconfig

yum install elinks

在windows上开启Apache Tomcat

elinks --dump ipaddress:8080|more  访问服务器 If you are seeing this.You've successfully installed Tomcat.Congratulations!

2,安装Redis

yum install wget

yum install gcc

yum install tcl

------------------------

出现问题:update-rc.d command not found

解决:chkconfig --add service_name

出现问题:service redis_6379 does not support chkconfig

链接:  http://www.cnblogs.com/goodspeed/archive/2012/10/18/2729615.html

http://stackoverflow.com/questions/5133552/service-doesnt-support-chkconfig

解决:#chkconfig: 2345 90 10

原文地址:https://www.cnblogs.com/afraidToForget/p/6545117.html