.. CentOS7.rst --- .. .. Description: .. Author: Hongyi Wu(吴鸿毅) .. Email: wuhongyi@qq.com .. Created: 四 7月 4 17:26:06 2019 (+0800) .. Last-Updated: 一 7月 22 15:40:54 2019 (+0800) .. By: Hongyi Wu(吴鸿毅) .. Update #: 2 .. URL: http://wuhongyi.cn ################################################## CentOS7 常用软件安装 ################################################## **吴鸿毅(wuhongyi@qq.com)** **更新于 2019 年 05 月 24 日 - 北京大学 - 加速器楼** **以下终端命令中,没有$开头的表示需要root权限。** ---- ============================================================ CentOS7 安装 ============================================================ 待补充 ============================================================ systemctl ============================================================ .. code:: bash #开启防火墙 没有任何提示即开启成功。 systemctl start firewalld #查看firewalld状态,显示running即已开启了 systemctl status firewalld #关闭防火墙设置 systemctl stop firewalld #开放端口 firewall-cmd --permanent --zone=public --add-port=3306/tcp .. .. CentOS7.rst ends here