業務で必要になったので、CentOS 5.2 をインストールしました。
プロキシの設定
# yum の設定ファイル sudo vim /etc/yum.conf # 以下のように追加 proxy=http://proxy.domain:[port番号]
# wget の設定ファイル vim ~/.wgetrc # 以下を登録 #!/bin/bash http_proxy=http://proxy.domain:[port番号]
GPGの設定
sudo vim /etc/yum.repos.d/CentOS-Base.repo #enabled=0 enabled=1
wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 sudo rpm --import RPM-GPG-KEY-CentOS-5
サイズのみ
$gnome-terminal --geometry=[桁]x[行]
サイズと位置の指定
$gnome-terminal --geometry=[桁]x[行]+[X]+[Y]
「システム」->「設定」->「他の個人設定」->「セッション」を開き、「自動起動するプログラム」にコマンドを登録します。
CentOSの場合、smbfsが廃止になったそうで、cifsを使用します。
# CentOSの場合 mount -t cifs -o user=[ユーザー名],password=[パスワード],codepage=cp932,iocharset=utf8 //path/to/smbfs /mnt/nas # Ubuntuの場合 #mount -t smbfs -o username=[ユーザー名],password=[パスワード],codepage=cp932,iocharset=utf8 //path/to/smbfs /mnt/nas
※smbfsでは username ですが、cifsの場合は user
http://good-stream.com/goodstream/rhel/centos/tips5.html