Ȼ/03

Top / Ȼ / 03

󥹥ȡ/³

FreeBSD ǤϤä¤δܵǽ򥤥󥹥ȡ뤷ƤޤСϤۤȤɤκȤ

  1. ѡ桼ˤʤä
  2. /usr/sbin/sysinstall ư Configure (˾ι) (˺٤) ǤŬڤ򤷤Ƥ
    Ǥ褦ˤʤäƤ.

ͥåȥ

ơ PC ֹ PC-number.png Ȥơη׻ǤϰʲΤ褦ꤹФ褤. Ƥϸ.

sysinstall   Configure  Networking  Interfaces

Ȥơ

  • IPv6 ϻѤʤǤ褤.
  • DHCP ϻѤʤ.
HostnameqPCֹե٥åȤ "q" ֹˤĤ.ξ 0 ĤƤΤ. 㤨СPC ֹ椬 08 ξ硤q08 Ǥ.
Domaincl.math.sci.osaka-u.ac.jpˤ¤ְ㤨ƤޤϾʤ
Gateway192.168.125.1
Name server192.168.125.14
IP Address192.168.125.PCֹ+90㤨 PC ֹ椬 14 ʤ 192.168.125.104 Ȥʤ
Netmask255.255.255.0
Extra option(ΤޤޤǤ褤)

ͥåȥҤ뤫å

ޥɥ饤

nslookup www.osaka-u.ac.jp

Ȥ(133.1.8.18)ХͥåȥϤȷҤäƤ.

/etc/rc.conf

ޤǤ sysinstall 򲿲󤫻ȤäƤȡ/etc/rc.conf ֱפʤäƤ뤳Ȥ. ŪˤϡƱ꤬񤫤Ƥꡤ̷⤹Ƥ񤫤Ƥꤹ.(rc.conf ϲ˽񤤤Ƥ꤬ͥ褵ΤǸܤ̷⤷ƤƤŪˤʤ)

ե뤬ޤޤȿʹͤ𤹤뤳ȤΤǡǤäˤƤ. Ūˤϡѡ桼¤ /etc/rc.conf 򥨥ǥԽ롤ȤȤˤʤ.

ܸطΥġ

ܸˤ碌ƺ줿/Ĵ줿եȥޤޤȤꡤȤȲȲŬǤ.

󥹥ȡ

Package ΤڤǤ褤.ۤƤ CD 2ȤߤˤäƤʤ(̤꤫Ȼפ)ΤǡͥåȥäƤƥ󥹥ȡ뤷Ƥߤ褦.(٤˥¿Ǥ򤫤뤳Ȥˤʤ뤬? ƿͤκȿʹԾ˥ХĥΤǤޤϰϤ)

sysinstall   Configure  Packages  FTP  Japan

Ȥơ˵󤬤äƤ ftp ȤΤˤʤ٤᤽ʤΤ.ͥåȥŪʵΥϡtraceroute ޥɤ

 traceroute ftp.jp.freebsd.org

ʤɤȤȸ뤳ȤǤ.äȤäƤߤȰʲΤ褦ʴˤʤΤǡ

ftp?.jp.freebsd.orghop
110
212
39
4(3Ʊ?)
59
610
7(6Ʊ?)
8(3Ʊ?)
9(1Ʊ?)

ftp3, ftp4, ftp8 ꤬ɤ˸.(ˤùʤɤ˥ߥ顼Ф褦ŪФˤĤʤͤ褦)

Τȡjapanese ƥ椫鼡ΤΤ٤Фޤ.

  • ja-FreeWnn-server (ܸѴеǽ)
  • ja-emcws-21 (ǥ Emacs ܸǻȤ䤹褦б)
  • ja-firefox
  • ja-ipa-ttfonts (ܸե)
  • ja-kinput2-canna+freewnn (ܸѴǽ X window system ǻȤ)
  • ja-kterm (ܸ줬Ȥ륿ߥʥ)
  • ja-less (ܸ줬Ȥ less)
  • ja-man (ܸޥ˥奢륳ޥ)
  • ja-man-doc (ܸޥ˥奢)
  • ja-nkf (Ѵޥ)

: OS ܸѴǽդä(jserver)

/etc/rc.conf

 wnn_enable="YES"

ȤԤäƤƵưƤ.

: 桼ܸѴǽȤ()

Ѥ륷ˤä꤬ۤʤΤǡޤṲ̄񤤤Ƥȡ

  • Bash (sh ϥɽŪʤ)Ȥϡ桼Υۡǥ쥯ȥ .bashrc Ȥե(ʤк)
    export LANG=ja_JP.eucJP
    export JSERVER=localhost
    Ƚ񤤤Ƥ.
  • Tcsh (csh ϥɽŪʤ)Ȥϡ桼Υۡǥ쥯ȥ .cshrc Ȥե(ʤк)
    setenv LANG ja_JP.eucJP
    setenv JSERVER localhost
    Ƚ񤤤Ƥ.

̵꤬֥Ȥʤǰΰ٤˥åƤפȤ˺ʤ褦ˤ褦. Ūˤ Alt+F2 ʤɤ¾βüڤؤƥ󤷤ƤߤơפͻҤ򸫤. פʤФϥȤơAlt+F1 äƤФ褤.

: 桼ܸѴǽȤ(ǥȥå)

  • 桼Υۡǥ쥯ȥ .xinitrc Ȥե(̵к)
    export XMODIFIERS="@im=kinput2"
    kinput2 -wnn -ccdef ccdef.kinput2.egg &
    exec gnome-session
    Ƚ񤤤Ƥ(ǸιԤϡGnome Ȥ٤. Gnome ȤΥ󥹥ȡϤθ˽񤤤ƤΤǡ֤ȤƤϵդˤʤ).
  • 桼Υۡǥ쥯ȥ .Xdefaults Ȥե(ʤк)
    KTerm*VT100*kanjiMode:euc
    Ƚ񤤤Ƥ.

