Linuxs常用命令

CentOS

  1. 重启网络
    /etc/init.d/network restart
  2. 安装扩展,添加EPEL源
    EPEL即Extra Packages for Enterprise Linux 。CentOS为了保证系统的稳定性,只提供了少量的软件包,无法满足更多的需求。EPEL为CentOS提供了额外10000多个软件包,而且在不替换系统组件方面下了很多功夫,因而可以放心使用。
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
sudo rpm -ivh epel-release-7-9.noarch.rpm
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

你可能感兴趣的:(centos,扩展)