Memo on my SUSE Linux
***********************************************
Setting PATH on SUSE linux
1. go to " /etc directory
2. make a file bash.bashrc.local
3. Then, add the following two line
PATH=$PATH:/target directory
export PATH
Save this file. That's it. Do not forget to give a permission to read and to execut to the target directory. 複数のパスを設定したい場合は、:で区切る
*****************************************
How to install SuSE on Thinkpad R50
1. Make a patition /boot with ext3
2. Make partition / with ext3
3. Make swap partition
3. Make other partition
**************************************************
Configuring ssh
1. edit /etc/ssh/sshd_config by emacs.
2. uncomment Authentication part
3. sshの再起動 /etc/init.d/sshd restart
4. For setting router, open the port number 22.
That's it
**************************************************
Configure vsftpd server on SuSe
1. edit /etc/vsftpd.conf file by using emacs
2. write_enable=YES
3. anonymous_enable=NO
4. type /etc/init.d/xinetd restart
5. type chkconfig xinetd on
That's it.
************************************************************
Installing linux version of Stata
1. mount CDROM by typing as follows:
mount -t iso9660 -r /dev/hdc /mnt
2. Go to the directory /usr/local/stata9
3. Then, type /mnt/install
That's it
**********************************************************
スクリプトファイルの実行方法
./ファイル名
***********************************************************
オフィスのネットワークに新しいコンピュータをつなぐ方法
1.IPアドレスは、192.168.11.12から192.168.11.24までを選択
2.ゲートウェイアドレス、DNSは192.168.11.1を選択するか、DCHPにさがさせるようにする。
That's it.
*********************************************************
Linuxにおけるホスト名の設定
1.Yastを起動
2.Network Devicesを選択
3.Network cardを選択
4.Ethercard 0を選択
5.Editを選択
6.Hostname and Nameserverを選択
7. ここでHostnameに好きな名前をいれる。Domain nameはなんでもよい。Name serverは、192.168.11.1が入っているか、DCHPでupdateさせる。
That's it.
******************************************************************
Matlabのインストール
0. rootになって、login する
1.CDをCDドライブにいれてマウントする。(CDのマウント方法に関しては上を参照。)
2.Matlabのマニュアルどおりに、ディレクトリを作成。
通常は、/usr/local/matlab704 など。
3.そこのディレクトリに移動
4.license.datをmatlab704ディレクトリーに移動
5. タイプ /mnt/install*
6. インストール終了後、matlab704/etcディレクトリーで、ユーザ名のところをnaitoに変更。
7.rootからでて一般ユーザとしてはいる。
8.使用する場合は、ユーザとして入って matlab704/etcディレクトリーに移動。そこで ./lmstartとタイプ
9.そのあとで、matlab704/binに移動し、./matlabとタイプするとmatlab起動。
10. lmstartとタイプしないで起動する方法はマニュアルを参照すること。ファイルを書き換えた後、ファイルのパーミッションをアクセス可能にしておくこと。