# adduser Username: langur Full name: Langur Uid (Leave empty for default): Login group [langur]: wheel ... 管理者権限を与えるため Login group is wheel. Invite langur into other groups? []: Login class [default]: Shell (sh csh tcsh nologin) [sh]: tcsh Home directory [/home/langur]: Home directory permissions (Leave empty for default): Use password-based authentication? [yes]: Use an empty password? (yes/no) [no]: Use a random password? (yes/no) [no]: Enter password: hogehoge Enter password again: hogehoge Lock out the account after creation? [no]: : :設定が表示 : OK? (yes/no): yes adduser: INFO: Successfully added (langur) to the user database. Add another user? (yes/no): no Goodbye!
FreeBSD 7.4-RELEASEの初期設定
作成日 | : | 2011/05/08 |
---|---|---|
最終更新日 | : | 2020/07/05 |
FreeBSD 7.4-RELEASEの初期設定
作成日 | : | 2011/05/08 |
---|---|---|
最終更新日 | : | 2020/07/05 |
初期設定の手順
ユーザーアカウントの追加
以下のコマンドを発行します
コマンド1. ユーザーの追加
ネットワークの仮設定
FMV-BIBLO NJ4/45CにはNICがないのでLUA3-U2-ATXを増設します。 各種ソフトウェアのインストールが完了するまで仮に設定します。
以下のコマンドを発行し、IPアドレスをDHCPで割り当てます。
コマンド2. ネットワークの仮設定
# dhclient axe0
ソフトウェアのインストール
以下のパッケージを導入します
- archives
- zip
- devel
- gmake
- subvirsion
- editors
- emacs-23
- japanese
- ja-anthy
- ja-font-ipa
- ja-font-ipa-uigothic
- ja-font-ipaex
- ja-font-kochi
- ja-font-migmix
- ja-font-mona-ipa
- ja-font-motoya-al
- ja-font-mplus
- ja-font-mplus-ipa
- ja-font-sazanami
- ja-font-shinonome
- ja-font-std
- ja-font-takao
- ja-font-ume
- ja-font-vlgothic
- ja-gawk-3.0.6
- ja-grep
- ja-kanji18
- ja-kanji26
- ja-kterm
- ja-less
- ja-ls
- ja-nkf
- ja-scim-anthy
- ja-sed
- ja-w3m-img
- lang
- gawk
- ruby-1.8
- shells
- bash
- tk
- ruby18-tk
- www
- midori
- firefox
- firefox-i18n
- x11-wm
- fluxbox
X11の設定
/etc/rc.confに以下を追記します。
ソース1. /etc/rc.conf
hald_enable="YES" dbus_enable="YES"
以下のコマンドを発行します
コマンド3. X11の設定
# cp /usr/local/share/hal/fdi/policy/10osvedor/10-x11-input.fdi /usr/local/etc/hal/fdi/policy/x11-input.fdi # chmod 644 /usr/local/etc/hal/fdi/policy/x11-input.fdi # Xorg -configure
以下を修正します。
ソース2. xorg.confの修正
--- xorg.conf.new 2011-05-11 22:29:44.000000000 +0900 +++ xorg.conf.new 2011-05-12 20:08:45.000000000 +0900 @@ -80,6 +80,7 @@ Identifier "Screen0" Device "Card0" Monitor "Monitor0" + DefaultDepth 16 SubSection "Display" Viewport 0 0 Depth 1 @@ -99,6 +100,7 @@ SubSection "Display" Viewport 0 0 Depth 16 + Modes "800x600" EndSubSection SubSection "Display" Viewport 0 0
以下のコマンドを発行します
コマンド4. xorg.confの上書き
# cp xorg.conf.new /etc/X11/xorg.conf