**HP ProLiant MicroServer [#o286d6af]
-メモ
--HP MicroServer 体感キャンペーン~
http://h50146.www5.hp.com/products/servers/proliant/campaign/taikan_cp/


--マニア心をくすぐる小型サーバー「ProLiant MicroServer」のハードウェアを徹底分析~
http://cloud.watch.impress.co.jp/docs/special/20101013_397994.html 

--マニア心をくすぐる「HP MicroServer」を試す【リモート管理カード編】~
http://cloud.watch.impress.co.jp/docs/special/20101027_402687.html 

--ProLiant MicroServerの評価・仕様~
http://www.sd-dream.com/pasocompass/PC/hp/MicroServer.html

--HP ProLiant MicroServerでVMware ESXi~
http://blog.virtualtech.jp/ouchi/513


**scientific linux 6.1 [#s515ce80]
***EPEL6レポジトリの追加 [#kd045243]
-参考サイト:http://luna2-linux.blogspot.com/2011/07/centos-6-ntfs.html

-http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm ~
をダウンロードしてインストールするとEPELレポジトリが使えるようになる。
#pre{{
rpm -ivh epel-release-6-5.noarch.rpm
}}
-自動アップデートが有効になっているので無効化しておく
--/etc/yum.repos.d/epel.repo
#pre{{
[epel]
...
&color(red){enabled=0};
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
}}
***仮想化関連 [#b7f8aca9]

-http://www.tooyama.org/kvm-host.html からコピペ~
#pre{{
# yum -y install qemu-kvm libvirt python-virtinst bridge-utils
# usermod -G kvm -a $USER
# /etc/rc.d/init.d/libvirtd start
# chkconfig libvirtd on 

# service NetworkManager stop
# chkconfig NetworkManager off
# service network start
# chkconfig network on

# cd /etc/sysconfig/network-scripts/
# cp ifcfg-eth0 ifcfg-br0
}}

-ifcfg-eth0
#pre{{
DEVICE=eth0
HWADDR=XX:XX:XX:XX:XX:XX
BOOTPROTO=none
ONBOOT=yes
&color(red){BRIDGE=br0};
}}
-ifcfg-br0
#pre{{
DEVICE=&color(red){br0};
TYPE=&color(red){Bridge};
ONBOOT=yes
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.1.41
GATEWAY=192.168.1.1
}}

-iptables
--/etc/sysctl.conf:
#pre{{
# Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
}}
**RAID + LVM [#d9cf0941]
-下記ページの手順に従い、構築~
http://green-rabbit.sakura.ne.jp/blog/2010/11/27/2191/ ~

#pre{{
# /dev/sdbと/dev/sdcで/dev/md0という名前のRAID1を構築する場合
$ mdadm --create --metadata 1.0 --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sdb /dev/sdc
$ pvcreate -M2 --dataalignment 64K /dev/md0
}}
**Oracle 11gR2 XE(Express Edition) beta [#rf3fe282]
-document~
http://download.oracle.com/docs/cd/E17781_01/index.htm
-install
#pre{{
# yum install binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel \
              glibc glibc-common glibc-devel gcc gcc-c++ libaio libaio-devel \
              libgcc libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel 


# rpm -ivh oracle-xe-11.2.0-0.5.x86_64.rpm
準備中...                ########################################### [100%]
error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key
エラー: %pre(oracle-xe-11.2.0-0.5.x86_64) scriptlet failed, exit status 255
エラー:   install: スクリプト %pre の実行に失敗しました (2)。oracle-xe-11.2.0-0.5 をスキップします。

&color(red){エラーにより、/etc/sysctl.conf が書き換えられる?もう一度インストールすればOK};

# rpm -ivh oracle-xe-11.2.0-0.5.x86_64.rpm

# /etc/init.d/oracle-xe configure

Oracle Database 11g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 11g Express
Edition.  The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts.  Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:&color(red){18080 #個人的事情により変更};

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of
different passwords for each database account.  This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:y

Starting Oracle Net Listener...Done
Configuring database...Done
Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.
}}
-~/.bash_profile へ下記を追加
#pre{{
. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
}}
-接続テスト
#pre{{
$ sqlplus

SQL*Plus: Release 11.2.0.2.0 Beta on 水 8月 17 23:12:47 2011

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

Enter user-name: &color(red){system};
Enter password: &color(red){インストールで指定したパスワード};

Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Beta


SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
PL/SQL procedure successfully completed.

&color(red){データベースをユーザの作成($USER/$PASWORD)};
SQL> create user $USER identified by $PASSWORD;

User created.

SQL> alter user $USER default tablespace USERS;

User altered.

SQL> grant connect, resource to $USER;

Grant succeeded.

SQL> exit;
}}
-perl-DBD-Oracle
#pre{{
$ cd DBD-Oracle-1.27
$ perl Makefile.PL -m /u01/app/oracle/product/11.2.0/xe/rdbms/demo/demo_xe.mk
$ make
$ sudo make install
$ su

# ライブラリパスを通す
# echo '/u01/app/oracle/product/11.2.0/xe/lib' > /etc/ld.so.conf.d/oracle-x86_64.conf
# /sbin/ldconfig
}}

-http://localhost:18080/apex/f?p=4950
**%%ubuntu 10.10%% [#q5dd8706]
-ubuntu10.10 server版でsynapticがGUIで起動しません。~
https://forums.ubuntulinux.jp/viewtopic.php?pid=71484
-ディレクトリ名を英語に変更~
LANG=C xdg-user-dirs-gtk-update
-http://moimoitei.blogspot.com/2008/07/ubuntu-kvm-libvirt.html
--kvmのブリッジ設定~
#pre{{
auto eth0
iface eth0 inet static
address 192.168.1.xx
netmask 255.255.255.0
gateway 192.168.1.1
broadcast 192.168.1.255

auto br0
iface br0 inet static
address 192.168.1.xx
netmask 255.255.255.0
gateway 192.168.1.1
broadcast 192.168.1.255
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
}}
- /etc/X11/xorg.conf ~
--マウスカーソルがマウスに追従しない問題の解決法(タブレットデバイスを使う)
#pre{{
# Xorg configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice "Tablet" "SendCoreEvents"
        InputDevice "Mouse" "CorePointer"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier "Mouse"
        Driver "void"
        #Option "Device" "/dev/input/mice"
        #Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
        Identifier "Tablet"
        Driver "evdev"
        Option "Device" "/dev/input/event2"
        Option "CorePointer" "true"
        Option "Name" "Adomax QEMU USB Tablet"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "cirrus"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
}}

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS