歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> linux系統建立網站的步驟

linux系統建立網站的步驟

日期:2017/2/28 18:05:23   编辑:Linux教程
linux系統建立網站的步驟
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
2、Linux安裝完畢後,創建用戶及組
groupadd dba(組名)
groudadd oinstall(組名)
useradd Oracle(用戶名)
進入etc目錄,編輯group
加入 oinstall(組):x:501 racle(用戶)
dba(組):x:502racle(用戶)
Copyright © Linux教程網 All Rights Reserved