• syndesis


    安装sysdesis后端程序


    docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=syndesis postgres:14

    $ syndesis build -f -c --backend # to download dependencies and build the backend $ (cd app && ./mvnw -f server/runtime spring-boot:run)


    #启动syndesis server

    docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=syndesis postgres

    java -jar \
    -Dcontrollers.dblogging.enabled=false \
    -Dencrypt.key=supersecret \
    -Dfeatures.monitoring.enabled=false \
    -Dmeta.service=localhost:9090 \
    -Dmetrics.kind=noop \
    -Dopenshift.enabled=false \
    -Dspring.cloud.kubernetes.enabled=false \
    runtime.jar

     #meta

    java -jar \
    -Dserver.port=9090 \
    -Dmanagement.server.port=9091 \
    -DLOADER_HOME=target \
    meta-1.13.2.jar

    安装sysdesis前端程序

    ubu@ubu2004:~$ cat /etc/apt/sources.list
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.


    deb https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse
    # deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse
    deb https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
    # deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
    deb https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
    # deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
    deb https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse
    # deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse
    deb https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
    # deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse

    执行如下命令:

    sudo apt remove nodejs

    此命令会卸载 nodejs,但是会保留配置文件,方便你以后再次安装 nodejs。

    如果不想保留配置文件,继续执行:

    sudo apt purge nodejs

    这将会卸载 nodejs 和其相关的配置文件。



    安装指定源版本 nodejs
    curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - 
    sudo apt-get install -y nodejs
    sudo apt-get install libxss1
    sudo apt-get install libgtk-3-dev

    ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
    ## You may also need development tools to build native addons:
    sudo apt-get install gcc g++ make
    ## To install the Yarn package manager, run:
    curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
    echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
    sudo apt-get update && sudo apt-get install yarn

    执行:vim /etc/sysctl.conf,添加如下内容:

    fs.inotify.max_user_watches=524288

    输入:wq

    在命令行执行:sysctl -p

     

    启动两个窗口执行:

    To build the UI, run:

    $ syndesis ui --install --build

    After that UI can be started by running (in two separate terminal sessions):

    $ (cd app/ui-react && yarn watch:packages)
    $ (cd app/ui-react && BACKEND=http://localhost:8080 yarn watch:app:proxy)



    #yarn
     yarn cache dir
    #npm


  • 相关阅读:
    oracle 怎样查询某用户下的所有表的表名
    Oracle db_name, db_unique_name, global_name 的区别
    Oracle 修改 GLOBAL_NAME 和 SERVICE_NAME
    Oracle中DB_NAME,SID,DB_DOMAIN,SERVICE_NAME等之间的区别
    spoon(kettle)基本配置(连接Mysql和Oracle)
    ESLint学习(四)如何在提交时检查代码
    ESLint学习(三)webpack中使用ESLint
    ESLint学习(二).eslintignore文件
    ESLint学习(一)简介、安装、配置、命令行、规则
    host学习(一)如何修改host?提示无法修改host怎么办?
  • 原文地址:https://www.cnblogs.com/beilong/p/15811715.html
Copyright © 2020-2023  润新知