OpenVZ Kurulumu Centos [ Linux ] - Google Fan Webmaster Forum
Google Fan Webmaster Forum  
herşeyi sana yazdım

Geri git   Google Fan Webmaster Forum > Webmaster Genel > Site & Server Administration
KEY
Kayıt ol Articles Sosyal Gruplar Forumları Okundu Kabul Et

Site & Server Administration Server Yönetimi hakkında, .htaccess, Apache configuration ve log analiz, güvenlik

Cevapla
 
LinkBack Seçenekler
  1  
Alt 10-05-2011, 22:41:22
 
Arrow OpenVZ Kurulumu Centos [ Linux ]

Merhaba ;


Elim döndüğünce size OpenVZ kurulumunu anlatacağım.
Öncelikle putty ile ssh 'ye bağlanıyoruz ,sonra aşağıdaki komutları ssh üzerinden giriniz ;
Yum paketlerimizi indiriyoruz… ;
cd /etc/yum.repos.d

wget http://download.openvz.org/openvz.repo

rpm –import http://download.openvz.org/RPM-GPG-Key-OpenVZ

Yum paketlerimizi bi araştıralım ;
yum search ovzkernel
Aşağıdaki gibi çıktılar alacaksınız… ;


ovzkernel.i686 : Virtuozzo Linux kernel (the core of the Linux operating system)

ovzkernel.x86_64 : Virtuozzo Linux kernel (the core of the Linux operating system)

ovzkernel-PAE.i686 : The Linux kernel compiled for PAE capable machines.

ovzkernel-PAE-debug.i686 : The Linux PAE kernel compiled with debug config

ovzkernel-PAE-devel.i686 : Development package for building kernel modules to match the PAE kernel.

ovzkernel-debug.i686 : The Linux kernel compiled with debug config

ovzkernel-debug.x86_64 : The Linux kernel compiled with debug config

ovzkernel-devel.i686 : Development package for building kernel modules to match the kernel.

ovzkernel-devel.x86_64 : Development package for building kernel modules to match the kernel.

ovzkernel-ent.i686 : The Linux kernel compiled for huge mem capable machines.

ovzkernel-ent-debug.i686 : The Linux ent kernel compiled with debug config

ovzkernel-ent-devel.i686 : Development package for building kernel modules to match the ent kernel.

ovzkernel-xen.i686 : The Linux kernel compiled for Xen VM operations

ovzkernel-xen.x86_64 : The Linux kernel compiled for Xen VM operations

ovzkernel-xen-devel.i686 : Development package for building kernel modules to match the kernel.

ovzkernel-xen-devel.x86_64 : Development package for building kernel modules to match the kernel.

Evet artık yükleyebiliriz ;
yum install ovzkernel
Komutundan sonra otomatik kurulum başlayacaktır.
NOT : Bu Kurulum ve Ayarlamalar Sadece CentOS İÇİNDİR !!!
Şimdi bir kernel ayarlarından ufak bir yer değiştireceğiz ,önce dosyamızı açıyoruz ;
pico /boot/grub/menu.lst
Şimdi bu dosyanın içinden aşağıdaki kısımda verdiğim yeri "0" yapıyoruz.. ;

# 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 OpenVZ (2.6.18-238.5.1.el5.028stab085.5) root (hd0,0) kernel /vmlinuz-2.6.18-238.5.1.el5.028stab085.5 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-238.5.1.el5.028stab085.5.img title CentOS (2.6.18-238.el5) root (hd0,0) kernel /vmlinuz-2.6.18-238.el5 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-238.el5.img
Şimdi OpenVZ User Tools ( Kullanıcı Arayüz ) Paketimizi yüklüyoruz ;
yum install vzctl vzquota
Eeee… Bi kurulum yaptıysak bir düzenleme kaçınılmaz : ) aşağıdaki dosyayı açıp , onun altında verdiğim şekle getiriyoruz ;
pico /etc/sysctl.conf
Bu dosyanın içeriğini aşağıdaki gibi yapın ;

[...] net.ipv4.ip_forward = 1 net.ipv4.conf.default.proxy_arp = 0 net.ipv4.conf.all.rp_filter = 1 kernel.sysrq = 1 net.ipv4.conf.default.send_redirects = 1 net.ipv4.conf.all.send_redirects = 0 net.ipv4.icmp_echo_ignore_broadcasts=1 net.ipv4.conf.default.forwarding=1 [...]Kaydedip çıkıyoruz ve aşağıdaki işleme geliyoruz, komutu ekrana giriniz ;
sysctl -p
Şimdi NEIGHBOUR_DEVS ayarımızı yapacağız ;
pico /etc/vz/vz.conf
bu dosyayı açın ve aşağıdaki kısmı verdiğim şekilde düzeltin ;

[...] NEIGHBOUR_DEVS=all [...]Selinux Ayarlarımızı Yapın
pico /etc/sysconfig/selinux
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targetedBunu kaydediyoruz.
Yeniden başlatıyoruz ;
reboot
Ve makinamız açıldığında aşağıdaki komutu giriyoruz ;
uname -r
İşlemimiz bu kadar..
  • Doğabilecek herhangi bir sorunda bize Destek Talebi Gönder kısmından ulaşabilirsiniz.
  • Bu işlemi dilediğiniz taktirde ücretsiz olarak biz de yapabiliriz.Bunun için de Destek Talebi Gönder kısmından ulaşabilirsiniz.

Alıntıdır... OpenVZ Kurulumu Centos [ Linux ]

Alıntı ile Cevapla
Cevapla


Bookmarks

Seçenekler

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Kapalı
Refbacks are Açık



Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 23:10:32.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

“İnsanların en hayırlısı, insanlara faydalı olandır”. H.Ş

Hosting by Radore Hosting

İçerik sağlayacı paylaşım sitelerinden biri olan R10.net WebMaster Forum Adresimizde 5651 Sayılı Kanun’un 8. Maddesine ve T.C.K’nın 125. Maddesine göre TÜM ÜYELERİMİZ yaptıkları paylaşımlardan sorumludur. R10.net hakkında yapılacak tüm hukuksal Şikayetler adresi ile iletişime geçilmesi halinde ilgili kanunlar ve yönetmelikler çerçevesinde en geç 1 (Bir) Hafta içerisinde R10.net yönetimi olarak tarafımızdan gereken işlemler yapılacak ve Avukatlarımız size dönüş yapacaktır.
ARGUS_OK

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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252