- 追加された行はこの色です。
- 削除された行はこの色です。
**OpenVZ 参考資料 [#i0fbb002]
#Contetns
#contents
***公式 [#id557f8f]
-OpenVZ wiki
http://wiki.openvz.org/Main_Page
-OpenVZ wiki(日本語版)
http://wiki.openvz.jp/index.php/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8
***概要説明・インストール手順 [#r98fed1d]
-第3回 処理性能の高さが際立つOpenVZ
http://itpro.nikkeibp.co.jp/article/COLUMN/20070904/281111/?ST=virtual&P=1
***運用手順 [#lfce9e4f]
cd /etc/yum.repos.d/
wget http://download.openvz.org/openvz.repo
ls
rpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ
yum search ovzkernel
yum install ovzkernel-ent.i686
vi /boot/grub/grub.conf
vi /etc/sysctl.conf
sysctrl -p
sysctl -p
vi /etc/updatedb.conf
reboot
vi /etc/sysconfig/network
hostname openvz-devel.asabiya.net
unamo -r
uname -r
vmware-config-tools.pl
yum install ovzkernel-ent-devel.i686
vmware-config-tools.pl
cd /home/system/script/
cd os/
ls
cp timeset.sh vmnet.sh
vi vmnet.sh
cd /home/system/script/os/
ls
./vmnet.sh
ifconfig
lsmod
reboot
lsmod | grep vm
yum --help
yum -y install vzctl vzctl-lib vzpkg vzquota vzyum vzrpm43 vzrpm43-python vzrpm44 vzrpm44-python
yum -y install ntp
date
date
date
date
ntpdate ntp.nict.jp
date
cd /home/system/
ls
cd script/
ls
cd os/
ls
pwd
crontab -e
pwd
crontab -e
/etc/init.d/vz start
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 1
# OpenVZ
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456