OpenVZ Forum


Home » General » Support » Please help me with OpenVZ
Please help me with OpenVZ [message #22996] Fri, 09 November 2007 09:50 Go to next message
kamranonline is currently offline  kamranonline
Messages: 16
Registered: February 2007
Junior Member
Hi OpenVZ Support Team,

I need help to install OpenVZ on my dedicated server .


I have Intel DUAL CORE E2140 - 2048 MB Ram .

I trying using YUM to install OpenVZ

1.

# cd /etc/yum.repos.d
# wget http://download.openvz.org/openvz.repo
# rpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ

2.

# yum install ovzkernel[-flavor]

Can you please tell me the best stable and latest kernel and supported for my server -flavor ?

3. bootloader

This is my server /boot/grub/grub.conf:

Can you please which one should I edit to OpenVZ kernel ?

Can you please tell me the edited one ?

-------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-8.1.15.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.1.15.el5 ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.18-8.1.15.el5.img
title CentOS (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.18-8.el5.img
-------------

4. sysctl

This is my server /etc/sysctl.conf

Can you please modify this for me ?


# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(Cool and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# 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 = 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

-------------------

5. Conntracks

This is my server /etc/modprobe.conf should I edit it ?

alias eth0 via-rhine
alias scsi_hostadapter sata_via
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbi$


6. Reboot

Can you please tell me how can I boot my server to OpenVZ kernel via SSH access ?

7.
yum install vzctl vzquota

8.
/sbin/service vz start


Thank you very much for supporting me

Thank you OpenVZ team

Re: Please help me with OpenVZ [message #23025 is a reply to message #22996] Fri, 09 November 2007 21:21 Go to previous message
ugob is currently offline  ugob
Messages: 271
Registered: March 2007
Senior Member
Have you read the user's manual?

http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf


Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
Previous Topic: Diskspace filled with nothing in a VE
Next Topic: config-files (ip address) in ostemplate
Goto Forum:
  


Current Time: Sun Sep 15 19:48:16 GMT 2024

Total time taken to generate the page: 0.03649 seconds