株のポジショントレード(数週間~数ヵ月)、ブックビルディングの記録。でしたが、今はoracleの備忘録。
×
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
<ソフトウェアアップデーター>
(Windowsでいう、MicrosoftUpdateみたいなやつ。)
・半日以上かかったか。。
<NFSサーバセットアップ>
[root@localhost ~]# rpm -q portmap nfs-utils
portmap-4.0-65.2.2.1
nfs-utils-1.0.9-42.el5
[root@localhost ~]# service portmap status
portmap (pid 2710) を実行中...
[root@localhost ~]# vi /etc/hosts.allow
[root@localhost etc]# cat hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
#2010.02.14add
ALL: ALL
[root@localhost etc]# cat hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!
[root@localhost etc]# cd /srv
[root@localhost srv]# mkdir -p nfs/ocr
[root@localhost srv]# mkdir -p nfs/votingdisk
[root@localhost srv]# ls -ld /srv/nfs/*
drwxr-xr-x 2 root root 4096 2月 14 17:16 /srv/nfs/ocr
drwxr-xr-x 2 root root 4096 2月 14 17:16 /srv/nfs/votingdisk
[root@localhost srv]# cd /etc
[root@localhost etc]# vi exports
[root@localhost etc]# cat /etc/exports
#2010.02.14add
/srv/nfs 192.168.132.*(rw,sync,no_root_squash)
[root@localhost etc]#
[root@localhost etc]# service nfs status
rpc.mountd は停止しています
nfsd は停止しています
rpc.rquotad は停止しています
[root@localhost etc]#
[root@localhost etc]# service portmap restart
portmap を停止中: [ OK ]
portmap を起動中: [ OK ]
[root@localhost etc]# service nfs start
NFS サービスを起動中: [ OK ]
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
[root@localhost etc]#
[root@localhost etc]# exportfs -ar
[root@localhost etc]#
<ネットワークの設定>
・そういえばネットワークの設定をするのを忘れていた。
[root@localhost etc]# vi /etc/sysconfig/network
[root@localhost etc]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=prime
[root@localhost etc]#
[root@localhost etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=90:E6:BA:2C:73:39
ONBOOT=yes
[root@localhost etc]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
[root@localhost etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
#BOOTPROTO=dhcp
BOOTPROTO=static
HWADDR=90:E6:BA:2C:73:39
IPADDR=192.168.132.3
NETMASK=255.255.255.0
NETWORK=192.168.132.0
ONBOOT=yes
TYPE=Ethernet
[root@localhost etc]#
[root@localhost etc]# vi /etc/hosts
[root@localhost etc]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.132.3 prime
[root@localhost etc]#
[root@prime ~]# service avahi-daemon stop
Avahi デーモンを停止中: [ OK ]
[root@prime ~]# service sendmail stop
sm-client を停止中: [ OK ]
sendmail を停止中: [ OK ]
[root@prime ~]# chkconfig avahi-daemon off
[root@prime ~]# chkconfig sendmail off
[root@prime ~]#
[root@prime ~]# service nfs start
NFS サービスを起動中: [ OK ]
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
[root@prime ~]# chkconfig nfs on
[root@prime ~]#
(Windowsでいう、MicrosoftUpdateみたいなやつ。)
・半日以上かかったか。。
<NFSサーバセットアップ>
[root@localhost ~]# rpm -q portmap nfs-utils
portmap-4.0-65.2.2.1
nfs-utils-1.0.9-42.el5
[root@localhost ~]# service portmap status
portmap (pid 2710) を実行中...
[root@localhost ~]# vi /etc/hosts.allow
[root@localhost etc]# cat hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
#2010.02.14add
ALL: ALL
[root@localhost etc]# cat hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!
[root@localhost etc]# cd /srv
[root@localhost srv]# mkdir -p nfs/ocr
[root@localhost srv]# mkdir -p nfs/votingdisk
[root@localhost srv]# ls -ld /srv/nfs/*
drwxr-xr-x 2 root root 4096 2月 14 17:16 /srv/nfs/ocr
drwxr-xr-x 2 root root 4096 2月 14 17:16 /srv/nfs/votingdisk
[root@localhost srv]# cd /etc
[root@localhost etc]# vi exports
[root@localhost etc]# cat /etc/exports
#2010.02.14add
/srv/nfs 192.168.132.*(rw,sync,no_root_squash)
[root@localhost etc]#
[root@localhost etc]# service nfs status
rpc.mountd は停止しています
nfsd は停止しています
rpc.rquotad は停止しています
[root@localhost etc]#
[root@localhost etc]# service portmap restart
portmap を停止中: [ OK ]
portmap を起動中: [ OK ]
[root@localhost etc]# service nfs start
NFS サービスを起動中: [ OK ]
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
[root@localhost etc]#
[root@localhost etc]# exportfs -ar
[root@localhost etc]#
<ネットワークの設定>
・そういえばネットワークの設定をするのを忘れていた。
[root@localhost etc]# vi /etc/sysconfig/network
[root@localhost etc]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=prime
[root@localhost etc]#
[root@localhost etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=90:E6:BA:2C:73:39
ONBOOT=yes
[root@localhost etc]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
[root@localhost etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
#BOOTPROTO=dhcp
BOOTPROTO=static
HWADDR=90:E6:BA:2C:73:39
IPADDR=192.168.132.3
NETMASK=255.255.255.0
NETWORK=192.168.132.0
ONBOOT=yes
TYPE=Ethernet
[root@localhost etc]#
[root@localhost etc]# vi /etc/hosts
[root@localhost etc]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.132.3 prime
[root@localhost etc]#
[root@prime ~]# service avahi-daemon stop
Avahi デーモンを停止中: [ OK ]
[root@prime ~]# service sendmail stop
sm-client を停止中: [ OK ]
sendmail を停止中: [ OK ]
[root@prime ~]# chkconfig avahi-daemon off
[root@prime ~]# chkconfig sendmail off
[root@prime ~]#
[root@prime ~]# service nfs start
NFS サービスを起動中: [ OK ]
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
[root@prime ~]# chkconfig nfs on
[root@prime ~]#
PR

カレンダー
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 |
最新コメント
最新記事
(02/26)
(02/26)
(02/16)
(02/14)
(02/11)
最新トラックバック
プロフィール
HN:
fool
性別:
男性
職業:
会社員
自己紹介:
・国内現物&信用取引の株式のみ。
----------
・株を始めた日:2001/03/16
・〜2004年:収支が±20万の間を動いただけ。
・2005年1月より本を購入する等して再スタート。
・2005年5月よりブックビルディングに参加。
・2009年夏、トータルでマイナスになり、休止。
・過程に満足せず、結果を出すことが目標。
----------
・株を始めた日:2001/03/16
・〜2004年:収支が±20万の間を動いただけ。
・2005年1月より本を購入する等して再スタート。
・2005年5月よりブックビルディングに参加。
・2009年夏、トータルでマイナスになり、休止。
・過程に満足せず、結果を出すことが目標。
ブログ内検索