Create VPS on CentOs
Table of Contents
Install Openvz on centos
cd /etc/yum.repos.d wget <a href="http://download.openvz.org/openvz.repo" target="_blank" rel="nofollow noopener noreferrer ugc" class="underline">http://download.openvz.org/openvz.repo↗</a> rpm --import <a href="http://download.openvz.org/rpm-GPG-key-openvz" target="_blank" rel="nofollow noopener noreferrer ugc" class="underline">http://download.openvz.org/rpm-GPG-key-openvz↗</a>
Edit in repo file
<h1>vi openvz.repo [openvz-kernel-rhel5] enable=0 [openvz-kernel-rhel6] enable=1</h1>
Install new kernal
#yum search vzkernel #yum install vzkernel.x86_64/vzkernal-devel.x86_64
Install vz quata
vi /boot/grub/menu.lst # yum install vzctl vzquota
Edit in conf file
#vi /etc/sysctl.conf ipv4.ip forverding =1 ipv4.default.rp.filter=1 kernal.sysrp =1
Run command
sysctl -p
edit in config of vz enable for all
<h1>vi /etc/vz/vz.conf NEIGHBOUR_DEVS=all</h1>
Restart server
Install Template for diffrent Os after installing openvz
Download from openvz.org
Download templates
wget <a href="http://download.openvz.org/template/precreated/ubuntu-12.04-x86_64.tar.gz" target="_blank" rel="nofollow noopener noreferrer ugc" class="underline">http://download.openvz.org/template/precreated/ubuntu-12.04-x86_64.tar.gz↗</a>
Create VPS
#vzctl create 10 --ostemplate ubuntu-12.04.x86_64 #vzctl set 10 --onboot yes --save (start on boot)
Set ipaddress
#vzctl set 10 --ipadd 192.168.88.240 --save
Set name server
#vzctl set 10 --nameserver 192.168.88.2 --save #vzctl set 10 --nameserver 192.168.88.2 --save
set hostname
<h1>vzctl set 10 --hostname vps.domain.com --save</h1>
set disk uses
<h1>vzctl set 10 --diskspace 10G:12G --save</h1>
Start VPS
#vzctl start 10
Change password
vzctl exec 10 passwd
Enter in to VPS
<h1>vzctl enter 10</h1>
Download or Print this Create VPS on CentOs
Get a printable version of this checklist in your preferred format: PDF, Word, Excel, or print directly from your browser.
Presented by:
Rackbank
Stats
Views
10
Views: 10
Uses
1
Uses: 1
Tasks
18
Tasks: 18
Details
Tips
Check list for creating vps on any linux server
Who it's for
This Create VPS on CentOs is for teams that want consistent execution, less rework, and clear ownership.
- Standardize quality - run the same Create VPS on CentOs steps every time, regardless of who executes
- Save time - reuse a proven Create VPS on CentOs workflow instead of rebuilding processes from scratch
- Improve accountability - assign owners and see what's done vs. what's pending
- Onboard faster - use the Create VPS on CentOs checklist as the SOP and training guide
- Coordinate across roles - handoffs are clear and everyone works from the same source of truth
How to use it
How to use this Create VPS on CentOs:
- Start by saving it - save as a Template if you'll reuse it, or as a Checklist if it's a one-off project.
- Customize it once for your workflow - remove what doesn't apply and add your team-specific steps.
- Assign ownership and execute - set owners/due dates where needed and track completion as work happens.
- Reuse without rebuilding - when Create VPS on CentOs comes up again, start from your saved version and run it with clear ownership.