soma 50 mg get get levitra online soma daily propecia canada 5mg get quick delivery propecia levitra cheap delivery get tramadol online cialis daily formula best phentermine online propecia suppliers phentermine for sale in usa now acomplia no prescription generic daily cialis usa will acomplia work now buy propecia usa phentermine canadian pharmacy cheap buy phentermine sales canadian propecia delivery canada acomplia cialis without a prescription online cialis daily generic soft phentermine canadian pharmacy viagra specials now soma suppliers buy discount cialis cheap natural phentermine soma by mail usa the best acomplia in us viagra on line acomplia scam buy acomplia generic canada real viagra soma for sale female phentermine pills acomplia without a prescription once daily tramadol canadian pharmacy acomplia buying viagra without prescription phentermine purchase now canadian pharmacy levitra discounts tramadol without prescription cialisis cheap generic tramadol next day shipping now propecia 20 mg best prices on generic soma sale viagra generic canada levitra daily formula canada cialis by mail buy acomplia sales quick delivery cialis usa quick delivery tramadol tramadol daily acomplia without prescription propecia daily formula once daily soma get buy cialis on line generate viagra canadian pharmacy propecia without prescription canada phentermine generic canada viagra how fast does it work daily soma fast where to get acomplia acomplia from china acomplia canada online propecia generic no rx canada discount generic acomplia sale cialis daily soma canadian pharmacies viagra sales online fast generic daily propecia propecia one a day sales buying acomplia without prescription now phentermine no prescription online inexpensive viagra discounts best prices on generic cialis soma without a prescription buy propecia on line sales tramadol daily generic get where to purchase soma sales buy propecia online phentermine sur le net get buy tramadol on line usa propecia 100 mg delivery daily levitra daily cialis buy soma usa sale daily tramadol viagra soft tabs once daily levitra viagra for women levitra daily canada once daily cialis viagra mexico sales generic cialis next day shipping tramadol name brand pills how much does tramadol cost delivery soma sales quick delivery levitra phentermine soft tabs buy propecia 50 mg cheap acomplia sales tramadol 50 mg discount levitra discounts viagra samples levitra daily generic discount generic viagra delivery overnight delivery phentermine delivery viagra purchase get which online sell real propecia discounts phentermine samples tramadol cost buy viagra without prescription viagra online without prescription best generic propecia how do you get prescription acomplia without prescription online levitra 20 mg propecia cheap sales get soma online viagra canadian india get natural acomplia cheap phentermine canada no rx levitra online generic acomplia canada soma cheap non prescription acomplia buying viagra in canada tramadol soft tabs usa how do you get prescription viagra without prescription canadian soma now cialis daily online sales buy levitra without prescription propecia daily buy acomplia without prescription levitra canada online pharmacy sales virtual med store propecia generic tramadol from india phentermine without a prescription soma daily generic phentermine aus den usa phentermine how fast does it work viagra from china fast soma canada online pharmacy usa tramadol 5mg sale phentermine canada online purchase buy cialis usa viagra in india cialis order discounts canadian pharmacy phentermine canada cialis generic no rx soma one a day soma daily price canadian pharmacy cialis without prescription no rx tramadol acomplia canadian delivery propecia name brand pills overnight delivery viagra cheap canadian phentermine best prices on generic tramadol soma specials acomplia 50 mg canada pharm viagra inexpensive acomplia levitra cost tramadol price female acomplia pills will viagra work get canadian pharmacy propecia soma name brand pills levitra canadian pharmacies tramadol specials discount tramadol buy soma on line now levitra order canadian pharmacy soma viagra soft usa how much does propecia cost delivery canadian cialis cialis specials discounts discount viagra sale propecia specials cialis for sale generate phentermine cheap female phentermine levitra by mail sale best viagra online tramadol canadian pharmacies delivery viagra sale phentermine on line delivery cheap phentermine no prescription viagra dose acomplia on line sales phentermine for women canadian pharmacy soma without prescription cheap acomplia cheap fast phentermine canadian india buy canadian pharmacy viagra sales tramadol order generic propecia now buy phentermine for cheap generic daily levitra soma without prescription phentermine sale cheap viagra canadian acomplia soft tabs usa acomplia in india buy acomplia dose non prescription viagra discounts get propecia online generic levitra from india buy once daily propecia levitra daily online phentermine for sale usa acomplia sale usa tramadol daily formula sale generic soma next day shipping viagra tablets soma 5mg acomplia scams online cheap viagra no prescription canada pharm phentermine cheap viagra canada soft viagra online tramadol suppliers discounts soft acomplia acomplia and cialis acomplia sur le net buy levitra online buy cialis cheap tramadol 100 mg viagra sur le net soma pound natural viagra cheap viagra without a prescription cheap buy viagra for cheap cheap female acomplia fast where to purchase tramadol viagra canadian pharmacy canada canadian pharmacy cialis no rx cialis online canadian fast viagra for sale in usa where to get phentermine phentermine 50 mg delivery cialis 50 mg levitra 50 mg buy buy real acomplia online with no prescription generic propecia from india canada which online sell real levitra viagra canada cheapest viagra without prescription usa female viagra pills cialis daily price levitra generic no rx buy phentermine sales get prescription phentermine canada tramadol cheap online acomplia for sale canadian pharmacy acomplia specials propecia daily generic propecia for sale fast canadian viagra cialis canada online pharmacy sale tramadol daily online cialis canadian pharmacies canada levitra specials canadian acomplia acomplia online without prescription levitra sales daily propecia acomplia purchase real acomplia now soma cost usa cialis sales viagra 100 mg generic cialis canadian propecia sales propecia by mail cheap buy tramadol online viagra on special levitra canada 5mg sales cialis 5mg buy viagra fast real phentermine soma order the best viagra in us delivery where to get viagra cialis suppliers best generic levitra viagra scam fast best generic tramadol cialis canada 5mg cheap levitra soft tabs now propecia without a prescription fast acomplia aus den usa cialis 100 mg buy canadian pharmacy tramadol usa soft gel acomplia soma daily online discount acomplia cialis 20 mg fast propecia canadian pharmacies acomplia for women viagra canada online purchase fast buy acomplia from canada propecia 5mg sale virtual med store levitra generic daily tramadol non prescription phentermine how much does levitra cost discounts tramadol daily price fast phentermine dose levitra daily price soma price discount phentermine acomplia tablets canada pharm acomplia viagra sales sales cheap viagra usa generate acomplia acomplia canada online purchase phentermine from china phentermine tablets buy cheap acomplia usa levitra price canada viagra get cialis one a day levitra name brand pills propecia daily online cialis soft tabs discount generic phentermine tramadol generic no rx now canada phentermine usa soma generic no rx prescription viagra canada sale virtual med store tramadol generic propecia next day shipping now how much does cialis cost buy the best phentermine in us phentermine sales online propecia price generic daily soma canadian tramadol levitra 100 mg discount soma buy propecia without prescription how do you get prescription phentermine without prescription fast how much does soma cost tramadol sales viagra cheap fast usa best acomplia online sale viagra for sale sales best prices on generic propecia buy real phentermine online with no prescription phentermine scam acomplia canadian pharmacy viagra propecia pills tramadol one a day buy cialis without prescription buy tramadol usa sales acomplia mexico buy soft gel viagra phentermine cheap which online sell real cialis canadian pharmacy levitra without prescription canadian levitra sales levitra one a day usa no rx soma buy generic viagra canada generic levitra buying phentermine in canada virtual med store cialis soma pills acomplia for sale in usa fast tramadol 20 mg cheap phentermine online without prescription usa buy levitra usa generic phentermine canada phentermine and cialis cheap phentermine usa which online sell real soma online levitra without a prescription best generic soma buy best prices on generic levitra propecia sales phentermine in india where to purchase levitra sale phentermine canadian buy phentermine without prescription online best generic cialis cialis pound buy soma online discounts phentermine delivery soma soft tabs buy levitra on line cheap generic soma sale levitra suppliers online tramadol pound fast generic cialis from india generic soma from india cialis name brand pills online buy tramadol without prescription delivery buy real viagra online with no prescription viagra no prescription propecia pound canadian tramadol sales usa acomplia professional viagra scams buy levitra without prescription acomplia sales online discounts canadian cialis sales phentermine soft phentermine scams fast cheap acomplia no prescription buy viagra from canada buy phentermine from canada get levitra pills virtual med store soma canada cheap viagra tramadol by mail cheapest acomplia without prescription viagra aus den usa online tramadol pills sales buying phentermine without prescription discounts propecia without prescription now acomplia canadian india acomplia how fast does it work buy acomplia for cheap cheap phentermine on special which online sell real tramadol discounts cialis cost cheap acomplia soft cheapest phentermine without prescription soma canada 5mg usa canadian pharmacy tramadol without prescription acomplia sales usa delivery overnight delivery acomplia usa tramadol without a prescription discounts levitra 5mg soma daily formula cheap acomplia tramadol canada 5mg delivery levitra for sale no rx propecia usa phentermine mexico delivery cialis without prescription discounts soft gel phentermine canada phentermine 100 mg usa where to purchase propecia discount propecia tramadol for sale buy cialis online sale acomplia samples acomplia delivery now buy soma without prescription prescription acomplia canada cheap phentermine propecia canada online pharmacy propecia order now phentermine cheap fast viagra delivery get cialis online sale viagra without prescription sale canadian soma sales canadian levitra sales sale cheap acomplia canada get inexpensive phentermine usa quick delivery soma phentermine without prescription sale phentermine canada cheap viagra from canada sales phentermine sales usa online canadian pharmacy phentermine specials buying acomplia in canada will phentermine work buy acomplia on special sales viagra 50 mg cheap female viagra cheap propecia cost cheap cialis pills where to purchase cialis viagra and cialis online viagra professional online cialis price propecia soft tabs cheap generic levitra next day shipping viagra sales usa sale phentermine professional soma 20 mg cheap phentermine from canada tramadol canada online pharmacy delivery propecia daily price cheap acomplia from canada levitra pound soma 100 mg cheap generic tramadol discounts

 

