开源:Ajenti,Linux下的开源Web管理面板

Ajenti 是国外的一款开源服务器面板,类似于VestaCP,支持中文,自带SSL、Nginx、PHP、MysqL等服务,可手动安装,官网也提供了一键安装脚本。适用于各类Linux系统,支持Debian、Ubuntu、CentOS、Redhat、FreeBSD等。

目前有 Ajenti 1 和 Ajenti 2 两个版本分支,Ajenti 1 为 Server admin panel,即服务器管理面板,内含了各类建站组件;而Ajenti 2 为 Lightweight admin panel,即轻量级管理面板,可自由定制各种组件。Ajenti 1 面板还需要搭配 Ajenti V 使用,Ajenti V 的介绍为 Web hosting on,网站管理。

Ajenti官网http://ajenti.org/

Github地址https://github.com/ajenti/ajenti

安装文档http://docs.ajenti.org/en/latest/man/install.html

ajenti.png

一、Ajenti 1的安装和使用

以Centos7为例

1、安装相关组件

wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/pstorz:/eric/RedHat_RHEL-6/noarch/python-chardet-2.1.1-25.1.noarch.rpm
wget  ftp://ftp.univie.ac.at/systems/linux/fedora/epel/6/i386/python-lockfile-0.8-3.el6.noarch.rpm
rpm -ivh python-chardet-2.1.1-25.1.noarch.rpm
rpm -ivh python-lockfile-0.8-3.el6.noarch.rpm

2、安装Ajenti 1

(1)centos6系统

curl https://raw.githubusercontent.com/Eugeny/ajenti/master/scripts/install-rhel.sh | sh

(2)centos7系统

curl https://raw.githubusercontent.com/Eugeny/ajenti/master/scripts/install-rhel7.sh | sh

(3)debian系统

wget -O- https://raw.github.com/Eugeny/ajenti/master/scripts/install-debian.sh | sh

(4)Ubuntu系统

wget -O- https://raw.github.com/Eugeny/ajenti/master/scripts/install-ubuntu.sh | sudo sh

浏览器访问:https://IP:8000,用户名为root,密码为admin

3、安装Ajenti V

如安装Nginx、Mysql、PHP7.0

yum install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.0-fpm php7.0-mysql
service ajenti restart

二、Ajenti 2的安装

以Centos7为例

1、安装相关组件

Debian/Ubuntu系统

sudo apt-get install build-essential python-pip python-dev python-lxml libffi-dev libssl-dev libjpeg-dev libpng-dev uuid-dev python-dbus

RHEL/CentOS系统

sudo yum install gcc python-devel python-pip libxslt-devel libxml2-devel libffi-devel openssl-devel libjpeg-turbo-devel libpng-devel dbus-python

2、自动安装Ajenti

curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s -

浏览器访问:IP:8000,用户名为root,密码为root密码

3、安装插件

(1)安装NodeJS

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_7.x | bash -
apt-get install -y nodejs

# Using RHEL or centos, as root
curl -sL https://rpm.nodesource.com/setup_7.x | bash -
yum install nodejs

(2)安装build tools

npm -g install bower babel-cli babel-preset-es2015 babel-plugin-external-helpers less coffee-script angular-gettext-cli angular-gettext-tools

# Ubuntu or Debian:
apt-get install gettext

# RHEL or CentOS
yum install gettext

(3)安装ajenti-dev-multitool

pip install ajenti-dev-multitool

(4)安装插件

ajenti-dev-multitool --new-plugin "插件名"
cd 插件名
ajenti-dev-multitool --build
sudo ajenti-dev-multitool --run-dev
猜您喜欢

发表评论

icon_mrgreen.gificon_neutral.gificon_twisted.gificon_arrow.gificon_eek.gificon_smile.gificon_confused.gificon_cool.gificon_evil.gificon_biggrin.gificon_idea.gificon_redface.gificon_razz.gificon_rolleyes.gificon_wink.gificon_cry.gificon_surprised.gificon_lol.gificon_mad.gificon_sad.gificon_exclaim.gificon_question.gif