In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how CentOS 5.4+OpenVZ+Vtonf creates a VPS server. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
Vtonf is a free web-based control panel (GPL compliant) that manages virtual private servers (VPS) on OpenVz. Using her, even users with few professionals can easily create and manage virtual machines on OpenVZ. So far, Vtonf only supports RedHat, Fedora, and CentOS (support for Debian is planned).
CentOS-5.4-i386 system (Vtonf does not support x86-64 systems, there will be errors in the installation process, which is also described in its INSTALL)
1. Close SELinux
Open the setup interface-firewall configureation, and set SELinux to Disabled
Or modify
Vi / etc/sysconfig/selinux
For
SELINUX=disabled
SELINUXTYPE=targeted
2 、 Firewall
If you do not want to shut down Firewall, you need to open port 8001:
/ sbin/iptables-I INPUT-p tcp-dport 8001-j ACCEPT
/ etc/rc.d/init.d/iptables save
/ etc/init.d/iptables restart
3. Install OpenVZ
Cd / etc/yum.repos.d
Wget http://download.openvz.org/openvz.repo
Rpm-import http://download.openvz.org/RPM-GPG-Key-OpenVZ
Yum search ovzkernel
Yum-y install ovzkernel
Yum-y install vzctl vzquotavi / etc/sysctl.conf
Modify or add the following
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
To bring it into effect:
Sysctl-p
Restart the system
Rebootuname-r
If the installation is normal, it should be displayed as:
2.6.18-164.15.1.el5.028stab068.9
4. Install Vtonf
Yum-y install vzpkg expectwget http://mesh.dl.sourceforge.net/sourceforge/vtonf/vtonfinstaller.1.0-beta1.tar.gz
Tar xvfz vtonfinstaller.1.0-beta1.tar.gz
Cd vtonfinstaller.1.0-beta1
. / install
You will be asked if you want to start the installation program and type yes
Do you wish to start the installation procedure (yzone)?: y
Starting installation
Please wait... .
OK. The installation is complete.
Open the vtonf control panel http://yourhostip:8001/
Enter the user name and password you set during installation
Login Name: admin
Password:
Your own VPS is already in front of you, and you'll figure out how to use vtonf later.
After reading the above, do you have any further understanding of CentOS 5.4+OpenVZ+Vtonf 's method of building a VPS server? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.