IT码农库

搜索列表

  • fedora7下共享上网

    【Fedora】家里有2台机器,一台linux,一台xp,为了共享上网,linux作为主机,我安装的是fc7,下载firestarter,安装这个之前安装xmlparser。安装好了后,出来一个界面配置。 机器上有2个网卡,一个是连接拨号的那个网卡为 eth0 ,为dhcp 获得ip地址;另一个为连接本地的网卡设置为eth1,设置本地ip地址为 192.168.0.1 子网掩马:255.255...

  • linux防火墙iptables详细教程

    【RedHat/Centos】2.1 框架图 -->PREROUTING-->[ROUTE]-->FORWARD-->POSTROUTING--> mangle | mangle ^ mangle nat | &

  • Linux下防御arp攻击的方法

    【RedHat/Centos】1.获取同一网段下所有机器MAC地址的办法 机房有机器中毒,发arp包,通过arpspoof虽然可以解决,也可以找到中毒机器的mac地址,但在机房设备不足的情况下,很难查到mac地址对应的IP。然后我们可以通过一个

  • Linux操作系统下修改IP、DNS和路由配置

    【RedHat/Centos】在Linux操作系统下修改IP、DNS和路由配置  ifconfig eth0 新ip  然后编辑/etc/sysconfig/network-scripts/ifcfg-eth0,修改ip  一、修改IP地址  [aeolus@db1 network-scripts]$ vi ifcfg-eth0  DEVICE=eth0  ONBOOT=yes  BOOTPROTO=static

  • linux命令行(文本模式)下配置网络

    【RedHat/Centos】除了通用的ifconfig外,对于Redhat/Fedora发行版,有专用的配置工具-netconfig。比较而言,netconfig可以设置IP获取方式(静态或者DHCP获取)等。netconfig --helpUsage: netconfig [OPTION...] --bootproto=(dhcp|bootp|none)

  • Linux操作系统下双网卡路由表配置

    【RedHat/Centos】如果eth0为192.168.10.123/255.255.255.0,eth1为192.168.20.231/255.255.255.0,则命令格式如下:#route add -net 192.168.10.0 netmask 255.255.255.0 dev eth0#route add -net 192.168.20.0 netmask 255.255.255.0 dev eth1上面的命令

  • Linux下Shorewall防火墙安装和配置

    【RedHat/Centos】环境说明:本机只有一张网卡,使用静态IP上网命令:apt-get install shorewall ubuntu会自动的给你安装好,但是shorewall没有配置也没有启动【1】首先cp /usr/share/doc/shorewall/examples/one-interface/* /etc/shorewall【2】修改/etc

  • Linux系统配置网络详解


    Warning: Illegal string offset 'id' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71

    Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71

    Warning: Illegal string offset 'classname' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72

    Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
    【】一.安装和配置网络设备  在安装linux时,如果你有网卡,安装程序将会提示你给出tcp/ip网络的配置参数,如本机的ip地址,缺省网关的ip地址,DNS的ip地址等等.根据这些配置参数,安装程序将会自动把网卡(linux系统首先要支持)驱动程序编译到内核中去.但是我们一定要了解

  • linux 服务器常用维护命令


    Warning: Illegal string offset 'id' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71

    Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71

    Warning: Illegal string offset 'classname' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72

    Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
    【】这里我会把网上看到的、自己平时用到的、和感兴趣的都整理出来,大部分采纳与网络分享的案例

  • linux学习笔记


    Warning: Illegal string offset 'id' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71

    Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71

    Warning: Illegal string offset 'classname' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72

    Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
    【】linux目录架构/ 根目录/bin 常用的命令 binary file 的目錄/boot 存放系统启动时必须读取的档案,包括核心 (kernel) 在内/boot/grub/menu.lst GRUB设置/boot/vmlinuz 内核/boot/initrd 核心解壓縮所需 RAM Disk/dev 系统周边设备/etc 系统相关

  • linux单网卡绑定多ip

    【RedHat/Centos】这是另外一种方法: 网上好多教程都是说要建立ifcfg-eth0:x ~ ifcfg-eth0:x个文件,其实用一个文件就行了   cat /etc/sysconfig/network-scripts/ifcfg-eth0-range0   DEVICE=eth0 BOOTPROTO=static HWADDR=00:C0:9F:33:7D:88 ONBOOT=yes TYPE=Ethernet IPADDR_START...

  • linux 系统下DHCP服务器 配置方法

    【RedHat/Centos】1、安装dhcp服务器软件Rhel4系统光盘中包含rpm格式的dhcp服务器软件包,包名称是dhcp-3.0.1-12_EL.i386.rpm #rpm –ivh dhcp-3.0.1-12_EL.I386.rpm 2、dhcpd.co