linux允许80端口通过
2015-11-10 16:19
253 查看
yum重装 http://www.07net01.com/storage_networking/Red_Hat_6_2_64ruheshiyongCentosdeYUMyuangengxinfangfa_565505_1376558203.html yum apache mysql php http://www.cnblogs.com/ceocreator/archive/2011/04/07/2007500.html
linux装好外网不能访问:
在linux 上装好yum httpd 时首先在/etc/httpd/conf/config.conf 里加入一句话 ServerName:80 再iptables -I INPUT -p TCP --dport 80 -j ACCEPT 因为iptable限制了80端口呢,这条命令能让所有的用户都可以访问这80端口了
允许防火墙通过 80端口 vi /etc/sysconfig/iptables 加入 -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT 重启防火墙 /etc/init.d/iptables restart http://rpmfind.net——这个网站一般较旧的包是找不到的。 http://rpm.pbone.net/——这个几乎所有的都能招到。 http://download.fedora.redhat.com/pub/fedora-secondary/releases/——可以找到所有fedora版本的rpm包和src-rpm。 http://rpmfusion.org/——可以添加第三方yum源,包括开源的和非开源的包。
yum install php-devel
linux装好外网不能访问:
在linux 上装好yum httpd 时首先在/etc/httpd/conf/config.conf 里加入一句话 ServerName:80 再iptables -I INPUT -p TCP --dport 80 -j ACCEPT 因为iptable限制了80端口呢,这条命令能让所有的用户都可以访问这80端口了
允许防火墙通过 80端口 vi /etc/sysconfig/iptables 加入 -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT 重启防火墙 /etc/init.d/iptables restart http://rpmfind.net——这个网站一般较旧的包是找不到的。 http://rpm.pbone.net/——这个几乎所有的都能招到。 http://download.fedora.redhat.com/pub/fedora-secondary/releases/——可以找到所有fedora版本的rpm包和src-rpm。 http://rpmfusion.org/——可以添加第三方yum源,包括开源的和非开源的包。
yum install php-devel
相关文章推荐
- 常用linux命令
- centos下安装RabbitMQ消息队列
- centos7 安装 hadoop-cdh-2.5 on mesos
- linux常用查询命令
- linux安装mysql出现Could NOT find Curses (missing CURSES_LIBRARY CURSES_INCLUDE_PATH),提示解决方法
- Linux下查询文件类型非*.jpg的并删除
- linux下安装MYSQL详细配置(转)
- LINUX mysql 源码安装
- linux root密码初始化
- Centos7安装Meoso、Zookeeper、Marathon
- CentOS7下默认目录安装mono+jexus教程
- linux 文本相关命令
- centos 安装erlang
- Linux 下安装 jdk步骤:
- 操作Modem口,达到发送sms的目的,Linux脚本+号码+内容
- centos升级gcc到4.8.1(支持c++11)步骤
- Linux编译部署vsftp服务
- linux系统环境下,对文件进行加密
- Linux写配置HDF5的python包h5py
- C__ Linux C 中__user的含义