Ȥꤢǥȥå״ĶȤ褦

X Ф

ѡ桼(root)ǼμԤ.

  1. xorgcfg ¹
  2. ̤ФޤǤäԤ. (ޤǤ˥ȥ֤ xorgcfg -textmode Ȥƥƥȥ˥塼Ǥ)
  3. ޥưå. ưʤϡƥ󥭡ȤȲ̱ޤɽƤΤǡ򸫤ʤ 沼 "quit" 򲡤(Ŭˤ) xorgcfg ȴޥư褦򤷤ʤƤ 1 ľ.
  4. ܡɤԤ. ŪˤϡΥܡɥ򥯥åƽФƤ뾮ʥ˥塼 "configure keyboard" ǡܸ쥭ܡɤˤ碌Ŭ "apply changes" .
  5. ˥ΥڥåԤ. Ūˤϡ˥Υ󤫤Ϥ "configure .." ǡ1024x768 @70Hz ӡvertical sync range 50-70 ȤƤФ褤.
  6. ٤Ԥ. "configure layout" "configure screen" Ȥ˽ФƤ̥DZå "configure" Ȥ 24bit, ٤ 1024x768 ȤФ褤.
  7. Ǹ˿沼ˤ "quit" 򲡤ơȤե˥֤뤫ʹΤξ OK Ǥ褤.

ޥưʤä

sysinstall  Configure  Mouse  2 Enable

ȤƤߤ. Ϥ֥ޥ뤬ФʤסưʤפȤͤϼΤ褦ˤƥȥ֥ä.

  1. /etc/rc.conf ɤǤߤơmoused_enable = ɤʤäƤ뤫å. "YES" ˤʤäƤʤͤ "YES" ľƤ饹ѡ桼¤
    /etc/rc.d/moused start
    Ȥپ sysinstall å.
  2. ǤϤʾϤ褯ޥؤƤޤᤤ. ˸¾ΥޥѰդƤ館.

Gnome ĶΥ󥹥ȡ

ߤǥȥå״ĶǤ Gnome, KDE ΤǤ Gnome ȤäƤߤ褦. 󥹥ȡϤϤ Packages 餬ڤ. CD ˴ޤޤƤ뤷׻ζѥФˤäƤΤǤɤȤäƤ⥤󥹥ȡǤ.

Ūˤϡѡ桼ˤʤäƤ

  • ׻ΥФѤ
    sysinstall   Configure  Packages 
     FTP  "ftp://server/pub/FreeBSD/6.2-RELEASE" 
     gnome  gnome2-2.16.1_2 
  • CD Ѥ
    sysinstall   Configure  Packages 
     CD  gnome  gnome2-2.16.1_2 
    ȤФ褤.
    ˤ¿֤.

ǧ

̤Υ桼Ȥơ

startx

ȤƤߤ褦. ޤǤ꤬мưŪ "X ư Gnome ư" ȤʤꡤɤǸ褦ʲ̤ˤʤϤ. 顤Τ褦¾γǧ⤷Ƥ.

  1. ץꥱ Gnomeü ȤƲüư.
  2. Gnomeü
    emcws &
    Ȥܸб Emacs ưΤǧ.
  3. emcws Ctrl-\ Ȥơܸ⡼ɤư. ܸǤäѴǤ뤳Ȥǧ. ܸѴƹԤäȤ˼뤫ɤʹΤơ֤ϤפȤƤ.
  4. Gnomeü
    kterm &
    ȤܸбüưΤǧ.
  5. kterm Shift+Space Ȥܸ⡼ɤưǤ뤳Ȥǧ.
  6. GnomeüǤ kterm Ǥ褤Τǡ
    jman man
    Ȥܸޥ˥奢뤬ɤ뤳Ȥǧ.

ʤ륢Ȥκ

ʬΥȰʳΥȤǤ褦ˤƤߤ. Ūˤϡξ٤ꤢοͤ˴˾륢̾Ҥ͡ΥȤʬδƤ PC ˺. λˤΥѥɤϤοͼȤϤƤ餦.

ʤȺˤ(ŪˤϤäƤ뤳ȤƱ)ݤϤĤˡ.

  • sysinstall Configure User management User Ȥˡ. adduser ƤӽФǤΤ.
  • adduser Ϥˡ.
  • vipw ϤȤ͡ʥޥɤȤˡ.
    ˤǽŪˤϺǸˡȤʤȺ̤ФƤǽܤadduser ޥɤ鴷Τɤ.

ޤǽ褿麣κȤϽλ

ݡ

ԤäȤˤĤ furihata ä cmc.osaka-u.ac.jp ˥᡼𤻤.
ƼΡֽ°ǯֹ桤̾פ񤯤Τ˺ʤ褦.

ޤ

ǤƱ褦 FreeBSD PC ˥󥹥ȡ뤹뤳ȤǤΤǻƤߤͤ⤤. κݡ;äƤ PC ̵ȽʤȤΤǤϡʤʤ񤷤.
vmware player ʤɤβ۴ĶѤȡʻȤäƤ MS Windows Ǥ FreeBSD ΤΤȤȤǽˤʤäꤹ. ߤΤͤϻƤߤ褦.



(MS Windows VMware Player ǺƱȤԤä Gnome Ķޤǹۤ)

FreeBSDonVmware.png


źեե: filePC-number.png 385 [ܺ] fileFreeBSDonVmware.png 993 [ܺ]