March 10, 2007

OpenVZ - Open Source VPS Software

Filed under: Technical Articles — @ 10:06 am

OpenVZ is an Operating System-level server virtualization solution, built on Linux. OpenVZ creates isolated, secure virtual environments VEs (otherwise known as virtual private servers, or VPSs) on a single physical server enabling better server utilization and ensuring that applications do not conflict. Each VE performs and executes exactly like a stand-alone server; VEs can be rebooted independently and have root access, users, IP addresses, memory, processes, files, applications, system libraries and configuration files.
Using premier VPS technology, several isolated VPS systems are installed on a single physical server. Users share systems resources, such as the CPU and memory, but unlike shared hosting the file system is fully partitioned so they are not affected by other activities on the server. This means that up-time is more consistent, while root access to the server provides the flexibility to add and change modules and install your own software.

File System
———–
It is recommended to use a separate partition for VEs private directories (by default /vz/private/veid). The reason why you should do so is that if you wish to use OpenVZ per-VE disk quota, you won’t be able to use usual Linux disk quotas on the same partition.OpenVZ per-VE disk quota is supported only for ext2/ext3 filesystems. So use one of these filesystems (ext3 is recommended) if you need per-VE disk quota.

Yum Pre-setup
————-
If you want to use yum, you should set up OpenVZ yum repository first.

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

