设为首页收藏本站

全球主机交流论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: discuz
查看: 1066|回复: 1
打印 上一主题 下一主题

[资料] linux网站建立步骤

[复制链接]

该用户从未签到

跳转到指定楼层
楼主
发表于 2015-4-15 14:39:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
1、安装Linux,如果以后需要使用双网卡,最好在安装以前插好两块网卡
1)安装Linux
2)安装完毕后在进入X_window配置第二网卡
进入X_window,在turbolinux控制中心 - 网络配置 - 网络界面中添加eth1
用 ifconfig察看eth0、eth1的中断是否相同,不同的话表示安装成功(也可以用拔掉网线
的方法检查是否安装成功)
[安装] 如何让内核检测到两块网卡经常碰到这类问题,其实非常简单:
当你有两块网卡时,在lilo.conf里加上
append = "ether=0,0,eth1"
当你插了三块, 则为:
append = "ether=0,0,eth1 ether=0,0,eth2"
举例如下:
boot = /dev/hda
#compact # faster, but won“t work on all systems.
delay = 50
vga = normal # force sane state
append= "ether=0,0,eth1"
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /zImage
root = /dev/hda1
label = linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
这是不知道网卡irq和iobase时的做法(尤其是PCI网卡时,象3c590...)
当知道网卡irq和iobase时,还是指定的好:
例如:两块3c590:
append="ether=9,0xfce0,eth0 ether=5,0xfcc0,eth1"
注:如果已经编译成模块的话,应该在/etc/rc.d/rc.modules(在TurboLinux里
是/etc/conf.modules)
加上类似的一行:
/sbin/modprobe ne io=io1,io2
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    无聊
    2017-9-11 09:32
  • 签到天数: 176 天

    [LV.7]常住居民III

    沙发
    发表于 2015-5-26 11:37:16 | 只看该作者
    苹果 你从哪里整的这些东西,自己能看懂么
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|小黑屋|Archiver|手机版|中国U网    

    GMT+8, 2024-6-13 19:30 , Processed in 0.069960 second(s), 21 queries .

    Powered by Discuz! X3.2

    © 2001-2013 Comsenz Inc.

    快速回复 返回顶部 返回列表