简介
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内核和vzctl、vzquota等工具
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可创建系统,服务器模板等。.png)
然后创建系统.png)
创建服务器模板,可设置CPU个数、内存等等。.png)
点击左边的IP Addresses创造IP。.png)
最后可以创建服务器了。.png)
.png)
注意:如果创建服务器失败,并提示failed with code 99等错误信息的时候,就编辑/etc/vz/vz.conf文件,设置VE_LAYOUT = simfs即可。
你这个博客是放在路由器里的吗?怎么还有Aria2
放到vps
[root@i yum.repos.d]# service vz status
Running kernel is not an OpenVZ kernel
[root@i yum.repos.d]# service vz start
Running kernel is not an OpenVZ kernel
老哥,阿里云进行到这一步提示如下,是什么原因呀
你安装失败了
这个别试了,貌似失效了
收到(`・ω・´)ゞ敬礼っ
请问这个有整合whmcs的插件么
OpenVZ Web Panel(OWP) 有whmcs的插件,就在安装目录有个owp.php,复制到whmcs模块目录
好像没有