Ajenti,一款开源的Web管理面板,适用于lInux系统,功能齐全,开发有很多年了,功能丰富,适用于各类Linux系统。
支持Debian、Ubuntu、CentOS、Redhat、FreeBSD等,建议最新版系统。
建议Ajenti 1,内含各类建站组件;Ajenti 2太轻量化,但可自制组件。
一、Ajenti 1的安装和使用 以Centos7为例
需要配置Ajenti V(网站管理)使用。
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
a、centos6系统
curl https://raw.githubusercontent.com/Eugeny/ajenti/master/scripts/install-rhel.sh | sh
b、centos7系统
curl https://raw.githubusercontent.com/Eugeny/ajenti/master/scripts/install-rhel7.sh | sh
c、debian系统
wget -O- https://raw.github.com/Eugeny/ajenti/master/scripts/install-debian.sh | sh
d、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 V相关帮助文档:https://support.ajenti.org/knowledge-bases/5-kb/categories/1-ajenti-v/articles
二、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、安装插件
a、安装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
b、安装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
c、安装ajenti-dev-multitool
pip install ajenti-dev-multitool
d、安装插件
ajenti-dev-multitool --new-plugin "插件名" cd 插件名 ajenti-dev-multitool --build sudo ajenti-dev-multitool --run-dev
-
所有主机信息仅是为及时分享并收录,不做推荐!