OpenVZ 参考資料

公式

概要説明・インストール手順

運用手順

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

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2025-03-16 (日) 23:21:14