- 浏览: 573950 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (174)
- JBPM (3)
- WWF (0)
- JavaScript (11)
- J2EE (40)
- OperationSystem (11)
- 数据库 (12)
- CSS (1)
- Ajax (2)
- J2SE (30)
- Tools (10)
- 服务器中间件 (3)
- 异常 (0)
- Flex (5)
- jQuery (11)
- html (9)
- Ejb (1)
- HTML5 Shiv–让该死的IE系列支持HTML5吧 (1)
- Spring (9)
- Quartz (3)
- log4j (1)
- maven (1)
- cpdetector (1)
- JSON (1)
- log4jdbc (1)
- asm (8)
- FusionCharts (1)
- jqplot (1)
- highcharts (1)
- excanvas (1)
- html5 (1)
- jpcap介绍 (1)
- weblogic (3)
- URLURLClassLoader (0)
- URLClassLoader (1)
- ant (2)
- ivy (2)
- nexus (1)
- IT (0)
- LoadRunner (1)
- SCSS (1)
- ruby (1)
- webstorm (1)
- typescript (1)
- Jboss7 (1)
- wildfly (1)
- oracle (5)
- esb (0)
- dubbo (2)
- zookeeper (3)
- eclipse (1)
- Android (2)
- Studio (1)
- Google (1)
- 微信 (1)
- 企业号 (1)
- Linux (13)
- Oracle12c (1)
- Hadoop (1)
- InletexEMC (1)
- Windows (1)
- Netty (3)
- Marshalling (2)
- Protobuf (1)
- gcc (1)
- Git (1)
- GitLab (1)
- shell (2)
- java (3)
- Spring4 (1)
- hibernate4 (1)
- postgresql (1)
- ApacheServer (2)
- Tomcat (2)
- ApacheHttpServer (2)
- realvnc (1)
- redhat (7)
- vncviewer (1)
- LVS (4)
- LVS-DR (1)
- RedHat6.5 (5)
- LVS-NAT (1)
- LVS-IPTUNNEL (2)
- LVS-TUN (1)
- keepalived (2)
- yum (1)
- iso (1)
- VMware (1)
- redhat5 (1)
- ha (1)
- nginx (2)
- proguard (1)
- Mat (1)
- DTFJ (1)
- axis2 (1)
- web service (1)
- centos (1)
- random (1)
- urandom (1)
- apache (1)
- IBM (1)
- cve (1)
- 漏洞 (1)
- JDBC (1)
- DataSource (1)
- jdk (1)
- tuxedo (2)
- wtc (1)
最新评论
-
skying007:
好资料,谢谢分享给啊
FusionCharts在服务器端导出图片(J2EE版) -
cgnnzg:
大神好 可以发一份源码给我学习么 多谢了 978241085 ...
springmvc+dubbo+zookeeper -
jifengjianhao:
求源码:854606899@qq.com
springmvc+dubbo+zookeeper -
wdloyeu:
shihuan8@163.com邮箱网盘在哪,没找到。能给份源 ...
Java Socket长连接示例代码 -
huangshangyuanji:
求代码:45613032@qq.com
springmvc+dubbo+zookeeper
验证RedHat6是否能够联网:
[root@testagent ~]# ping 8.8.8.8
[root@testagent ~]# ping 8.8.4.4
下载www.baidu.com首页并且显示下载信息:
[root@testagent ~]# wget -d http://www.baidu.com
能成功下载百度首页index.html文件,但不一定能ping http://www.baidu.com
[root@testagent ~]# ping 180.76.76.76
[root@testagent ~]# ping 23.5.5.5
[root@testagent ~]# ping http://www.baidu.com
[root@testagent ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
NETMASK=255.255.255.0
IPADDR=192.168.3.56
HWADDR=00:0C:29:C1:D6:8A
TYPE=Ethernet
#UUID=6a73447a-4baa-4ad4-bdca-73d3a654583f
ONBOOT=yes
#NM_CONTROLLED=yes
BOOTPROTO=static
GATEWAY=192.168.3.1
NETWORKING=yes
#DEFROUTE=yes
#DNS1=8.8.8.8
#DNS2=8.8.4.4
#DNS1=202.96.209.5
#DNS2=202.96.209.133
DNS1=180.76.76.76
DNS2=23.5.5.5
如果还是不能连接外网,可以用route -n查看一下路由情况:
[root@dokcer ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.10.2 0.0.0.0 UG 0 0 0 ens33
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 ens33
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 ens33
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
[root@testagent ~]# ping 8.8.8.8
[root@testagent ~]# ping 8.8.4.4
下载www.baidu.com首页并且显示下载信息:
[root@testagent ~]# wget -d http://www.baidu.com
能成功下载百度首页index.html文件,但不一定能ping http://www.baidu.com
[root@testagent ~]# ping 180.76.76.76
[root@testagent ~]# ping 23.5.5.5
[root@testagent ~]# ping http://www.baidu.com
[root@testagent ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
NETMASK=255.255.255.0
IPADDR=192.168.3.56
HWADDR=00:0C:29:C1:D6:8A
TYPE=Ethernet
#UUID=6a73447a-4baa-4ad4-bdca-73d3a654583f
ONBOOT=yes
#NM_CONTROLLED=yes
BOOTPROTO=static
GATEWAY=192.168.3.1
NETWORKING=yes
#DEFROUTE=yes
#DNS1=8.8.8.8
#DNS2=8.8.4.4
#DNS1=202.96.209.5
#DNS2=202.96.209.133
DNS1=180.76.76.76
DNS2=23.5.5.5
如果还是不能连接外网,可以用route -n查看一下路由情况:
[root@dokcer ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.10.2 0.0.0.0 UG 0 0 0 ens33
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 ens33
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 ens33
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
发表评论
-
Linux下ZooKeeper集群搭建
2017-12-26 17:19 694shihuan830619@163.com邮箱的网盘里&quo ... -
RedHat7的非root用户调用xclock
2017-05-16 15:12 2015错误提示:Error: Can't open display: ... -
RedHat6.5用镜像文件配置yum源
2016-04-20 17:20 3215RedHat 6.5 x64位 [root@gyum ~]# ... -
realvnc使用
2016-03-23 17:19 1214远端实验服务器: RedHat 6.5 一、在Linux上安 ... -
java调用shell脚本
2016-01-26 00:53 1265附件java执行shell.rar里是已经下载好的jar包。 ... -
shell脚本编程
2016-01-26 00:13 805例1: 用vi编辑文件echodate ... -
Linux目录名称
2016-01-25 22:23 822[root@testgitlab /]# 这个是根目录 [ ... -
RedHat6.5在线安装GitLab
2016-01-22 21:09 2866https://gitlab.com/gitlab-org/g ... -
Linux安装Git服务
2016-01-22 21:01 1158[root@testgit rpmlib]# pwd /opt ... -
Linux安装ruby
2016-01-22 20:53 3236https://rvm.io/ 官方网站 https: ... -
Linux非联网状态安装gcc依赖包
2016-01-22 20:43 3607cloog-ppl-0.15.7-1.2.el6.x86_64 ... -
Hadoop集群环境搭建
2015-12-11 17:09 1123最近学习了下hadoop的安装。下面详细说明下步骤。 一、环 ... -
Linux hosts文件参考内容
2015-11-11 17:13 1058127.0.0.1 localhost localhost ... -
shell命令学习资料
2011-12-04 19:14 1111附件里为Shell脚本学习资料。 -
Linux下WebLogic10.3的安装与配置
2009-10-10 18:45 24533WebLogic 10.3 安装、配置与管理手册 第二章 We ...
相关推荐
VMWare虚拟机RedHat 9.0 linux联网
刚刚用虚拟机安装Linux系统的新手们常遇到的联网问题!本文讲述了Linux系统能成功联网但是却进不了网页的问题!
VMWare虚拟机上设置RedHat 9.0 linux联网
VMware虚拟机RedHat联网实施步骤参考.pdf
redhat6配置VNC
VMware虚拟机RedHat联网实施步骤
redhat6 安装、配置、管理及虚拟化等官方手册,欢迎下载。
redhat6开启telnet服务
Redhat.Enterprise.Linux.v6.iso镜像,可部署虚拟机一起
redhat6和centos6通用阿里云yum源文件,已配置好的文件,下载解压,拷贝到/etc/yum.repos.d/目录,执行yum clean all命令。即可使用yum网络源。
最近在学Linux,很多问题也是参考了网上很多的资料,自己也是亲自测试了很多东西。 我现在用的虚拟机VM8,安装Linux6的时候默认使用了一个...RedHat_Enterprise_Linux6_上安装及配置vsftp 其他版本应该也是大同小异吧。
RedHat Linux RHEL6配置本地YUM源
RedHat6安装
redhat6下的本地yum源的配置,可以实现本地源的yum功能
openscap-1.0.8-1.el6,openscap-1.2.13-2.el6,openscap-engine-sce-1.0.8-1.el6,openscap-engine-sce-1.2.8-2.el6,openscap-scanner,openscap-utils
redhat6安装telnet
通用版redhat6或者centos6的yum源
redhat6的ftp配置,可以实现基础的ftp应用及需求
redhat 6 高可用性HA 配置手册 文档密码: redhat
linux redhat6 oracle安装,教程十分想想,使用这个安装了n次