• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

CentOS安装OpenVZ Web Panel,可以创建和管理VPS服务器

网络资源 Liam 1年前 (2019-04-30) 379次浏览 6个评论 扫描二维码
文章目录[隐藏]

简介

OpenVZ Web Panel是一个在物理服务器上开OpenVZ虚拟服务器的一个管理软件,可以通过WEB端进行创建和管理OpenVZ服务器。

安装

本方法在Vultr CentOS 6 x64下完美测试通过。且只适用于KVM构架的VPS或独立服务器。

1、关闭SELinux

/usr/sbin/sestatus -v #如果返回以下信息则为关闭状态 SELinux status:                 disabled

如果为enabled则为开启状态,这时候需要编辑/etc/sysconfig/selinux文件,添加内容SELINUX=disabled并保存。

2、配置防火墙

/sbin/iptables -I INPUT -p tcp --dport 3000 -j ACCEPT /etc/rc.d/init.d/iptables save /etc/init.d/iptables restart

如果是CentOS 7系统,请参考:CentOS 7开放设置端口及firewall常用命令介绍开放3000端口。

3、安装OpenVZ
配置yum

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

安装OpenVZ内核和vzctlvzquota等工具

yum install  vzkernel yum install vzctl vzquota 

编辑/etc/sysctl.conf文件,修改下面两个参数

net.ipv4.ip_forward = 1 kernel.sysrq = 1 

使修改生效

modprobe bridge lsmod|grep bridge 

查看OpenVZ服务状态及开始命令:

service vz status  service vz start  

4、安装OpenVZ Web Panel

wget -O - https://raw.githubusercontent.com/sibprogrammer/owp/master/installer/ai.sh | sh 

安装结束后,使用如下信息登录控制面板

http://<your-ip>:3000 

默认用户名和密码均为admin

使用教程

点击左边的Physical Server可创建系统,服务器模板等。
CentOS安装OpenVZ Web Panel,可以创建和管理VPS服务器
然后创建系统
CentOS安装OpenVZ Web Panel,可以创建和管理VPS服务器
创建服务器模板,可设置CPU个数、内存等等。
CentOS安装OpenVZ Web Panel,可以创建和管理VPS服务器
点击左边的IP Addresses创造IP
CentOS安装OpenVZ Web Panel,可以创建和管理VPS服务器
最后可以创建服务器了。
CentOS安装OpenVZ Web Panel,可以创建和管理VPS服务器
CentOS安装OpenVZ Web Panel,可以创建和管理VPS服务器

注意:如果创建服务器失败,并提示failed with code 99等错误信息的时候,就编辑/etc/vz/vz.conf文件,设置VE_LAYOUT = simfs即可。


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:CentOS安装OpenVZ Web Panel,可以创建和管理VPS服务器
喜欢 (0)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(6)个小伙伴在吐槽
  1. Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your weblog? My blog site is in the very same area of interest as yours and my users would genuinely benefit from a lot of the information you provide here. Please let me know if this alright with you. Appreciate it!
    web hosting providers2020-08-31 22:58 回复 Mac OS X | Chrome 67.0.3396.62
  2. Wonderful blog! I found it while searching on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I've been trying for a while but I never seem to get there! Cheers
    black mass2020-08-31 09:40 回复 Mac OS X | Chrome 67.0.3396.79
  3. I got this web page from my friend who informed me concerning this web site and now this time I am visiting this web site and reading very informative articles or reviews at this place.
    cheap flights2020-08-27 15:53 回复 Windows 7 | Internet Explorer 9.0
  4. Hey There. I found your weblog the use of msn. This is a very smartly written article. I will be sure to bookmark it and return to learn more of your useful info. Thanks for the post. I'll definitely return. cheap flights 3gqLYTc
    cheap flights2020-08-25 12:25 回复 Linux | Firefox浏览器 51.0
  5. Excellent beat ! I wish to apprentice whilst you amend your website, how could i subscribe for a blog website? The account helped me a applicable deal. I were tiny bit familiar of this your broadcast provided vivid transparent concept cheap flights yynxznuh
    cheap flights2020-08-24 18:03 回复 Mac OS X | Firefox浏览器 61.0
  6. What's Taking place i'm new to this, I stumbled upon this I've found It absolutely useful and it has aided me out loads. I am hoping to contribute & aid other customers like its helped me. Good job. adreamoftrains best web hosting sites
    adreamoftrains content hosting2020-08-10 21:47 回复 Linux | Chrome 61.0.3116.0