最小化centos7安装常用软件

虚拟机安装最小化centos7,一些常用指令没安装,在这里记录一下,后续再补充。

1,关闭selinux

[root@rdo ~]# vi /etc/selinux/config   
  
# This file controls the state of SELinux on the system.  
# SELINUX= can take one of these three values:  
#     enforcing - SELinux security policy is enforced.  
#     permissive - SELinux prints warnings instead of enforcing.  
#     disabled - No SELinux policy is loaded.  
SELINUX=enforcing    
# SELINUXTYPE= can take one of three two values:  
#     targeted - Targeted processes are protected,  
#     minimum - Modification of targeted policy. Only selected processes are protected.   
#     mls - Multi Level Security protection.  
SELINUXTYPE=targeted 

将SELINUX=enforcing改为SELINUX=disabled,然后重启使其生效,查看是否生效

[root@rdo ~]# sestatus  
SELinux status:                 disabled

2安装gcc-c++

yum -y install gcc gcc-c++

3安装net-tools

yum install net-tools

4安装wget

# yum -y install wget

5centos7没有killall命令,要先安装

yum install psmisc

6安装liebaio,64位没有liebaio,要先下载liebaio的rpm,然后用rmp加载

rpm -ivh libaio-devel-0.3.105-2.x86_64.rpm --force --nodeps#后面加参数,强制安装
yum install libaio

 

posted @ 2016-09-29 09:42  用手踢球  阅读(690)  评论(0)    收藏  举报