Install Kernal using yum
————————-
# yum install ovzkernel[-flavor]

Using rpm
———-
# rpm -ihv ovzkernel[-flavor]*.rpm

Configuring the bootloader
————————–

In case GRUB is used as the boot loader, it will be configured automatically: lines similar to these will be added to the /boot/grub/grub.conf file:
title Fedora Core (2.6.8-022stab029.1)
root (hd0,0)
kernel /vmlinuz-2.6.8-022stab029.1 ro root=/dev/sda5 quiet rhgb vga=0×31B
initrd /initrd-2.6.8-022stab029.1.img

title OpenVZ (2.6.8-022stab029.1)
root (hd0,0)
kernel /vmlinuz-2.6.8-022stab029.1 ro root=/dev/sda5
initrd /initrd-2.6.8-022stab029.1.img

Installing the utilities
————————-
OpenVZ needs some user-level tools installed. Those are:
vzctl
A utility to control OpenVZ VPSs (create, destroy, start, stop, set parameters etc.)
vzquota
A utility to manage quotas for VPSs. Mostly used indirectly (by vzctl).
Using yum..
# yum install vzctl vzquota
Using rpm..
# rpm -Uhv vzctl*.rpm vzquota*.rpm

Starting OpenVZ

# /sbin/service vz start

Creating an OS template cache
——————————
An OS template cache is an OS template installed into a VE and then packed into a gzipped tarball. Using such a cache, a new VE can be created in a matter of minutes, if not seconds. OS template cache can either be created from OS template metadata using vzpkg tools, or by other means.
You have to install a few packages in order to be able to create/update OS template cache

&nbspUsing yum
# yum install vzpkg vzyum vzrpm43-python vzrpm44-python
&nbspUsing rpm
# rpm -ihv vzpkg*.rpm vzyum*.rpm vzrpm44*.rpm

Installing OS template metadata
——————————–

As an alternative to creating a cache using template metadata, you can use precreated template cache taken from Downloads » Templates » Precreated, or directly from download.openvz.org/template/precreated, However, this option is not recommended for production systems since without installing template metadata you will not be able to update your template cache. In order to use precreated template cache files, download files for chosen OS distributions and place them as-is (no unpacking needed) to the /vz/template/cache directory.

VE Creation
———–

# vzctl create VEID –ostemplate osname
# vzctl set VEID –ipadd a.b.c.d –save
# vzctl start VEID

Here VEID is the numeric ID for the VE; osname is the name of the OS template for the VE, and a.b.c.d is the IP address to be assigned to the VE.

Example:

# vzctl create 101 –ostemplate fedora-core-5-minimal
# vzctl set 101 –ipadd 10.1.2.3 –save
# vzctl start 101

VE should be up and running now; you can see its processes

# vzctl exec VEID ps ax

To provide VEID password

# vzctl exec VEID passwd ‘username’

To enter VE give the following command:

# vzctl enter VEID
entered into VPS VEID
[ve]#

To exit from VE, just type exit and press enter:

[ve]# exit
exited from VPS VEID
#

To stop VE

# vzctl stop VEID
Stopping VPS …
VPS was stopped
VPS is unmounted

To destroy VE

# vzctl destroy VEID

Destroying VPS private area: /vz/private/VEID
VPS private area was destroyed

The Vps configuration file

# vi /etc/vz/conf/XXX.conf

Article Authored by Bobbin Zacharia

Author, Bobbin, is a Systems Engineer with SupportPRO. Bobbin specializes in Cpanel and Linux server security. SupportPRO offers 24X7 technical support services to Web hosting companies and service providers.

AddThis Social Bookmark Button

IPTables

Filed under: Technical Articles, Server Security — @ 6:07 am
AddThis Social Bookmark Button

Debian vs Centos - A comparison based on Webhosting needs

Filed under: Technical Articles — @ 5:09 am
AddThis Social Bookmark Button
Next Page »

Powered by WordPress