Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.4 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.4 KB

How to build an os package based on unionTech server v20

  1. Prepare a UnionTech V20 OS environment and ensure unobstructed access to the extranet.

  2. Execute the following command to build the os package:

    $ curl -Lo ./build.sh https://raw.githubusercontent.com/kubean-io/kubean/main/build/os-packages/others/uos_v20/build.sh
    $ chmod +x build.sh && ./build.sh

    Note: After the build command is executed, the os package os-pkgs-uniontech-20.tar.gz will be generated in the current directory

Resolve missing python dependencies in unionTech server v20 (1020a) minimization system

  1. Execute the following command on the unionTech server v20 OS to generate the rpm package for python3.6:

    $ dnf install -y --downloadonly --downloaddir=rpm/ python36
    ...
    
    $ ls -lh rpm/
    total 204K
    -rw-r--r-- 1 root root  19K Mar 10 15:25 python3-pip-9.0.3-18.uelc20.01.noarch.rpm
    -rw-r--r-- 1 root root 162K Mar 10 15:25 python3-setuptools-39.2.0-7.uelc20.2.noarch.rpm
    -rw-r--r-- 1 root root  18K Mar 10 15:25 python36-3.6.8-2.module+uelc20+36+6174170c.x86_64.rpm
  2. Upload and install the rpm package to a unionTech server v20 OS node that is missing python3.6:

    rpm -ivh python3-pip-9.0.3-18.uelc20.01.noarch.rpm python3-setuptools-39.2.0-7.uelc20.2.noarch.rpm python36-3.6.8-2.module+uelc20+36+6174170c.x86_64.rpm