管理
landisk:/# apt-get install x-window-system xfonts-a12k12 kterm vncserver wdm
#!/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 export PATH [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & exec twm
XTerm.vt100.foreground: black XTerm.vt100.background: white
landisk:/# cd /root landisk:~# cp /etc/X11/twm/system.twmrc-menu .twmrc
70行目付近 # # And a menus with the usual things # menu "main" { "Main Menu" f.title "Debian" f.menu "/Debian" "xterm" f.exec "xterm -sb -ls &" "kterm" f.exec "kterm -sb -ls &" "emacs" f.exec "emacs &" "xcalc" f.exec "xcalc &" "oclock" f.exec "oclock &" "xkill" f.exec "xkill &" "" f.nop "Show Icon Manager" f.showiconmgr "Hide Icon Manager" f.hideiconmgr "" f.nop "Exit" f.menu "Quit-Verify" }
#:0 local /usr/bin/X11/X -nolisten TCP :0 local /usr/bin/Xrealvnc -geometry 1024x768 -depth 16
10行目付近 DisplayManager._0.authorize: false
landisk:/# /etc/init.d/wdm restart Starting WINGs display manager: wdm.
Emacs上で日本語が読み書きできる最小限の環境を構築します。
landisk:/# apt-get install emacs21 anthy anthy-el
(set-language-environment "Japanese") (load-library "anthy") (setq default-input-method "japanese-anthy") (setq default-frame-alist '( (font . "7x14" ) )) (global-font-lock-mode t)
landisk:~# apt-get install ntpdate
landisk:~# ntpdate ntp-tk01.ocn.ad.jp Looking for host ntp-tk01.ocn.ad.jp and service ntp host found : ntp-tk01.ocn.ad.jp 13 Mar 19:04:44 ntpdate[1223]: adjust time server xx.xx.xx.xx offset 0.001005 sec
# servers to check. (Separate multiple servers with spaces.) NTPSERVERS="ntp-tk01.ocn.ad.jp" # # additional options for ntpdate #NTPOPTIONS="-v" NTPOPTIONS="-u"
#!/bin/sh /etc/init.d/ntpdate start
landisk:~# chmod +x ntpdate-cron landisk:~# cp ntpdate-cron /etc/cron.daily