MihanServer.IR

مرکز آموزش

How to Install Cpanel / WHM on a VPS Server

"How to Install Cpanel / WHM on a VPS Server"

First, I am surprised that you didn't order Cpanel when you ordered your VPS server as many VPS providers offer that as an option already installed. I know we certainly do and there are only a few who don't.

Second, make sure that your VPS server has enough resources to be able to run Cpanel. You really need an ABSOLUTE MINIMUM of 512 MB of memory to run Cpanel and that is going to be somewhat flaky and not really recommended. I strongly recommend servers with 1 GB minimum for Cpanel unless you are ready for some real headaches!

Third, preparing your server. Before you install Cpanel, it helps to setup the basics to get a good compile environment at least and get your server up to date with the latest patches and software updates:

Code:
# yum install selinux coreutils binutils make dialog gcc gcc-* glib*
# yum install libexi* libjpe* libpng* gifl* freetype curl curl-* xmlrpc
# yum upgrade kernel*
# yum update

# cpan
> install CPAN
> reload CPAN
> quit

Once you got the basics, time to install Cpanel / WHM:

Code:
# cd
# wget http://layer1.cpanel.net/cpanel-universal-install.sea
# chmod 700 ./cpanel-universal-install.sea
# ./cpanel-universal-install.sea

(The above will take you 30 minutes to an hour or so to finish)

After you have the base install done, it would be a good idea to run the 'checkperlmodules' a couple of times at least until it runs clean without trying to compile new modules so that you get all the required Perl modules you need to run Cpanel properly installed on your server:

Code:
# /scripts/checkperlmodules

(Typically needs to be run about 3 times till it runs clean)

Once you have Cpanel installed, connect to WHM and go through the initial setup wizard to setup your server hostname, licensing, DNS servers, IP addresses, etc:

Code:
http://(your server primary IP):2086/

That's the basic rundown!

At this point, you will have a basic copy of Cpanel installed but it won't be configured or optimized and your system won't have any security hardening, configurations, or optimizations either. To do that properly, you will have another couple hours of work ahead of you if you are experienced (a couple of days if you aren't) to get things fully setup and working properly the way they should.



آیا این پاسخ به شما کمک کرد؟

افزودن به مورد علاقه ها افزودن به مورد علاقه ها

چاپ این مقاله چاپ این مقاله

خوانده شده
What is Virtuozzo? (مشاهدات: 206)
How do I manage my VPS? (مشاهدات: 327)

Powered by WHMCompleteSolution

زبان:

منوی سریع

ورود کاربر

ایمیل

کلمه عبور

مرا به خاطر بسپار

جستجو



پیگیری ما در توییتر