Appnode安装

Appnode安装

在线安装

1.仅安装控制中心

bash -c "$(curl -sS http://dl.appnode.com/install.sh)"


AppNode - www.appnode.com --------------------------------------------------------- _______ _____ __ _________ ___ |__________________ | / /___________ /____ __ /| |__ __ \__ __ \_ |/ /_ __ \ __ /_ _ \ _ ___ |_ /_/ /_ /_/ / /| / / /_/ / /_/ / / __/ /_/ |_| .___/_ .___//_/ |_/ \____/\__,_/ \___/ /_/ /_/ --------------------------------------------------------- * Installer Version: * Synchronizing server time...ok >> Updating software repository * Installing repository appnode-ccenter... Examining /var/tmp/yum-root-qQpApW/appnode-ccenter-release-1.2-1.el7.x86_64.rpm: appnode-ccenter-release-1.2-1.el7.x86_64 Marking /var/tmp/yum-root-qQpApW/appnode-ccenter-release-1.2-1.el7.x86_64.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package appnode-ccenter-release.x86_64 0:1.2-1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: appnode-ccenter-release x86_64 1.2-1.el7 /appnode-ccenter-release-1.2-1.el7.x86_64 2.3 k Transaction Summary ================================================================================ Install 1 Package Total size: 2.3 k Installed size: 2.3 k Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : appnode-ccenter-release-1.2-1.el7.x86_64 1/1 Verifying : appnode-ccenter-release-1.2-1.el7.x86_64 1/1 Installed: appnode-ccenter-release.x86_64 0:1.2-1.el7 Complete! Loaded plugins: fastestmirror Determining fastest mirrors appnode-ccenter | 2.9 kB 00:00:00 base | 3.6 kB 00:00:00 docker-ce-stable | 3.5 kB 00:00:00 extras | 2.9 kB 00:00:00 updates | 2.9 kB 00:00:00 (1/12): appnode-ccenter/x86_64/primary_db | 39 kB 00:00:00 (2/12): appnode-ccenter/x86_64/other_db | 4.7 kB 00:00:00 (3/12): appnode-ccenter/x86_64/filelists_db | 279 kB 00:00:01 (4/12): docker-ce-stable/7/x86_64/filelists_db | 25 kB 00:00:01 (5/12): docker-ce-stable/7/x86_64/primary_db | 60 kB 00:00:01 (6/12): docker-ce-stable/7/x86_64/other_db | 118 kB 00:00:00 (7/12): extras/7/x86_64/filelists_db | 230 kB 00:00:01 (8/12): extras/7/x86_64/other_db | 138 kB 00:00:01 (9/12): extras/7/x86_64/primary_db | 232 kB 00:00:03 (10/12): updates/7/x86_64/filelists_db | 4.3 MB 00:00:37 (11/12): updates/7/x86_64/other_db | 567 kB 00:00:07 (12/12): updates/7/x86_64/primary_db | 7.1 MB 00:01:07 Metadata Cache Created >> Installing AppNode CCenter Resolving Dependencies --> Running transaction check ---> Package appnode-ccenter.x86_64 0:1.12.12-1.el7 will be installed --> Processing Dependency: appnode-cli >= 1.1.0 for package: appnode-ccenter-1.12.12-1.el7.x86_64 --> Processing Dependency: appnode-ccenter-changelog-db >= 20171215 for package: appnode-ccenter-1.12.12-1.el7.x86_64 --> Processing Dependency: appnode-ccenter-appmarket-db >= 20171215 for package: appnode-ccenter-1.12.12-1.el7.x86_64 --> Running transaction check ---> Package appnode-ccenter-appmarket-db.x86_64 0:20171223-1.el7 will be installed ---> Package appnode-ccenter-changelog-db.noarch 0:20210104-1.el7 will be installed ---> Package appnode-cli.x86_64 0:1.1.0-2.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================== Installing: appnode-ccenter x86_64 1.12.12-1.el7 appnode-ccenter 17 M Installing for dependencies: appnode-ccenter-appmarket-db x86_64 20171223-1.el7 appnode-ccenter 28 k appnode-ccenter-changelog-db noarch 20210104-1.el7 appnode-ccenter 12 k appnode-cli x86_64 1.1.0-2.el7 appnode-ccenter 391 k Transaction Summary =================================================================================================================================== Install 1 Package (+3 Dependent packages) Total download size: 17 M Installed size: 51 M Downloading packages: warning: /var/cache/yum/x86_64/7/appnode-ccenter/packages/appnode-ccenter-appmarket-db-20171223-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 557b1556: NOKEY Public key for appnode-ccenter-appmarket-db-20171223-1.el7.x86_64.rpm is not installed (1/4): appnode-ccenter-appmarket-db-20171223-1.el7.x86_64.rpm | 28 kB 00:00:01 (2/4): appnode-ccenter-changelog-db-20210104-1.el7.noarch.rpm | 12 kB 00:00:00 (3/4): appnode-cli-1.1.0-2.el7.x86_64.rpm | 391 kB 00:00:05 (4/4): appnode-ccenter-1.12.12-1.el7.x86_64.rpm | 17 MB 00:00:17 ----------------------------------------------------------------------------------------------------------------------------------- Total 990 kB/s | 17 MB 00:00:17 Retrieving key from file:///etc/pki/rpm-gpg/APPNODE-RPM-GPG-KEY Importing GPG key 0x557B1556: Userid : "AppNode <develop@appnode.com>" Fingerprint: 55da 8b33 f2f1 69d6 db01 6e86 c41d 3842 557b 1556 Package : appnode-ccenter-release-1.2-1.el7.x86_64 (installed) From : /etc/pki/rpm-gpg/APPNODE-RPM-GPG-KEY Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : appnode-cli-1.1.0-2.el7.x86_64 1/4 Installing : appnode-ccenter-appmarket-db-20171223-1.el7.x86_64 2/4 Installing : appnode-ccenter-changelog-db-20210104-1.el7.noarch 3/4 Installing : appnode-ccenter-1.12.12-1.el7.x86_64 4/4 Verifying : appnode-cli-1.1.0-2.el7.x86_64 1/4 Verifying : appnode-ccenter-1.12.12-1.el7.x86_64 2/4 Verifying : appnode-ccenter-appmarket-db-20171223-1.el7.x86_64 3/4 Verifying : appnode-ccenter-changelog-db-20210104-1.el7.noarch 4/4 Installed: appnode-ccenter.x86_64 0:1.12.12-1.el7 Dependency Installed: appnode-ccenter-appmarket-db.x86_64 0:20171223-1.el7 appnode-ccenter-changelog-db.noarch 0:20210104-1.el7 appnode-cli.x86_64 0:1.1.0-2.el7 Complete! >> AppNode CCenter configuration * Port [default: 8888]: 8887 # 自定义端口 * Admin username [default: admin]: # 用户名 * Admin password [default: BqbHBNve]: admin # 密码 * Is configuration right? [Y/n] y >> Stop and disable firewalld >> Adding Firewall Rules For AppNode CCenter >> Starting AppNode CCenter service >> AppNode CCenter installed successfully! -------------------------------------------------- - URL: http://192.168.137.12:8887/ - Admin username: admin - Admin password: admin -------------------------------------------------- ENJOY YOUR NODE :-)

2.安装控制中心和受控端(agent)

INSTALL_AGENT=1 INIT_SWAPFILE=1 bash -c "$(curl -sS http://dl.appnode.com/install.sh)"

3.安装控制中心,受控端(agent)和网站管理

具体功能安装查看官网自定义命令

INSTALL_AGENT=1 INSTALL_APPS=sitemgr INIT_SWAPFILE=1 INSTALL_PKGS='nginx-stable,php74' bash -c "$(curl -sS http://dl.appnode.com/install.sh)"

留下评论