第一次使用centOS安装软件时,对二进制包的./configure进行配置时(./configure是源代码安装的第一步,主要的作用是对即将安装的软件进行配置,)报错:
WARNING: failed to autodetect C compiler version (CC=gcc)
解决:http://www.cyberciti.biz/faq/centos-rhel-7-redhat-linux-install-gcc-compiler-development-tools/
WARNING: failed to autodetect C compiler version (CC=gcc)
解决: # yum install gcc gcc-c++ autoconf automake
安装mongodb时,用本地的可视化工具无法连通
解决:http://www.mamicode.com/info-detail-989649.html
改端口,关闭防火墙
CentOS 7防火墙变成什么了
firewall:
systemctl start firewalld.service#启动firewall
systemctl stop firewalld.service#停止firewall
systemctl disable firewalld.service#禁止firewall开机启动
#Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
改成iptablesconf配置文件语法
firewall:
systemctl start iptables.service
冒号‘:’后边有一个空格不能省略