忍者ブログ
株のポジショントレード(数週間~数ヵ月)、ブックビルディングの記録。でしたが、今はoracleの備忘録。
2025-061 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 prev 05 next 07
69  68  67  66  65  64  63  62  61  60  59 
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

[root@db01eth0 ~]# /usr/sbin/groupadd -g 500 dba
[root@db01eth0 ~]# /usr/sbin/useradd -u 200 -g dba oracle
[root@db01eth0 ~]# id oracle
uid=200(oracle) gid=500(dba) 所属グループ=500(dba)
[root@db01eth0 ~]# passwd oracle
Changing password for user oracle.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@db01eth0 ~]#
[root@db01eth0 ~]#
[root@db01eth0 ~]# ls -l /etc/*ora*
-rw-rw-r-- 1 oracle 501 678 11月 15 18:14 /etc/oratab
[root@db01eth0 ~]# rm /etc/*ora*
rm: remove 通常ファイル `/etc/oratab'? y
[root@db01eth0 ~]#
[root@db01eth0 ~]#


[root@db01eth0 ~]# mkdir -p /opt/crs1110
[root@db01eth0 ~]# chown -R oracle:dba /opt/crs1110
[root@db01eth0 ~]# chmod 775 /opt/crs1110
[root@db01eth0 ~]# ls -l /opt
合計 12
drwxr-xr-x 3 root   root 4096 10月  2 03:02 ORCLfmap
drwxrwxr-x 2 oracle dba  4096 12月 27 06:47 crs1110
[root@db01eth0 ~]#
[root@db01eth0 ~]#
[root@db01eth0 ~]# mkdir /opt/ORACLE
[root@db01eth0 ~]# chown oracle:dba /opt/ORACLE
[root@db01eth0 ~]# chmod 775 /opt/ORACLE
[root@db01eth0 ~]# ls -l /opt
合計 16
drwxrwxr-x 2 oracle dba  4096 12月 27 07:12 ORACLE
drwxr-xr-x 3 root   root 4096 10月  2 03:02 ORCLfmap
drwxrwxr-x 2 oracle dba  4096 12月 27 06:47 crs1110
[root@db01eth0 ~]#


[root@db01eth0 ~]# grep MemTotal /proc/meminfo
MemTotal:      8180904 kB
[root@db01eth0 ~]#
[root@db01eth0 ~]#
[root@db01eth0 ~]# grep SwapTotal /proc/meminfo
SwapTotal:     2031608 kB
[root@db01eth0 ~]# cat /proc/swaps
Filename                                Type            Size    Used    Priority
/dev/mapper/VolGroup00-LogVol01         partition       2031608 0       -1
[root@db01eth0 ~]# free
             total       used       free     shared    buffers     cached
Mem:       8180904     830604    7350300          0      59080     511576
-/+ buffers/cache:     259948    7920956
Swap:      2031608          0    2031608
[root@db01eth0 ~]#
[root@db01eth0 ~]#
[root@db01eth0 ~]# dd if=/dev/zero of=/swapfile bs=1024k count=6144
6144+0 records in
6144+0 records out
6442450944 bytes (6.4 GB) copied, 45.5988 seconds, 141 MB/s
[root@db01eth0 ~]# mkswap /swapfile
Setting up swapspace version 1, size = 6442446 kB
[root@db01eth0 ~]# swapon /swapfile
[root@db01eth0 ~]# swapon -s
Filename                                Type            Size    Used    Priority
/dev/mapper/VolGroup00-LogVol01         partition       2031608 0       -1
/swapfile                               file            6291448 0       -2
[root@db01eth0 ~]# vi /etc/fstab
[root@db01eth0 ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
192.168.131.3:/nfs      /mnt/nfs                nfs     rw,rsize=32768,wsize=32768,hard,intr,noac  0 0
/swapfile                swap                    swap    defaults        0 0
[root@db01eth0 ~]#
[root@db01eth0 ~]#
[root@db01eth0 ~]# df -kh /tmp
Filesystem          サイズ  使用  残り 使用% マウント位置
/dev/mapper/VolGroup00-LogVol00
                      130G  9.6G  114G   8% /
[root@db01eth0 ~]#
[root@db01eth0 ~]#
[root@db01eth0 ~]# free
             total       used       free     shared    buffers     cached
Mem:       8180904    7280548     900356          0      67696    6815856
-/+ buffers/cache:     396996    7783908
Swap:      8323056          0    8323056
[root@db01eth0 ~]# uname -m
i686
[root@db01eth0 ~]#

※2号機も同様に設定。
PR
NAME
TITLE
COLOR
MAIL
URL
COMMENT
EMOJI
Vodafone絵文字 i-mode絵文字 Ezweb絵文字
PASS
TRACKBACK URL 
カレンダー
05 2025/06 07
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
最新コメント
最新トラックバック
プロフィール
HN:
fool
性別:
男性
職業:
会社員
自己紹介:
・国内現物&信用取引の株式のみ。
----------
・株を始めた日:2001/03/16
・〜2004年:収支が±20万の間を動いただけ。
・2005年1月より本を購入する等して再スタート。
・2005年5月よりブックビルディングに参加。
・2009年夏、トータルでマイナスになり、休止。
・過程に満足せず、結果を出すことが目標。
バーコード
ブログ内検索
"fool" WROTE ALL ARTICLES.
PRODUCED BY SHINOBI.JP @ SAMURAI FACTORY INC.
忍者ブログ [PR]