学科PCの構成
2023年度 THINK pAD PC 構成
学科PCの基本構成は以下の通りです:
Ubuntu 20.04 LTSとWindows 11が両方起動可能
Microsoft Officeはインストールされていません。
必要な人は UTokyo Microsoft License (https://www.u-tokyo.ac.jp/adm/dics/ja/mslicense.html) に従って、各自でインストールしてください。
ウイルス対策機能は、Windows 10に標準でインストールされている Windows Defender機能が担います。
2022年度 THINK pAD PC 構成
学科PCの基本構成は以下の通りです:
Ubuntu 20.04 LTSとWindows 10が両方起動可能
Microsoft Officeはインストールされていません。
必要な人は UTokyo Microsoft License (https://www.u-tokyo.ac.jp/adm/dics/ja/mslicense.html) に従って、各自でインストールしてください。
ウイルス対策機能は、Windows 10に標準でインストールされている Windows Defender機能が担います。
2019-2021年度 THINK pAD PC 構成
学科PCの基本構成は以下の通りです:
Ubuntu 18.04 LTSとWindows 10が両方起動可能
Microsoft Officeはインストールされていません。
必要な人は UTokyo Microsoft License (https://www.u-tokyo.ac.jp/adm/dics/ja/mslicense.html) に従って、各自でインストールしてください。
ウイルス対策機能は、Windows 10に標準でインストールされている Windows Defender機能が担います。
構築手順 (2018年度版 のDELL PC: TAによるメモ)
注意点
設定は最小限に控えること.特に Wi-Fi には接続せず,有線を利用すること. Minimize configuration. Especially, use a LAN cable instead of connecting to Wi-Fi.
必ずクリーンインストールすること. Do clean installation.
Windowsをインストールする
インストール用の CD を使う. Use an installation CD.
電源ボタンを押して,その後すぐに F12 ボタンを連打してブートメニューに入る. Press the power button, then press the F12 button repeatedly to enter the boot menu.
「CD/DVD から起動する」的な項目があるのでそれを選択してエンターを押す. You should see an item like “Boot with CD/DVD”. Choose that and press Enter.
ライセンスに同意して,「今すぐインストール」のボタンを押す.そして「カスタム」を選択する. Agree with the license, press the “Install now” button, and choose “Custom”.
既存のパーティションを全て削除して,Windows 用に 200 000 MB の領域を割り当てる.「システム用の領域を確保」とか聞かれるので「はい」を選択. Remove all existing partitions, and assign 200 000 MB for Windows. You should be answered some- thing like “Assign disk space for Windows system” and choose “Yes”.
インストールが完了するまで待つ. Wait for the installation to finish.
詳細設定を行い,Smart Screen 以外の項目を全てオフにする. Do the custom configuration and make sure all items except “Smart Screen” are turned OFF.
「denjo」というユーザを作成し,いつものパスワードを設定する.パスワードのヒントをスペース 1 つに 設定する. Create a new user named “denjo” and set its password to the usual one. The hint of password is a single space.
Windows の更新プログラムを適用し,終わるまで待つ.再起動を求められたらする. Update Windows and wait. Restart if necessary.
デバイスのプライバシー設定の項目は全てオフにする. Turn all items of in the configuration of privacy.
Cortana は使わない. Do not use Cortana.
ライセンスフォームを記入する.アドレスは https://goo.gl/MC3i3z. Write the license form. The address is https://goo.gl/MC3i3z.
Windows 10 のライセンス認証を utmseesw を使って行う. Use “utmseesw” to activate Windows 10.
「vcredist」,「Win64OpenSSL」,「SendInfo」をインストールする. Install “vcredist”, “Win64OpenSSL”, “SendInfo”.
Office 2016 をインストールする. Install Office 2016.
ウイルスバスターをインストールして,最新版にアップデートする. Install virusbuster and update to the latest version.
Adobe Reader 及び Chromium をインストールし,最新版にアップデートする. Install Adobe Reader and Chromium and update to the latest version.
デスクトップに「sendinfo-gui.exe」のショートカットを「sendinfo」という名前で作成し,それ以外の ショートカットを削除する. Create a shortcut named “sendinfo” to “sendinfo-gui.exe” on Desktop, and remove other shortcuts.
タスクバーに Microsoft Edge の右に Chromium へのショートカットを作成する. Create a shortcut to Chromium at the right hand side of Microsoft Edge on the task bar.
拡張子を表示するよう設定する. Do configuration to show file extension.
Microsoft Edge 及び Chromium のホームページを http://i1i2i3.eidos.ic.i.u-tokyo.ac.jp/index.html に設定して,履歴及びキャッシュを全て削除する. Set the homepage of Microsoft Edge and Chromium to http://i1i2i3.eidos.ic.i.u-tokyo.ac. jp/index.html and delete all histories and caches.
最近使用したファイルの履歴を削除する. Delete all histories of recent used files.
「チップセットデバイスソフトウェア」を http://www.dell.com/support/home/jp/ja/jpdhs1/ product-support/product/latitude-e6430/drivers よりインストールする. Install “Chipset Device Software” from http://www.dell.com/support/home/jp/ja/jpdhs1/product-support/product/latitude-e6430/drivers.
Windows 10 のアップデートがないか確認して,ある場合はアップデートする. Check whether there are updates, and do it if necessary.
C:\Windows\Temp にある全てのものを削除する. Remove all files under C:\Windows\Temp.
Ubuntuをインストールする
Ubuntu 16.04 の CD を入れて,そこから起動する. Insert the Ubuntu 16.04 installation CD and boot with that.
「ようこそ」の画面で日本語を選択する. Choose Japanese at “Welcome” page.
「アップデートをダウンロード」及び「サードパーティソフトウェアをインストール」にチェックを入れ る. Make sure that “download update during installation” and “install third-party software” are checked.
「Ubuntu を Windows 10 とは別にインストール」を選択する. Choose the first radio button (“Install Ubuntu seperately from Windows”).
「ディスクに変更を書き込みますか?」と聞かれるので,「続ける」を選択する. You will be answered whether to change the disk, choose “Continue”.
タイムゾーン,キーボードのレーアウトはデフォルトのままにする. Keep the time zone and keyboard layout to default.
ユーザネームを「denjo」,コンピュータの名前を「denjo-pc」,いつものパスワードを入れる.その他の項 目はデフォルトのままにする. Set the user name to “denjo”, PC name to “denjo-pc” and set the usual password. Keep other items to default.
以下のコマンドを実行する. Execute these commands.
LANG=C xdg-user-dirs-gtk-update
wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -
wget -q https://www.ubuntulinux.jp/ubuntu-jp-ppa-keyring.gpg -O- | sudo apt-key add -
sudo wget https://www.ubuntulinux.jp/sources.list.d/trusty.list -O /etc/apt/sources.list.d/ubuntu-ja.list
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install ubuntu-defaults-ja
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get -y update
sudo apt-get -y install oracle-java8-installer
sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get -y update
sudo apt-get install indicator-multiload
indicator-multiload 右上のゲートをダブルクリックして、設定を見て、AutoStartをon, colorsをtraditionalに変更。
以下のコマンドを実行する. Execute these commands.
sudo apt-get install build-essential python-mode ruby gnuplot-doc gnuplot-x11 \
emacs valgrind \
thunderbird-locale-ja subversion git-svn\
manpages-ja-dev \
nkf netcat-openbsd\
ghostscript gv cmap-adobe-japan1 gs-cjk-resource\
iperf vim-gnome patch \
ibus-mozc \
gimp inkscape \
texlive texlive-lang-cjk texlive-science \
virtualbox wxmaxima \
python-visual python-matplotlib python-scipy python-numpy \
sox audacity libsox-dev libsoxr-dev
dconf reset /org/gnome/settings-daemon/plugins/keyboard/active
dconf write /org/gnome/desktop/input-sources/xkb-options "['ctrl:nocaps']"
sudo apt-get remove --purge transmission-common transmission-gtk
sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove
.emacs.d/init.elを以下のように設定する. Make .emacs.d/init.el like below.
;enable font-lock
(when(fboundp 'global-font-lock-mode)(global-font-lock-mode t))
(setq font-lock-maximum-decoration t)
;use UTF-8
(coding-system-put 'utf-8 'category 'utf-8)
(set-language-info "Japanese" 'coding-priority(cons 'utf-8(get-language-info "Japanese" 'coding-priority)))
(set-language-environment "Japanese")
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-buffer-file-coding-system 'utf-8)
(setq default-buffer-file-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
; highlight selected region
(transient-mark-mode t)
;use bash
(setq explicit-shell-file-name "/bin/bash")
(setq shell-file-name "/bin/bash")
(setq shell-command-switch "-c")
;hide inputting password
(add-hook 'comint-output-filter-functions 'comint-watch-for-password-prompt)
;handle escape sequences
(autoload 'ansi-color-for-comint-mode-on "ansi-color"
"Set `ansi-color-for-comint-mode' to t." t)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
;use UTF-8
(add-hook 'shell-mode-hook(lambda()(set-buffer-process-coding-system 'utf-8 'utf-8)))
;adjust window size
(setq default-frame-alist (append (list
'(width . 80)
'(height . 50))
default-frame-alist))
;hide toolbar
(tool-bar-mode 0)
;show line number
(line-number-mode t)
;show column number
(column-number-mode t)
;inhibit startup message
;(setq inhibit-startup-message t)
;show paren
(show-paren-mode 1)
;hi-light
(defface hlline-face
'((((class color)
(background dark))
(:background "dark slate glay"))
(((class color)
(background light))
(:background "#E6E6E6"))
(t
()))
"")
(setq hl-line-face 'hlline-face)
(global-hl-line-mode)
ソフトウェアをアップデートする. Update software.
Firefox,bash の履歴を全て削除する. Delete all histories of Firefox and bash.
$ rm /etc/udev/rules.d/70-persistent-net.rules
$ rm .bash_history; touch .bash_history
$ ls -A | grep bash
$ ps aux | grep bash
$ kill -9 <PID>