第一步:系统支持包安装

  yum -y install wget tar make automake gcc gcc-c++ pcre pcre-devel zlib-devel sqlite-devel openssl-devel libxml2 libxml2-devel libtool libtool-libs quota perl gd

  第二步:安装kangle(目前最新版本 :kangle-3.4.8.tar.gz)

  1、下载kangle源码包

  wget http://download.kanglesoft.com/zcore.php?os=src

  2、解压

  tar xzf kangle-3.4.8.tar.gz

  3、进入kangle目录

  cd kangle-3.4.8

  4、配置kangle源代码

  http://www.wenrouge.com/post/configure --prefix=/vhs/kangle --enable-disk-cache --enable-ipv6 --enable-ssl --enable-vh-limit

  5、编译安装

  make && make check && make install

  6、启动kangle

  /vhs/kangle/bin/kangle

  7、设置centos7 kangle 启动

  在/usr/lib/systemd/system/目录下新建kangle.service,内容如下:

  [Unit]

  Description=Kangle Web Service

  After=syslog.target network.target

  [Service]

  Type=forking

  ExecStart=/vhs/kangle/bin/kangle

  ExecStop=/vhs/kangle/bin/kangle -q

  [Install]

  WantedBy=multi-user.target

  8、使用SSH输入下列命令建立链接

  ln -s '/usr/lib/systemd/system/kangle.service' '/etc/systemd/system/multi-user.target.wants/kangle.service'

  9、启动kangle

  systemctl start kangle.service

  (关闭kangle的命令是systemctl stop kangle.service)

  10、设置为开机自动启动

  systemctl enable kangle.service

  第三步:安装数据库mariadb

  1、centos7默认安装mariadb5.5.37

  yum install mariadb-server mariadb

  2、启动mariadb服务

  systemctl start mariadb.service

  3、设置mariadb开机自动运行

  systemctl enable mariadb.service

  4、设置root密码

  /usr/bin/mysql_secure_installation

  然后根据提示一步步操作即可,如下所示:

  NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB

  SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!

  In order to log into MariaDB to secure it, we'll need the current

  password for the root user. If you've just installed MariaDB, and

  you haven't set the root password yet, the password will be blank,

  so you should just press enter here.

  Enter current password for root (enter for none): 安装后默认没有root密码,直接回车

  OK, successfully used password, moving on...

  Setting the root password ensures that nobody can log into the MariaDB

  root user without the proper authorisation.

  Set root password? [Y/n] Y

  New password: 输入root的新密码

  Re-enter new password: 新密码确认

  Password updated successfully!

  Reloading privilege tables..

  ... Success!

  By default, a MariaDB installation has an anonymous user, allowing anyone

  to log into MariaDB without having to have a user account created for

  them. This is intended only for testing, and to make the installation

  go a bit smoother. You should remove them before moving into a

  production environment.

  Remove anonymous users? [Y/n] 删除匿名用户 Y

  ... Success!

  Normally, root should only be allowed to connect from 'localhost'. This

  ensures that someone cannot guess at the root password from the network.

  Disallow root login remotely? [Y/n] 关闭root远程登录 Y

  ... Success!

  By default, MariaDB comes with a database named 'test' that anyone can

  access. This is also intended only for testing, and should be removed

  before moving into a production environment.

  Remove test database and access to it? [Y/n] 删除test数据库 Y

  - Dropping test database...

  ... Success!

  - Removing privileges on test database...

  ... Success!

  Reloading the privilege tables will ensure that all changes made so far

  will take effect immediately.

  Reload privilege tables now? [Y/n] 确定以上所有操作 Y

  ... Success!

  Cleaning up...

  All done! If you've completed all of the above steps, your MariaDB

  installation should now be secure.

  Thanks for using MariaDB!

  5、装完后设置一下链接,mariadb完全兼容mysql,所以很多命令也是一样的

  ln -s /usr/bin/mysql /vhs/kangle/bin/mysql

  ln -s /usr/bin/mysqldump /vhs/kangle/bin/mysqldump

  第四步:安装php,centos7默认安装5.4.16

  yum install php php-cli php-mysql php-gd php-xml php-pdo php-mbsring

  第五步:安装ioncube

  1、到官方下载ioncube_loader_lin_5.4.so放到/usr/lib64/php/modules目录下

  2、在/etc/php.d目录下新建ioncube.ini文件,内容为

  zend_extension=/usr/lib64/php/modules/ioncube_loader_lin_5.4.so

  第六步:安装pureftpd

  1、官方下载pureftpd(目前最新版是1.0.42版)

  wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.42.tar.gz

  或者在kangle下载(1.0.36版)

  wget http://download.kanglesoft.com/easypanel/source/pure-ftpd-1.0.36.tar.gz

  2、解压

  tar xzf pure-ftpd-1.0.42.tar.gz

  3、进入目录

  cd pure-ftpd-1.0.42

  4、配置pureftpd源代码

  http://www.wenrouge.com/post/configure --prefix=/vhs/pure-ftpd with --with-extauth --with-throttling --with-peruserlimits

  5、编译安装

  make && make check && make install

  6、设置pureftpd启动服务

  (1)在/vhs/pure-ftpd/sbin下新建pureftpd.sh,内容如下:

  #!/usr/bin/bash

  /vhs/pure-ftpd/sbin/pure-authd --daemonize -s /var/run/ftpd.sock -r /vhs/kangle/bin/pureftp_auth

  sleep 1

  /vhs/pure-ftpd/sbin/pure-ftpd --daemonize -lextauth:/var/run/ftpd.sock

  (2)在/usr/lib/systemd/system/下新建pureftpd.service,内容如下:

  [Unit]

  Description=Pure-FTPd FTP Server

  After=syslog.target

  [Service]

  Type=forking

  ExecStart=/usr/bin/sh /vhs/pure-ftpd/sbin/pureftpd.sh

  [Install]

  WantedBy=multi-user.target

  7、建立软连接

  ln -s '/usr/lib/systemd/system/pureftpd.service' '/etc/systemd/system/multi-user.target.wants/pureftpd.service'

  8、启动pureftpd

  systemctl start pureftpd.service

  (关闭pureftpd: systemctl stop pureftpd.service)

  第七步:安装easypanel

  1、下载easypanel(目前最新版是2.6.17)

  wget http://download.kanglesoft.com/easypanel/easypanel-2.6.17-x86_64-6.tar.gz

  2、解压缩

  tar xzf easypanel-2.6.17-x86_64-6.tar.gz

  3、关闭kangle服务

  /vhs/kangle/bin/kangle -q

  4、复制文件

  cp -a easypanel-2.6.17-x86_64/* /vhs/kangle/

  5、安装

  欠缺

  6、装完后开始设置,不用ep自带的php52,打开/vhs/kangle/ext/tpl_php52/config.xml找到

  第八步:启动kangle和pureftp

  systemctl start kangle.service

  systemctl start pureftpd.service

  ---

  转载请注明本文标题和链接:《CentOS7安装kangle和easypanel》

CentOS7安装kangle和easypanel相关推荐

  1. linux7装kangle,CentOS7安装kangle和easypanel

    您的位置:WenRou's Blog >面板> CentOS7安装kangle和easypanel 第一步:系统支持包安装 yum -y install wget tar make aut ...

  2. 康乐面板mysql默认密码_Linux安装kangle(康乐)网站管理面板的详细教程

    很多新手买了 linux vps 后一无所知,百度kangle官方也是看的一塌糊涂,再加上kangle官方的下载地址时常大姨妈,导致很多新手无法安装康乐主机系统. 至于为何博主为何介绍kangle面板 ...

  3. kangle的php怎么安装,kangle安装脚本集合

    注意事项 本脚本支持CentOS 6.x/CentOS 7.x系统 请复制以下指令到ssh连接软件粘贴执行 安装脚本 安装教程  安装慢?yum install -y wget;wget -q kos ...

  4. centos7 nginx配置php7,centos7安装并配置nginx+php,centos7nginx

    centos7安装并配置nginx+php,centos7nginx centos7安装并配置nginx+php 安装nginx yum install nginx 设置nginx开启起动 syste ...

  5. centos7安装配置pgAgent

    centos7安装pgagent: 默认cmake已经安装 编译wxGTK https://excellmedia.dl.sourceforge.net/project/wxwindows/2.8.7 ...

  6. centos7 安装mysql php_Centos7安装mysql与php的方法

    本文主要和大家分享Centos7安装mysql与php的方法,希望能帮助到大家. 相关mysql视频教程推荐:<mysql教程> 官网下载安装mysql-server 依次使用下面三个命令 ...

  7. Centos7安装Apache和PHP,包含配置过程

    本文主要讲的是本人在迁移php网站相关软件的安装和配置过程,以及一下问题的解决步骤.通过阅读本文能够知道如何迁移php网站,如何配置httpd服务使得它能够解析php文件以及如何解决迁移过程中的异常问 ...

  8. LINUX CentOS7安装字体库

    LINUX CentOS7安装字体库 2017年12月26日 17:06:07 q260996583 阅读数:4866更多 个人分类: linux JAVA画图时常用到Font 类对象 这样的对象依赖 ...

  9. centos7安装mysql缺失依赖_CentOS7安装mysql5.7不成功,解决依赖包之后还是无法安装成功...

    [root@xg79 ~]# yum -y installmysql-community-server ............. Error: Package:mysql-community-ser ...

  10. linux tomcat7怎么安装,centos7安装Tomcat7,

    centos7安装Tomcat7, 一.环境 centos7 linux apache-tomcat-7.0.92.tar.gz:链接:https://pan.baidu.com/s/1-clhIjD ...

最新文章

  1. Python与PHP的区别?
  2. 多模态为什么比单模态好?第一份严谨证明来了!
  3. 2015春季学期阅读计划
  4. 如何使用GitHub Action自动发布JAR到Maven仓库
  5. oracle tabe unlock_Oracle 学习之性能优化(四)收集统计信息
  6. ios如何判断键盘是否已经显示
  7. AspNetCoreRateLimit - ASP.NET Core 速率限制中间件。
  8. .Net Core3.0使用gRPC
  9. [转载] --- Fastjson1.2.68版及以下全版本远程代码执行漏洞通告
  10. 无监督学习 | 层次聚类 之凝聚聚类原理及Sklearn实现
  11. 使用Supervisor监控代码的修改 - cmd安装激活篇
  12. vsc中HTML配置,vscode怎么配置node?
  13. linux nginx jsp,将nginx注册成linux的服务(service)
  14. oracle registers,【案例】Oracle RAC强制删除node节点过程的详细笔记
  15. poj 1679(次小生成树)
  16. 本地mysql搭建网站_本地搭建网站时的具体步骤
  17. 软件工程——软件详细设计
  18. win11电脑快捷键
  19. 码农辞职一年后:独立工程师太难了
  20. 字谜游戏Java程序实现

热门文章

  1. word对象模型概述
  2. FITC-LCA 绿色荧光标记小扁豆凝集素
  3. 安装和配置fedora19要做的那些事,超值经验
  4. 收藏夹吃灰了:GitHub 上值得收藏的100个精选前端项目!
  5. 类和对象11:描述符方法
  6. 秋季最养胃饮食排行榜单
  7. 如何求绝对值最小的数
  8. win7 ShuipFCMS 配置 及问题
  9. 生命已经这么短,为什么还不追求自己真正想要的
  10. 伦斯勒理工学院计算机科学专业强吗,2020年伦斯勒理工学院排名TFE Times美国最佳计算机科学硕士专业排名第59...