Linux软件安装

  1.Linux下软件安装大概可以分为如下几种:

    1.1 二进制程序的安装(最简单安装)

    1.2 Rpm程序安装(后缀名为*.rpm)

    1.3 Yum在线安装(本质也是rpm安装,它只是rpm的一种安装方式而已)

    1.4 源码安装

2、访问Linux主机,无法连接,可能是端口限制,需要开启防火墙,但是

centos从7开始默认用的是firewalld,这个是基于iptables的,虽然有iptables的核心,但是iptables的服务是没安装的。所以你只要停止firewalld服务即可: 

systemctl stop firewalld.service && systemctl disable firewalld.service

systemctl start firewalld.service && systemctl enable firewalld.service

 

原文地址:https://www.cnblogs.com/letwant/p/8832418.html