cPanel 安装方法
答:安装过程较长,建议使用screen或nohup
screen:
- yum -y install screen perl
- screen -S cpanel
- cd /home
- wget -N http://httpupdate.cpanel.net/latest
- sh latest 2>&1 | tee ./cPanel-Install.log
复制代码
nohup:
- yum -y install perl
- cd /home
- wget -N http://httpupdate.cpanel.net/latest
- nohup sh latest > ./cPanel-Install.log 2>&1
&
1、ssh登陆服务器
ssh root@IP
chkconfig iptables off service iptables stop
2、确定服务器主显IP地址
curl -L http://cpanel.net/showip.cgi
3、卸载冲突的软件
yum groupremove “FTP Server” “GNOME Desktop Environment”"KDE (K Desktop Environment)” “Mail Server”"Mono” “Web Server” “X Window System”
4、安装screen软件
yum install screen
5、用screen软件创建一个名为cPanel的新窗口
screen -S cpanel
6、进入home目录
cd /home
7、用wget下载cPanel的安装脚本latest
wget -N http://httpupdate.cpanel.net/latest
8、 执行安装脚本
sh latest
9、手动激活cPanel授权(非必要步骤)
/usr/local/cpanel/cpkeyclt
注:在安装cPanel的时候,可能出现的一些问题:
1、主机名问题:
hostname localhost.localdomain
2、重新执行安装:
rm -rf /root/installer.lock
sh latest 执行安装脚本
4、关闭SELinux
编辑 /etc/selinux/config文件
修改为 SELINUX=disabled
5、停用防火墙
chkconfig iptables off
service iptables stop
6.无法和cpanel.net建立连接,ping提示ping: unknown host cpanel.net,这是dns的问题,修改/etc/resolv.conf,将nameserver 设置为 8.8.8.8
cpanel安装时出现这个错误
Fatal! Perl must be installed before proceeding!
可以先
yum install perl
然后再重新安装就可以了
cPanel 安装方法的更多相关文章
- Xamarin+Prism开发详解四:简单Mac OS 虚拟机安装方法与Visual Studio for Mac 初体验
Mac OS 虚拟机安装方法 最近把自己的电脑升级了一下SSD固态硬盘,总算是有容量安装Mac 虚拟机了!经过心碎的安装探索,尝试了国内外的各种安装方法,最后在youtube上找到了一个好方法. 简单 ...
- CocoaPods 的简单快速安装方法
CocoaPods 的简单快速安装方法(Setting up CocoaPods master repo 卡着不动,是因为淘宝镜像已经不能用了. 一.git clone方法安装cocoapods 镜像 ...
- windows下安装easy_install, pip 及whl文件安装方法
转:http://www.cnblogs.com/wu-wenmin/p/4250330.html 写在前面的话 最近在看"Computer Vision with Python" ...
- Laravel安装方法 (windows)
Laravel安装方法(windows) 安装PHP 下载PHP7 http://windows.php.net/download#php-7.0 进入上述网站下载PHP7 选择zip包解压安装 配置 ...
- win8.1系统的安装方法详细图解教程
win8.1系统的安装方法详细图解教程 关于win8.1系统的安装其实很简单 但是有的童鞋还不回 所以今天就抽空做了个详细的图解教程, 安装win8.1系统最好用U盘安装,这样最方便简单 而且系统安装 ...
- ubuntu一些基本软件安装方法
ubuntu一些基本软件安装方法 首先说明一下 ubuntu 的软件安装大概有几种方式:1. deb 包的安装方式deb 是 debian 系 Linux 的包管理方式, ubuntu 是属于 deb ...
- Ehlib安装方法有窍门
Ehlib安装方法有窍门,如果不知道该安装方法,很难成功安装,Delphi 7(D5.D6也如此)中的安装方法 1.把EhLib中的common和DataService文件拷贝到Delph ...
- Ubuntu .deb包安装方法
使用apt-get方法安装的软件,所有下载的deb包都缓存到了/var/cache/apt/archives目录下了,所以可以把常用的deb包备份出来,甚至做成ISO工具包.刻盘,以后安装Ubuntu ...
- wdcp的安装方法与常见问题
wdcp(WDlinux Control Panel)是一套用PHP开发的Linux服务器管理系统,通过面板来操作可以彻底放弃用ssh 命令来操作的繁琐,让Linux服务器系统变得更容易使用,可以在线 ...
随机推荐
- SnackbarUtils:一行代码搞定Snackbar
此文章是我在简书的文章 http://www.jianshu.com/p/f4ba05d7bbda Snackbar在Android中的使用日益广泛,很大程度上替代了传统的Toast,相比Toast拥 ...
- 子字符查找KMP算法 - 子串自匹配索引表
public static int[] kmpTable(char[] seq) { int[] tbl = new int[seq.length]; tbl[0] = 1; for (int i = ...
- curl 命令使用总结
curl 查看网页源码 curl www.sina.com 保存页面 -o curl -o [文件名] www.sina.com 直接在curl命令后加上网址,就可以看到网页源码. 如果要把这个网页保 ...
- MyBatis中update的使用
当你传入所需要修改的值为一个实体对象时,可能只改动了其中部分的值.那么其他值需要做一个判断是否为空值的操作. XXXmapper.xml <update id="updateMembe ...
- mybatis配置sql超时时间
mybatis如果不配置,默认超时时间是不做限制的.当系统慢sql很多时,势必会增加数据库压力,系统性能及稳定性降低.所以有必要要设置sql超时设置,下面配置超时时间是5分钟. 第一步:全局配置如下 ...
- 对dpkg: error processing package xxx (--configure) 的处理
这个问题是在在安装Deepdive时候碰到的,具体来说在执行 sudo apt-get update碰到的sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_ ...
- Adding DOM elements to document
1.JavaScript 添加DOM Element 执行效率比较: 抄自:http://wildbit.com/blog/2006/11/21/javascript-optimization-add ...
- Java--最大子序列和实现
package com.dongbin.test; /** * 最大子序列和 --分治法 * * @author dongbin * */ public class MaxSubListSum { / ...
- 火狐中,设置align="center"失效的解决方法
如下: <img align="center" style="vertical-align:top"></img> 只需要加上: ver ...
- openwrt源码下载地址(镜像)
与openwrt.org的源码svn路径仅仅多了一个.cn svn://svn.openwrt.org.cn/openwrt/branches/backfiresvn://svn.openwrt.or ...