查看: 2|回复: 0

raksmart服务器安装cpanel教程

[复制链接]

主题

帖子

5

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5
发表于 7 天前 | 显示全部楼层 |阅读模式
相信做过网站的都能体会,想使用某个功能时却发现还要联系服务商开通功能是件最烦恼的事。想要调整功能,又不得不与主机商来来往往联系半天,实在浪费时间精力。更不要提一些重要功能在不少主机系统上根本不能提供。 在cPanel主机上,您可以自如控制一切,无需联系服务商开通或调整任何功能,所有你想得到的功能都可以在控制界面自助完成。在cPanel做不到的功能,99%的可能性是根本不适合在虚拟主机环境。

    raksmart服务器中文站支持用户安装cpanel面板,但是对于绝大多数的用户来说,很少人会安装cpanel,今天跟大家分享关于raksmart服务器安装cpanel。

    安装cpanel面板 cp面板的地址 。IP:2087 账户密码为机器的默认用户名和密码 。

    1. install centos min 修改系统环境,也就是弄对系统。

    2. disable selinux, change /etc/selinux/config 进到这个文件下修改

    vi /etc/selinux/config

    SELINUX=disabled

    3. disable iptables firewall 关闭防火墙

    命令chkconfig iptables off

    或者是service iptables stop

    4. update os 解压安装

    yum -y update

    5. install perl and wget 解压安装

    yum -y install perl wget

    6. set hostname to xxxx. 修改主机名,必须修改为域名的形式

    改 /etc/sysconfig/network

    HOSTNAME=他的全域名(不加www)

    改 /etc/hosts

    再运行命令 hostname 域名.com(不加www)

    然后重启网卡,/etc/init.d/network restart

    7. reboot 重启服务器

    8. install cpanel 安装cpanel

    cd /home

    wget -N  (下载报错查看下DNS设置 )

    sh latest

    2013-02-28 17:54:52 271 ( INFO): cPanel install finished in 55 minutes and

    57 seconds!

    2013-02-28 17:54:52 2048 ( INFO):

    2013-02-28 17:54:52 2048 ( INFO): Congratulations! Your installation of

    cPanel  WHM 11.34 is now complete. The next step is to configure your

    server.

    2013-02-28 17:54:52 2048 ( INFO):

    2013-02-28 17:54:52 2048 ( INFO): Before you configure your server,

    ensure that your firewall allows access on port 2087.

    2013-02-28 17:54:52 2048 ( INFO): On RHEL, CentOS, and CloudLinux

    systems, execute /scripts/configure_rh_firewall_for_cpanel to accomplish

    this.

    2013-02-28 17:54:52 2048 ( INFO): 2013-02-28 17:54:52 2048 ( INFO):

    After ensuring that your firewall allows access on port 2087, you can

    configure your server.

    2013-02-28 17:54:52 2048 ( INFO): 2013-02-28 17:54:52 2048 ( INFO):

    1. Open your preferred browser

    2013-02-28 17:54:52 2048 ( INFO): 2013-02-28 17:54:52 2048 ( INFO):

    2. Type  in the address bar

    2013-02-28 17:54:52 2048 ( INFO): 2013-02-28 17:54:52 2048 ( INFO):

    3. Enter the word root in the Username text box

    2013-02-28 17:54:52 2048 ( INFO): 2013-02-28 17:54:52 2048 ( INFO):

    4. Enter your root password in the Password text box

    2013-02-28 17:54:52 2048 ( INFO): 2013-02-28 17:54:52 2048 ( INFO):

    5. Click the Login button

    2013-02-28 17:54:52 2048 ( INFO): 2013-02-28 17:54:52 2048 ( INFO):

    Visit  for more information about first-time

    configuration of your server.

    2013-02-28 17:54:52 2048 ( INFO):

    2013-02-28 17:54:52 2048 ( INFO): Visit  or

     for additional support

    2013-02-28 17:54:52 2048 ( INFO):

    2013-02-28 17:54:52 2048 ( INFO): Thank you for installing cPanel  WHM

    11.34!

    了解更多详情请登录raksmart中文指南
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋| 电子竞技社区

Copyright © 2014-2015 Discuz Team.   All Rights Reserved.

Powered by Discuz! X3.4