ユーザ用ツール

サイト用ツール


サイドバー

debian:wheezy

以前のリビジョンの文書です


Wheezy

Debianのインストールおよび設定メモ (主にドスパラで買ったパソコンにインストール)

インストール

日本のサーバ(例えば, http://ftp.jaist.ac.jp/debian-cd/current/amd64/iso-cd/) から,最新版の debian-*-amd64-netinst.iso を落としてCDに焼く.

host名は研究室で適当に決定する.名前は山田太郎さんの場合,Taro YAMADA,アカウントはyamadaで登録する.

プロキシおよびポートは以下の通り. http://proxy.kuins.net:8080/

設定

sudoに登録

adduser yamada sudo

カタカタディレクトリを英語に変換

日本語環境でインストールした場合,カタカナのディレクトリがあるので英語に変換する.

LANG=C xdg-user-dirs-gtk-update

GNOMEを使わないのであれば,消してもよい.

aptの設定

うちの研究室だと,地球流体電脳倶楽部(京都)のサーバが近いらしい. 以下を取ってきて,/etc/apt/sources.list におく. http://www.debian.or.jp/using/apt/sources.list.http.dennou-k.gfd-dennou.org

近いところを見つける方法は以下の通り.

wget http://http.us.debian.org/debian/README.mirrors.txt
sudo cp apt-spy -d testing -s JP -m README.mirrors.txt -p http://proxy.kuins.net:8080

/etc/apt/sources.list はこんな感じ.

deb http://dennou-k.gfd-dennou.org/debian wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
#deb-src http://dennou-k.gfd-dennou.org/debian wheezy main contrib non-free

最新のものに更新しておく.

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade 
sudo apt-get autoremove 

nvidia

nvidiaの設定は,https://wiki.debian.org/NvidiaGraphicsDrivers を参照.

/etc/X11/xorg.conf はこんな感じで動いている.

Section "Module"
    Load        "glx"
EndSection

Section "Device"
    Identifier  "Video Card"
    Driver              "nvidia"
EndSection

ntpの設定

ntpを入れて,/etc/ntp.conf を編集.

sudo apt-get install ntp
sudo vi /etc/ntp.conf
# You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example
server ntp.kuins.net

# pool.ntp.org maps to about 1000 low-stratum NTP servers.  Your server will
# pick a different set every time it starts up.  Please consider joining the
# pool: <http://www.pool.ntp.org/join.html>
#server 0.debian.pool.ntp.org iburst
#server 1.debian.pool.ntp.org iburst
#server 2.debian.pool.ntp.org iburst
#server 3.debian.pool.ntp.org iburst

最後にリスタート

sudo /etc/init.d/ntp restart

google-chrome

chromeで検索.ダウンロード.

sudo dpkg -i Downloads/google-chrome-stable_current_amd64.deb

印刷

ブラザーのプリンターの設定. http://solutions.brother.co.jp/support/os/linux/lpr_printer/driver.html#HL-4570CDW から, hl4570cdwcupswrapper-1.1.1-5.i386.deb と hl4570cdwlpr-1.1.1-5.i386.deb をダウンロード 以下の通り,インストール.

sudo mkdir /var/spool/lpd
sudo dpkg -i --force-all hl4570cdwlpr-1.1.1-5.i386.deb 
sudo dpkg -i --force-all hl4570cdwcupswrapper-1.1.1-5.i386.deb

アプリケーション ⇒ システムツール ⇒ 印刷 ⇒ HL4570CDWを選択

オプション 'printer-resolution' は値 '(unknown IPP tag)' を持ちます。これは変更できません。 とか言われるが気にせずに、OK

デバイスURIの変更(ここでipp:10.249.205.96:631/ippと打ち込んでもOK?) ネットワークプリンターを選択⇒ ホスト名に10.249.205.96と入力⇒ ipp:10.249.205.96:631/ippを選択

latex

適当なパッケージをインストール

sudo apt-get install texlive-lang-cjk texlive-fonts-recommended xdvik-ja

その他

各種,パッケージをインストール

sudo apt-get install gfortran liblapack3gf gnuplot nkf emacs
sudo apt-get install udisks-glue fluxbox yatex

日本語入力

日本語入力は Alt+grave をあてるのが好き.

debian/wheezy.1387706825.txt.gz · 最終更新: 2017/10/03 12:55 (外部編集)