yum list查询所有可用软件包yum search 关键字查询和关键字相关的包yum -y install 包名加上-y自动回答yesyum -y update 包名升级yum -y remove 包名删除包yumgrouplist列出所有可用的软件组列表yum groupinstall 软件组... Read More
posted @ 2015-12-29 20:58 tinyphp Views(273) Comments(0) Diggs(0) Edit
1.安装EPEL库yum install epel-release2.安装Node.jsyum install nodejs3.安装nodejs中常用的npm软件包管理器yum install npm4.验证是否安装配置成功node -v Read More
posted @ 2015-12-29 20:41 tinyphp Views(1145) Comments(0) Diggs(0) Edit
虚拟机那里选择NAT模式用vi /etc/sysconfig/network-scripts/ifcfg-eth0进到网卡文件修改ONBOOT=yes。意思是启动网卡 (注意在vi里,需要编辑时要按i,退出编辑模式按Esc,然后按:输入:wq就可以保存关闭了)重启网络service network ... Read More
posted @ 2015-12-29 17:37 tinyphp Views(381) Comments(0) Diggs(0) Edit