from here

!/bin/bash

Check if user is root

if [ $(id -u) != "0" ]; then

Echo_Red "Error: You must be root to run this script"

exit 1

fi

. common.sh

. basic_soft.sh

. config_soft.sh

paths config

current_path=pwd

config_path=$current_path/config

include_path=$current_path/include

package_path=$current_path/package

env_path=/etc/profile.d/env.sh

安装准备工作

所有的ssh-keygen命令的输入,都直接回车

Prepare_Install

安装 Nginx

Insert_Nginx

安装 PHP

Insert_PHP

安装数据库

Insert_MariaDB

安装 Redis

Insert_Redis

-------------- 以下属于 mynote 应用紧密相关,经常变动部分

cd ~/init

. app.sh

. config.sh

for file in $include_path/*.sh

do

. $file

done

Prepare_Deploy

安装 Gogs

Insert_Gogs

Deploy_Mynote

Deploy_Front

Deploy_Addi

Deploy_Fastadmin

Deploy_Phpadmin

最后再进行必要的手动操作

Deploy_End

最后安装、启动es,因为需要手动回车

Insert_ES

Echo_Blue "安装完成!enjoy uninote

最新文章

  1. [NOIP2014] 提高组 洛谷P1351 联合权值
  2. 50 道 Java 线程面试题(转载自牛客网)
  3. android 应用层性能优化方案
  4. Django的Context和RequestContext
  5. js实现鼠标的滑动
  6. CentOS服务器的16个监控命令
  7. HDU2795 Billboard 【线段树】+【单点更新】
  8. AngularJs之初
  9. NHibernate优点和缺点:
  10. 小tips:使用rem+vw实现简单的移动端适配
  11. 详解最大似然估计(MLE)、最大后验概率估计(MAP),以及贝叶斯公式的理解
  12. Windows10配置JDK环境变量
  13. Django中各目录文件的作用
  14. HAproxy增加日志记录功能和自定义日志输出内容、格式
  15. 系统的Drawable(一)
  16. ASM实例原始磁盘搜索路径
  17. Confluence 6 使用 LDAP 授权连接一个内部目录概述
  18. HDU 2106 母猪的故事
  19. 数据库之Oracle的介绍与使用20180620
  20. Codeforces Round #302 (Div. 2) C 简单dp

热门文章

  1. pikachu-file
  2. 关于maven的repositories
  3. GoAccess安装及分析nginx实时日志
  4. 基于初始种子自动选取的区域生长(python+opencv)
  5. Web前端经典面试试题(三)
  6. HDU6740 2019CCPC秦皇岛赛区 J. MUV LUV EXTRA
  7. grunt-contrib-uglify js压缩
  8. Mybaist 注解 foreach 嵌套循环实现批量插入
  9. 洛谷 P2473 [SCOI2008]奖励关 ( 期望DP )
  10. [JZOJ6244]【NOI2019模拟2019.7.1】Trominoes 【计数】