PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : چگونگی نصب cpanel / whm



Vahid
August 7th, 2008, 15:32
cPanel and WHM use comprehensive installers that take most of the effort out of installing the complex cPanel and WHM software packages. You will need the following to install cPanel and WHM:


A basic server install of one of the supported operating systems. (http://www.cpanel.net/products/cPanelandWHM/linux/sys_requirements.htm)
A cPanel license (cPanel and WHM will not run without a license file).

NOTE: You may obtain a license from an authorized cPanel distributor or partner (http://www.cpanel.net/partners/index.html). You may also obtain a free 15-day test license (http://www.cpanel.net/store).
Before You Begin

cPanel and WHM can only be installed on a blank server with a fresh operating system install. No data should be on the server that you wish to keep. This includes, but is not limited to, web pages, configuration files, user accounts and scripts. The installer will make many changes to your system including the downloading and configuring of needed packages for you. Because of the considerable amount of changes that cPanel will make to the system, the suggested method of uninstalling the cPanel and WHM software is to reformat the server.
A fresh install with minimal installation options is recommended. Development tool libraries (gcc, C, etc) and wget are required.


cPanel and WHM will install Apache, MySQL, exim, PHP, etc. You will not need to install any of these services beforehand.
You should ensure your package management (or ports) system is properly configured (yum, apt-get, up2date, ports).
You will need to make sure that /etc/resolv.conf contains valid name-servers that allow you to resolve domains properly.

Example > If you would like to test this, try: dig domain.com @serverip
SYNTAX: Replace "domain.com" with the name of a well known domain and replace "serverip" with the IP address of a name-server in "/etc/resolv.conf"
The hostname of this server should be a fully qualified domain name that will not be used elsewhere on the server. You should never set your hostname to a name that is already used (www, ftp, mail, etc) or to the name of an account on the server (www.domain.com (http://www.domain.com)). This means that your hostname should never be a domain name and especially not the name of your domain!!
If you would like cPanel, Inc to do your installation for you and you have obtained a license, you may request it (http://support.cpanel.net/). Please make sure to provide your IP address, the root password of your server and the operating system installed on the server. We do not charge for installations.
The Following Partitioning Scheme Is Recommended Item Setting /boot 35 MB (Megabytes) /usr 8192+ MB
(8192MB if you have a 80GB drive, 10240MB for a 100GB drive, 20480MB for a 200GB drive, etc.) /var 2500+ MB /tmp 512+ MB / 2048 MB /home Grow to fill disk swap 2x memory size NOTE: Different partition schemes are suitable for different types of hosting. Some servers may require space to be allocated in different ways than others. This recommended scheme is an attempt to provide enough space for many different types of hosting but it is no substitution for real world experience. This partition scheme may need to be varied to suit the needs of your specific setup.
The "/tmp" directory is a special directory that is required to be writeable by all users and processes on the system. In general, directories that are writable by all users and processes are a cause for security concern, however this directory is a special case. To minimize any security impact as a result of having an unsecured directory will verify and potentially remount the partition with the "no exec" option. Additionally, the installer will ensure that the sticky bit is set on the directory and that the other permissions are correct. If "/tmp" is not mounted on a separate partition, the installer will create a file system disk image of 512 MB and mount "/tmp" on the newly created disk image with the "no exec" directive. Under most circumstances, 512 MB is sufficient for the "/tmp" partition; however, your system may require additional space. It is therefore recommended that you include a separate partition for the "/tmp" mount point (sized according to your size specification) prior to installing cPanel.

↑ Back To Top ↑ (http://www.cpanel.net/support/docs/11/whm/install_overview.html#top)
Custom Configurations

cPanel provides a number of tools within the cPanel and WHM Software to handle custom server and client configurations. Tools like those in our EasyApache (http://www.cpanel.net/support/docs/ea/ea3/) system which allow you to configure modules, compile options, httpd.conf modifications, etc. We also include a set of hooks /usr/local/cpanel/hooks/ to allow you to perform specific actions based on events. Our goal is to be flexible and allow you to run your servers in the way you wish for them to be run.
At this time, the following configurations are not recommended and not supported by cPanel:


Network Address Translation (NAT)
Operating systems not listed as supported on www.cpanel.net (http://www.cpanel.net/)

Choosing to use one of the above configurations can and most likely will result in unexpected experiences when trying to use cPanel and WHM. We strongly recommend that you do not use them.

Minimum System Requirements



P266
256 Meg of ram
20 GB of space (Partition sizes required to host multiple account. Less than 500MB is needed for new files)

To Install cPanel and WHM

Make sure you are logged in as root and perform the following commands:


# cd /home
# wget http://layer1.cpanel.net/latest
# sh latest

The installer has now started, and can take between 30 and 60 minutes depending on your machine. If you are asked any questions press the Enter key or q if there is no default. After the installation has completed, you will need to setup WebHost Manager - refer to Logging on for the First Time (http://www.cpanel.net/support/docs/11/whm/install_firstlog.html) for more information.

NOTE: You must be on a stable Internet connection to install cPanel. If your shell session disconnects during the installation of cPanel, the installation will be aborted. You can restart the installation by using sh latest again however, we recommend reformatting your machine and starting over, ensuring there are no problems with the installation.

Nikihost
April 28th, 2009, 00:05
سلام خدمت دوستان عزيز.
ميدونم كه جزء قوانين نيست كه تاپيك هاي قديمي را بالا بيارن.
اما ديدم بهتر مكان براي مطرح كردن مشكلم هينجاست.
من روي سرورم ابونتو نصب كردم. و حالا ميخوام كه سي پنل نصب كنم. به مشكلي برخوردم


wget http://layer1.cpanel.net/latest
--2009-04-28 01:16:20-- http://layer1.cpanel.net/latest
Resolving layer1.cpanel.net... 8.10.120.130, 64.50.161.11, 67.159.2.2, ...
Connecting to layer1.cpanel.net (http://layer1.cpanel.net/)|8.10.120.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1328915 (1.3M) [text/plain]
latest: Permission denied

سطح دسترسي لازم و نداره. اما ميخواستيم با chmod هم اين فولدر را تغيير دسترسي بدم نتونستم.
ممنون ميشم دوستان راهنمايي كنند.

persian.developer
April 28th, 2009, 07:00
سلام خدمت دوستان عزيز.
ميدونم كه جزء قوانين نيست كه تاپيك هاي قديمي را بالا بيارن.
اما ديدم بهتر مكان براي مطرح كردن مشكلم هينجاست.
من روي سرورم ابونتو نصب كردم. و حالا ميخوام كه سي پنل نصب كنم. به مشكلي برخوردم


سطح دسترسي لازم و نداره. اما ميخواستيم با chmod هم اين فولدر را تغيير دسترسي بدم نتونستم.
ممنون ميشم دوستان راهنمايي كنند.



من فکر می کنم شما دسترسی root به سرور نداری

Vahid
April 28th, 2009, 07:59
شما توی کجا wget میکنید؟

Nikihost
April 28th, 2009, 10:18
شما توی کجا wget میکنید؟
فولدر home

cd /home
wget http://layer1.cpanel.net/latest
sh latest

Nikihost
April 28th, 2009, 10:21
من فکر می کنم شما دسترسی root به سرور نداری
اخه چطوري !!!!
خود من ابونتو ... را نصب كرديم.
بايد چه حالتي وجود داشته باشيد كه دسترسي نداشته باشيم :online2long:

Vahid
April 28th, 2009, 10:26
باید یه نگاش بندازم نمیدونم
اینو اجرا کن ببین میشه

cd /
mkdir cpanel
chmod 777 cpanel
wget http://layer1.cpanel.net/latest

NovinServer
April 28th, 2009, 20:21
cPanel and WHM use comprehensive installers that take most of the effort out of installing the complex cPanel and WHM software packages. You will need the following to install cPanel and WHM:


A basic server install of one of the supported operating systems. (http://www.cpanel.net/products/cPanelandWHM/linux/sys_requirements.htm)
A cPanel license (cPanel and WHM will not run without a license file).

NOTE: You may obtain a license from an authorized cPanel distributor or partner (http://www.cpanel.net/partners/index.html). You may also obtain a free 15-day test license (http://www.cpanel.net/store).
Before You Begin

cPanel and WHM can only be installed on a blank server with a fresh operating system install. No data should be on the server that you wish to keep. This includes, but is not limited to, web pages, configuration files, user accounts and scripts. The installer will make many changes to your system including the downloading and configuring of needed packages for you. Because of the considerable amount of changes that cPanel will make to the system, the suggested method of uninstalling the cPanel and WHM software is to reformat the server.
A fresh install with minimal installation options is recommended. Development tool libraries (gcc, C, etc) and wget are required.


cPanel and WHM will install Apache, MySQL, exim, PHP, etc. You will not need to install any of these services beforehand.
You should ensure your package management (or ports) system is properly configured (yum, apt-get, up2date, ports).
You will need to make sure that /etc/resolv.conf contains valid name-servers that allow you to resolve domains properly.

Example > If you would like to test this, try: dig domain.com @serverip
SYNTAX: Replace "domain.com" with the name of a well known domain and replace "serverip" with the IP address of a name-server in "/etc/resolv.conf"
The hostname of this server should be a fully qualified domain name that will not be used elsewhere on the server. You should never set your hostname to a name that is already used (www, ftp, mail, etc) or to the name of an account on the server (www.domain.com (http://www.domain.com)). This means that your hostname should never be a domain name and especially not the name of your domain!!
If you would like cPanel, Inc to do your installation for you and you have obtained a license, you may request it (http://support.cpanel.net/). Please make sure to provide your IP address, the root password of your server and the operating system installed on the server. We do not charge for installations.
The Following Partitioning Scheme Is Recommended Item Setting /boot 35 MB (Megabytes) /usr 8192+ MB
(8192MB if you have a 80GB drive, 10240MB for a 100GB drive, 20480MB for a 200GB drive, etc.) /var 2500+ MB /tmp 512+ MB / 2048 MB /home Grow to fill disk swap 2x memory size NOTE: Different partition schemes are suitable for different types of hosting. Some servers may require space to be allocated in different ways than others. This recommended scheme is an attempt to provide enough space for many different types of hosting but it is no substitution for real world experience. This partition scheme may need to be varied to suit the needs of your specific setup.
The "/tmp" directory is a special directory that is required to be writeable by all users and processes on the system. In general, directories that are writable by all users and processes are a cause for security concern, however this directory is a special case. To minimize any security impact as a result of having an unsecured directory will verify and potentially remount the partition with the "no exec" option. Additionally, the installer will ensure that the sticky bit is set on the directory and that the other permissions are correct. If "/tmp" is not mounted on a separate partition, the installer will create a file system disk image of 512 MB and mount "/tmp" on the newly created disk image with the "no exec" directive. Under most circumstances, 512 MB is sufficient for the "/tmp" partition; however, your system may require additional space. It is therefore recommended that you include a separate partition for the "/tmp" mount point (sized according to your size specification) prior to installing cPanel.

↑ Back To Top ↑ (http://www.cpanel.net/support/docs/11/whm/install_overview.html#top)
Custom Configurations

cPanel provides a number of tools within the cPanel and WHM Software to handle custom server and client configurations. Tools like those in our EasyApache (http://www.cpanel.net/support/docs/ea/ea3/) system which allow you to configure modules, compile options, httpd.conf modifications, etc. We also include a set of hooks /usr/local/cpanel/hooks/ to allow you to perform specific actions based on events. Our goal is to be flexible and allow you to run your servers in the way you wish for them to be run.
At this time, the following configurations are not recommended and not supported by cPanel:


Network Address Translation (NAT)
Operating systems not listed as supported on www.cpanel.net (http://www.cpanel.net/)

Choosing to use one of the above configurations can and most likely will result in unexpected experiences when trying to use cPanel and WHM. We strongly recommend that you do not use them.

Minimum System Requirements



P266
256 Meg of ram
20 GB of space (Partition sizes required to host multiple account. Less than 500MB is needed for new files)

To Install cPanel and WHM

Make sure you are logged in as root and perform the following commands:


# cd /home
# wget http://layer1.cpanel.net/latest
# sh latest

The installer has now started, and can take between 30 and 60 minutes depending on your machine. If you are asked any questions press the Enter key or q if there is no default. After the installation has completed, you will need to setup WebHost Manager - refer to Logging on for the First Time (http://www.cpanel.net/support/docs/11/whm/install_firstlog.html) for more information.

NOTE: You must be on a stable Internet connection to install cPanel. If your shell session disconnects during the installation of cPanel, the installation will be aborted. You can restart the installation by using sh latest again however, we recommend reformatting your machine and starting over, ensuring there are no problems with the installation.


وحید جان ، فارسی نداره ؟
پله به پله اموزش نصب فارسی بود خیلی خوب بود ! :whistling:

Sajad
April 28th, 2009, 20:47
وحید جان ، فارسی نداره ؟
پله به پله اموزش نصب فارسی بود خیلی خوب بود ! :whistling:

جوابی که وحید خواهد داد: چهار تا am is are فارسی کردن نمیخواد دیگه :wub:

Nikihost
April 29th, 2009, 01:36
سی پنل را نمیدونم چطوری نصب کرده بودن:cool2:
فقط یه چیز دیگه که در ابونتو پسورد یوزر روست را بعد از نصب تعریف کرد و من این کارو انجام ندادم.حالا میخوام پسورد را عوش کنم.
این کامند را پیدا کردم


sudo passwd root

بعد از اجراش اینرا به من داد


sudo: must be setuid root

حالا چیکار کنم که پسورد روت را عوض کنم :walkman:

NovinServer
April 29th, 2009, 02:49
جوابی که وحید خواهد داد: چهار تا am is are فارسی کردن نمیخواد دیگه :wub:

به به ! :eek:
منشی هم که گرفته ! :cool2:

حالا همین چهار تا هم اگر ممکنه ترجمه کنه بد نیست ! :devil:

Vahid
April 29th, 2009, 08:21
سی پنل را نمیدونم چطوری نصب کرده بودن:cool2:
فقط یه چیز دیگه که در ابونتو پسورد یوزر روست را بعد از نصب تعریف کرد و من این کارو انجام ندادم.حالا میخوام پسورد را عوش کنم.
این کامند را پیدا کردم



بعد از اجراش اینرا به من داد



حالا چیکار کنم که پسورد روت را عوض کنم :walkman:





شما توی ubunto اصلا root لوگین رو فعال نکردید
cpanel هم با 2 تا دستور نصب میشه

wget http://layer1.cpanel.net/latest
sh latest

Nikihost
April 29th, 2009, 09:52
شما توی ubunto اصلا root لوگین رو فعال نکردید
cpanel هم با 2 تا دستور نصب میشه

وحيد جان شما صحيح فرمودين اما روتت فعال است و ما ميخوايم پسورد روت روت را با Sudo عوض كنيم.
زماني كه كامند


sudo passwd root

را ميزنم بايد لاين باز شود كه پسورد جديد را بهش داد اما واسه من باز نميشه :balloon:

Nikihost
May 1st, 2009, 20:48
با سلام.
من به نتيجه رسيدم كه سي پنل ابونتو را ساپورت نمكينه و مجدد از Centos استفاده كردم.
ولي الانه من سي پنل را نصب كردم.اما احتمال ميدم كه پورت 2086 باز نباشه.( فايروال هنوز نصب نكردم.)
حالا چيكار كنم كه وارد سي پنل بشم ؟؟

Vahid
May 1st, 2009, 21:22
service iptables stop
شما بزن ببین درست میشه اگه شد با csf تنطیم کنید

IFACO.Net
May 1st, 2009, 21:36
با سلام.
من به نتيجه رسيدم كه سي پنل ابونتو را ساپورت نمكينه و مجدد از Centos استفاده كردم.
ولي الانه من سي پنل را نصب كردم.اما احتمال ميدم كه پورت 2086 باز نباشه.( فايروال هنوز نصب نكردم.)
حالا چيكار كنم كه وارد سي پنل بشم ؟؟

بله همینطوره

ابونتو سی پنل رو کامل ساپورت نمیکنه و بهتره از لینوکس های دیگه ای ای استفاده کنید :excl:

Nikihost
May 2nd, 2009, 17:05
service iptables stop
شما بزن ببین درست میشه اگه شد با csf تنطیم کنید
Csf را نصب كردم و در بخش پورت ها پورت 2086 هم اضافه كردم .ولي بازم لاگ نميكرد.
و يه مشكل ديگه ميخوام دي ان اس اضافه كنم ميام در Nameserver IPs و دي ان اسم را اضافه ميكن و بعد assign كه ميزنم لودر Assigning Ip Address for مياد.اما يه ساعت هم صبر كنم دي ان اسي اضافه نميشه.