Gateway未来科技

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 182|回复: 0

CPanel安装

[复制链接]

258

主题

270

帖子

819

积分

超级版主

Rank: 8Rank: 8

积分
819
发表于 2017-3-1 01:20:01 | 显示全部楼层 |阅读模式
安装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 http://httpupdate.cpanel.net/latest (下载报错查看下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 https://192.74.251.18:2087 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 http://go.cpanel.net/whminit 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 http://support.cpanel.net or http://go.cpanel.net/whmfaq 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!
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Comsenz Inc.

GMT+8, 2024-12-23 13:01 , Processed in 0.057762 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc. Templated By 【未来科技 www.veikei.com】设计

快速回复 返回顶部 返回列表