当前位置:   article > 正文

01-20210222华为海思Hi3518EV300鸿蒙系统的开发环境的配置_samba is not being run as an ad domain controller:

samba is not being run as an ad domain controller: masking samba-ad-dc.servi

20210222华为海思Hi3518EV300鸿蒙系统的开发环境的配置
2021/2/23 10:15开始整理


1、百度搜索:鸿蒙
https://www.harmonyos.com/
HarmonyOS
分布式能力造就新硬件、新交互、新服务,打开焕然一新的全场景世界。
www.harmonyos.com/   - 百度快照

https://www.harmonyos.com/cn/home/
HarmonyOS→开发→设备开发→源码下载→快速入门

https://device.harmonyos.com/cn/docs/start/introduce/oem_camera_start_environment-0000001052450997
Hi3518搭建环境

https://zhuanlan.zhihu.com/p/263063423
鸿蒙系统介绍 和 编译环境搭建
(提供了可以直接使用已经配置好的虚拟机)


2、安装ubuntu:
已经验证过的系统:ubuntu-20.04.2.0-desktop-amd64.iso
仅仅推荐使用ubuntu长期支持的版本(LTS版本)。(除非特殊的理由,)

ubuntu的官方下载地址:
http://releases.ubuntu.com/releases/20.04/
http://releases.ubuntu.com/releases/20.04/ubuntu-20.04.2.0-desktop-amd64.iso


安装Ubuntu的教程请参考:
https://www.sysgeek.cn/install-ubuntu-20-04-lts-desktop/
Ubuntu 20.04 LTS 桌面版详细安装指南

https://blog.csdn.net/qq_45392321/article/details/105821169
Ubuntu 20.04安装过程

https://baijiahao.baidu.com/s?id=1670100505795119581&wfr=spider&for=pc
Ubuntu20.04桌面版图文安装(超详细)
(虚拟机安装英文版)


(安装的时候可以先不要插网线,连接WIFI。以最快的时候装完!可以直接安装英文版的!)
推荐设置1:更新和其他软件
您希望先安装哪些应用?
——正常安装。

其他选项
(不要选)安装Ubuntu时下载更新
(选中)为图形或无线硬件,以及其它媒体格式安装第三方软件。
(选中之后为给你安装一些视频播放器等等东西!)

 


Updates and other software
What apps would you like to install to start with?
--Normal installation

Other options
(不要选)--Download updates while installing Ubuntu
(选中)Install third-party software for graphics and Wi-Fi hardware and additional media formats


推荐设置2:(安装类型)手动分区的建议设置:
EFI boot partiton 100MB(>3TB的硬盘在安装ubuntu的时候回提示分这个区,小容量的硬盘不用考虑这个分区。如果分区有问题,可以考虑让ubuntu自动分区安装。完成之后删除所有分区再安装。)

/boot  分配500MB即可(不知道是没有配置,不停地下载更新内核,100MB很快就满了!^_)
swap   交换分区4G左右
/home  剩下的容量-50GB(最后的50GB需要挂在“/”分区)
/      50GB。(注意这里需要设置为主分区!!!!)


小知识:
查看ubuntu的版本:
rootroot@wenyb1903:~$ cat /etc/issue
Ubuntu 12.04.2 LTS \n \l

查看ubuntu是32位还是64位(x86_64):
rootroot@wenyb1903:~$ uname -a
Linux wenyb1903 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

http://www.360doc.com/content/13/0921/23/6496277_316103639.shtml
查看ubuntu是32位还是64位的方法及其版本号 

http://www.cnblogs.com/zero1665/archive/2010/05/24/1742962.html
查看ubuntu版本号

http://www.2cto.com/os/201502/378178.html
Linux_查看系统cpu个数、核心数、线程数

http://blog.csdn.net/sunboy_2050/article/details/6081989
linux 下查看cpu位数 内核等参数命令

https://jingyan.baidu.com/article/ca41422f0ab38f1eae99edc3.html
Ubuntu-查看ubuntu系统的版本信息
cat /proc/version

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ cat /proc/version
Linux version 5.8.0-43-generic (buildd@lcy01-amd64-018) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ uname -a
Linux rootroot-HP-ZHAN-66-Pro-A-14-G3 5.8.0-43-generic #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ cat /etc/issue
Ubuntu 20.04.2 LTS \n \l

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 

(可选)

关闭20分钟后笔记本电脑休眠:

Settings→Power→Suspend & Power Buttons→Automatic Suspend(off)


3、(首先更新系统的软件下载源)
sudo apt-get update

(可选对ubuntu进行系统升级!)
sudo apt-get upgrade

首先安装openssh-server,这样就可以在Windows下通过SSH软件(XShell)连接Ubuntu的电脑操作了。
sudo apt-get install openssh-server


4、将Linux shell改为bash
查看shell是否为bash,在终端运行如下命令
ls -l /bin/sh
如果显示为“/bin/sh -> bash”则为正常,否则请按以下方式修改:

方法一:在终端运行如下命令,然后选择 no。
sudo dpkg-reconfigure dash

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2月  20 17:20 /bin/sh -> dash
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ ll /bin/sh
lrwxrwxrwx 1 root root 4 2月  20 17:20 /bin/sh -> dash*
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ sudo dpkg-reconfigure dash
[sudo] password for rootroot: 
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ ll /bin/sh
lrwxrwxrwx 1 root root 4 2月  20 18:13 /bin/sh -> bash*
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$


将shell从DASH切换到BASH:
http://blog.csdn.net/smilettxp/article/details/19118057?reload
ubuntu 12.04编译MTK6582——FAQ

现象:
加载MT6582_Android_scatter.txt文件后,Flash_tool无法显示下载内容时,查看XXXX_preloader.log中有如下提示:

/bin/sh: 1: [: -a: unexpected operator

awk: line 4: function strtonum never defined
awk: line 4: function strtonum never defined

解决办法:/bin/sh: 1: [: -a: unexpected operator 分析原因为/bin/sh的链接到/bin/dash,而不是/bin/bash(可以用命令ls /bin/sh -lh查看链接的时bash还是dash)
修改sh默认指向到/bin/bash,如下:
sudo dpkg-reconfigure dash 选择no,即可。

awk:line的解决办法是安装gnu awk,如下:
sudo apt-get install gawk 即可。 


5、安装Python环境(华为的官方文档有点问题!)
打开Linux编译服务器终端。
输入如下命令,查看python版本号,需使用python3.7以上版本。
python3 --version

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ python3 --version
Python 3.8.5
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ which python3.8
/usr/bin/python3.8
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 


确定python安装好后,将python路径链接到"/usr/bin/python"。
输入如下命令,查看python是否正确软链接到python3.8。
python --version
如果回显不是python 3.8.5,则运行如下命令,查看python3.8所在目录:
which python3.8
将以下命令中的 "python3.8-path" 替换为 "which python3.8" 命令执行后的回显路径
cd /usr/bin && sudo rm python && sudo rm python3 && sudo ln -s python3.8-path python && sudo ln -s python3.8-path python3 && python3 --version && python --version


cd /usr/bin
sudo rm python (找不到python这个文件^_)
sudo rm python3(不要执行)
sudo ln -s python3.8-path python(不要执行)
sudo ln -s python3.8-path python3(不要执行)

sudo ln -s python3.8 python

python3 --version
python --version


rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ cd /usr/bin
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ ll python*
lrwxrwxrwx 1 root root       9 2月  20 17:20 python3 -> python3.8*
-rwxr-xr-x 1 root root 5486352 7月  28  2020 python3.8*
-rwxr-xr-x 1 root root     384 3月  28  2020 python3-futurize*
-rwxr-xr-x 1 root root     388 3月  28  2020 python3-pasteurize*
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ sudo rm python
rm: cannot remove 'python': No such file or directory
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ sudo ln -s python3.8 python
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ ll python*
lrwxrwxrwx 1 root root       9 2月  20 18:19 python -> python3.8*
lrwxrwxrwx 1 root root       9 2月  20 17:20 python3 -> python3.8*
-rwxr-xr-x 1 root root 5486352 7月  28  2020 python3.8*
-rwxr-xr-x 1 root root     384 3月  28  2020 python3-futurize*
-rwxr-xr-x 1 root root     388 3月  28  2020 python3-pasteurize*
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ python3 --version
Python 3.8.5
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ python --version
Python 3.8.5
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 


6、安装并升级Python包管理工具(pip3),命令行方式:
sudo apt-get install python3-setuptools python3-pip -y
sudo pip3 install --upgrade pip
(这个必须要使用GUI的X窗口。XSHell远程执行不了!)


rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ sudo apt-get install python3-setuptools python3-pip -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev fakeroot g++ g++-9 gcc gcc-9 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcrypt-dev libctf-nobfd0
  libctf0 libexpat1-dev libfakeroot libgcc-9-dev libitm1 liblsan0 libpython3-dev libpython3.8-dev libquadmath0 libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev make manpages-dev python-pip-whl python3-dev python3-distutils python3-wheel python3.8-dev zlib1g-dev
Suggested packages:
  binutils-doc debian-keyring g++-multilib g++-9-multilib gcc-9-doc gcc-multilib autoconf automake libtool flex bison gcc-doc gcc-9-multilib gcc-9-locales glibc-doc libstdc++-9-doc make-doc python-setuptools-doc
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev fakeroot g++ g++-9 gcc gcc-9 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcrypt-dev libctf-nobfd0
  libctf0 libexpat1-dev libfakeroot libgcc-9-dev libitm1 liblsan0 libpython3-dev libpython3.8-dev libquadmath0 libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev make manpages-dev python-pip-whl python3-dev python3-distutils python3-pip python3-setuptools python3-wheel
  python3.8-dev zlib1g-dev
0 upgraded, 43 newly installed, 0 to remove and 29 not upgraded.
Need to get 38.6 MB of archives.
After this operation, 171 MB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 binutils-common amd64 2.34-6ubuntu1.1 [207 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libbinutils amd64 2.34-6ubuntu1.1 [475 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libctf-nobfd0 amd64 2.34-6ubuntu1.1 [47.1 kB]                                                                                                                                                             
Get:4 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libctf0 amd64 2.34-6ubuntu1.1 [46.6 kB]                                                                                                                                                                   
Get:5 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.34-6ubuntu1.1 [1,613 kB]                                                                                                                                                
Get:6 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 binutils amd64 2.34-6ubuntu1.1 [3,380 B]                                                                                                                                                                  
Get:7 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.2 [71.8 kB]                                                                                                                                                              
Get:8 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-65.73 [1,116 kB]                                                                                                                                                               
Get:9 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libcrypt-dev amd64 1:4.4.10-10ubuntu4 [104 kB]                                                                                                                                                                    
Get:10 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dev amd64 2.31-0ubuntu9.2 [2,520 kB]                                                                                                                                                               
Get:11 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libitm1 amd64 10.2.0-5ubuntu1~20.04 [26.4 kB]                                                                                                                                                            
Get:12 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libatomic1 amd64 10.2.0-5ubuntu1~20.04 [9,300 B]                                                                                                                                                         
Get:13 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libasan5 amd64 9.3.0-17ubuntu1~20.04 [394 kB]                                                                                                                                                            
Get:14 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 liblsan0 amd64 10.2.0-5ubuntu1~20.04 [144 kB]                                                                                                                                                            
Get:15 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libtsan0 amd64 10.2.0-5ubuntu1~20.04 [320 kB]                                                                                                                                                            
Get:16 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libubsan1 amd64 10.2.0-5ubuntu1~20.04 [136 kB]                                                                                                                                                           
Get:17 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libquadmath0 amd64 10.2.0-5ubuntu1~20.04 [146 kB]                                                                                                                                                        
Get:18 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgcc-9-dev amd64 9.3.0-17ubuntu1~20.04 [2,360 kB]                                                                                                                                                      
Get:19 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 gcc-9 amd64 9.3.0-17ubuntu1~20.04 [8,241 kB]                                                                                                                                                             
Get:20 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 gcc amd64 4:9.3.0-1ubuntu2 [5,208 B]                                                                                                                                                                             
Get:21 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libstdc++-9-dev amd64 9.3.0-17ubuntu1~20.04 [1,714 kB]                                                                                                                                                   
Get:22 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 g++-9 amd64 9.3.0-17ubuntu1~20.04 [8,405 kB]                                                                                                                                                             
Get:23 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 g++ amd64 4:9.3.0-1ubuntu2 [1,604 B]                                                                                                                                                                             
Get:24 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 make amd64 4.2.1-1.2 [162 kB]                                                                                                                                                                                    
Get:25 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 dpkg-dev all 1.19.7ubuntu3 [679 kB]                                                                                                                                                                              
Get:26 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 build-essential amd64 12.8ubuntu1.1 [4,664 B]                                                                                                                                                            
Get:27 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libfakeroot amd64 1.24-1 [25.7 kB]                                                                                                                                                                               
Get:28 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 fakeroot amd64 1.24-1 [62.6 kB]                                                                                                                                                                                  
Get:29 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libalgorithm-diff-perl all 1.19.03-2 [46.6 kB]                                                                                                                                                                   
Get:30 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libalgorithm-diff-xs-perl amd64 0.04-6 [11.3 kB]                                                                                                                                                                 
Get:31 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]                                                                                                                                                                     
Get:32 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libexpat1-dev amd64 2.2.9-1build1 [116 kB]                                                                                                                                                                       
Get:33 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8-dev amd64 3.8.5-1~20.04 [3,941 kB]                                                                                                                                                          
Get:34 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libpython3-dev amd64 3.8.2-0ubuntu2 [7,236 B]                                                                                                                                                                    
Get:35 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 manpages-dev all 5.05-1 [2,266 kB]                                                                                                                                                                               
Get:36 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 python-pip-whl all 20.0.2-5ubuntu1.1 [1,799 kB]                                                                                                                                                      
Get:37 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu1.2 [155 kB]                                                                                                                                                       
Get:38 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3.8-dev amd64 3.8.5-1~20.04 [514 kB]                                                                                                                                                               
Get:39 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-distutils all 3.8.5-1~20.04.1 [141 kB]                                                                                                                                                           
Get:40 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 python3-dev amd64 3.8.2-0ubuntu2 [1,212 B]                                                                                                                                                                       
Get:41 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 python3-setuptools all 45.2.0-1 [330 kB]                                                                                                                                                                         
Get:42 http://cn.archive.ubuntu.com/ubuntu focal/universe amd64 python3-wheel all 0.34.2-1 [23.8 kB]                                                                                                                                                                         
Get:43 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 python3-pip all 20.0.2-5ubuntu1.1 [230 kB]                                                                                                                                                           
Fetched 38.6 MB in 21s (1,868 kB/s)                                                                                                                                                                                                                                          
Extracting templates from packages: 100%
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 148223 files and directories currently installed.)
Preparing to unpack .../00-binutils-common_2.34-6ubuntu1.1_amd64.deb ...
Unpacking binutils-common:amd64 (2.34-6ubuntu1.1) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../01-libbinutils_2.34-6ubuntu1.1_amd64.deb ...
Unpacking libbinutils:amd64 (2.34-6ubuntu1.1) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../02-libctf-nobfd0_2.34-6ubuntu1.1_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.34-6ubuntu1.1) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../03-libctf0_2.34-6ubuntu1.1_amd64.deb ...
Unpacking libctf0:amd64 (2.34-6ubuntu1.1) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../04-binutils-x86-64-linux-gnu_2.34-6ubuntu1.1_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.34-6ubuntu1.1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../05-binutils_2.34-6ubuntu1.1_amd64.deb ...
Unpacking binutils (2.34-6ubuntu1.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../06-libc-dev-bin_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc-dev-bin (2.31-0ubuntu9.2) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../07-linux-libc-dev_5.4.0-65.73_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.4.0-65.73) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../08-libcrypt-dev_1%3a4.4.10-10ubuntu4_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../09-libc6-dev_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-0ubuntu9.2) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../10-libitm1_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libitm1:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../11-libatomic1_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libatomic1:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../12-libasan5_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking libasan5:amd64 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../13-liblsan0_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking liblsan0:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../14-libtsan0_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libtsan0:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../15-libubsan1_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libubsan1:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../16-libquadmath0_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libquadmath0:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libgcc-9-dev:amd64.
Preparing to unpack .../17-libgcc-9-dev_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package gcc-9.
Preparing to unpack .../18-gcc-9_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking gcc-9 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../19-gcc_4%3a9.3.0-1ubuntu2_amd64.deb ...
Unpacking gcc (4:9.3.0-1ubuntu2) ...
Selecting previously unselected package libstdc++-9-dev:amd64.
Preparing to unpack .../20-libstdc++-9-dev_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package g++-9.
Preparing to unpack .../21-g++-9_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking g++-9 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../22-g++_4%3a9.3.0-1ubuntu2_amd64.deb ...
Unpacking g++ (4:9.3.0-1ubuntu2) ...
Selecting previously unselected package make.
Preparing to unpack .../23-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../24-dpkg-dev_1.19.7ubuntu3_all.deb ...
Unpacking dpkg-dev (1.19.7ubuntu3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../25-build-essential_12.8ubuntu1.1_amd64.deb ...
Unpacking build-essential (12.8ubuntu1.1) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../26-libfakeroot_1.24-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.24-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../27-fakeroot_1.24-1_amd64.deb ...
Unpacking fakeroot (1.24-1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../28-libalgorithm-diff-perl_1.19.03-2_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-2) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../29-libalgorithm-diff-xs-perl_0.04-6_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-6) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../30-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../31-libexpat1-dev_2.2.9-1build1_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.2.9-1build1) ...
Selecting previously unselected package libpython3.8-dev:amd64.
Preparing to unpack .../32-libpython3.8-dev_3.8.5-1~20.04_amd64.deb ...
Unpacking libpython3.8-dev:amd64 (3.8.5-1~20.04) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../33-libpython3-dev_3.8.2-0ubuntu2_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.8.2-0ubuntu2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../34-manpages-dev_5.05-1_all.deb ...
Unpacking manpages-dev (5.05-1) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../35-python-pip-whl_20.0.2-5ubuntu1.1_all.deb ...
Unpacking python-pip-whl (20.0.2-5ubuntu1.1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../36-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.2) ...
Selecting previously unselected package python3.8-dev.
Preparing to unpack .../37-python3.8-dev_3.8.5-1~20.04_amd64.deb ...
Unpacking python3.8-dev (3.8.5-1~20.04) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../38-python3-distutils_3.8.5-1~20.04.1_all.deb ...
Unpacking python3-distutils (3.8.5-1~20.04.1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../39-python3-dev_3.8.2-0ubuntu2_amd64.deb ...
Unpacking python3-dev (3.8.2-0ubuntu2) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../40-python3-setuptools_45.2.0-1_all.deb ...
Unpacking python3-setuptools (45.2.0-1) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../41-python3-wheel_0.34.2-1_all.deb ...
Unpacking python3-wheel (0.34.2-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../42-python3-pip_20.0.2-5ubuntu1.1_all.deb ...
Unpacking python3-pip (20.0.2-5ubuntu1.1) ...
Setting up python3-distutils (3.8.5-1~20.04.1) ...
Setting up manpages-dev (5.05-1) ...
Setting up python3-setuptools (45.2.0-1) ...
Setting up libalgorithm-diff-perl (1.19.03-2) ...
Setting up binutils-common:amd64 (2.34-6ubuntu1.1) ...
Setting up linux-libc-dev:amd64 (5.4.0-65.73) ...
Setting up libctf-nobfd0:amd64 (2.34-6ubuntu1.1) ...
Setting up python3-wheel (0.34.2-1) ...
Setting up libfakeroot:amd64 (1.24-1) ...
Setting up fakeroot (1.24-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libasan5:amd64 (9.3.0-17ubuntu1~20.04) ...
Setting up make (4.2.1-1.2) ...
Setting up libquadmath0:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libatomic1:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libubsan1:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
Setting up python-pip-whl (20.0.2-5ubuntu1.1) ...
Setting up libbinutils:amd64 (2.34-6ubuntu1.1) ...
Setting up libc-dev-bin (2.31-0ubuntu9.2) ...
Setting up libalgorithm-diff-xs-perl (0.04-6) ...
Setting up liblsan0:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libitm1:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libtsan0:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libctf0:amd64 (2.34-6ubuntu1.1) ...
Setting up libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ...
Setting up python3-pip (20.0.2-5ubuntu1.1) ...
Setting up libc6-dev:amd64 (2.31-0ubuntu9.2) ...
Setting up binutils-x86-64-linux-gnu (2.34-6ubuntu1.1) ...
Setting up libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ...
Setting up binutils (2.34-6ubuntu1.1) ...
Setting up dpkg-dev (1.19.7ubuntu3) ...
Setting up libexpat1-dev:amd64 (2.2.9-1build1) ...
Setting up libpython3.8-dev:amd64 (3.8.5-1~20.04) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.2) ...
Setting up gcc-9 (9.3.0-17ubuntu1~20.04) ...
Setting up libpython3-dev:amd64 (3.8.2-0ubuntu2) ...
Setting up gcc (4:9.3.0-1ubuntu2) ...
Setting up g++-9 (9.3.0-17ubuntu1~20.04) ...
Setting up python3.8-dev (3.8.5-1~20.04) ...
Setting up g++ (4:9.3.0-1ubuntu2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.8ubuntu1.1) ...
Setting up python3-dev (3.8.2-0ubuntu2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 


运行如下命令,安装python模块setuptools。
pip3 install setuptools

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ pip3 install setuptools
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (45.2.0)
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 


安装GUI menuconfig工具(Kconfiglib),建议安装Kconfiglib 13.2.0+版本,命令行方式:
sudo pip3 install kconfiglib


7、安装文件打包工具:
打开Linux编译服务器终端。
运行如下命令,安装dosfstools。
sudo apt-get install dosfstools
运行如下命令,安装mtools。
sudo apt-get install mtools
运行如下命令,安装mtd-utils。
sudo apt-get install mtd-utils


rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ sudo apt-get install dosfstools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dosfstools is already the newest version (4.1-2).
dosfstools set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ sudo apt-get install mtools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mtools is already the newest version (4.0.24-1).
mtools set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ sudo apt-get install mtd-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  mtd-utils
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
Need to get 223 kB of archives.
After this operation, 1,307 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 mtd-utils amd64 1:2.1.1-1ubuntu1 [223 kB]
Fetched 223 kB in 12s (18.9 kB/s)                      
Selecting previously unselected package mtd-utils.
(Reading database ... 154327 files and directories currently installed.)
Preparing to unpack .../mtd-utils_1%3a2.1.1-1ubuntu1_amd64.deb ...
Unpacking mtd-utils (1:2.1.1-1ubuntu1) ...
Setting up mtd-utils (1:2.1.1-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/usr/bin$ 


8、安装samba并配置:
sudo apt-get install samba

sudo smbpasswd -a rootroot
(输入密码2次:rootroot)
New SMB password:
Retype new SMB password:

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
sudo gedit /etc/samba/smb.conf

(在最后面添加以下内容:)
[rootroot]
   comment = Root Directories
   path = /
   public = yes
   browseable = yes
   writable = yes
   valid users = rootroot

重启samba:
sudo /etc/init.d/smbd restart

获取当前电脑配置的IP地址:
sudo ifconfig

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ sudo apt-get install samba
[sudo] password for rootroot: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  attr ibverbs-providers libcephfs2 libibverbs1 librados2 librdmacm1 python3-crypto python3-dnspython python3-gpg python3-ldb python3-markdown python3-packaging python3-pygments python3-pyparsing python3-samba python3-tdb samba-common samba-common-bin
  samba-dsdb-modules samba-vfs-modules tdb-tools
Suggested packages:
  python-markdown-doc python-pygments-doc ttf-bitstream-vera python-pyparsing-doc bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools winbind heimdal-clients
The following NEW packages will be installed:
  attr ibverbs-providers libcephfs2 libibverbs1 librados2 librdmacm1 python3-crypto python3-dnspython python3-gpg python3-ldb python3-markdown python3-packaging python3-pygments python3-pyparsing python3-samba python3-tdb samba samba-common samba-common-bin
  samba-dsdb-modules samba-vfs-modules tdb-tools
0 upgraded, 22 newly installed, 0 to remove and 29 not upgraded.
Need to get 9,965 kB of archives.
After this operation, 66.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 python3-dnspython all 1.16.0-1build1 [89.1 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 python3-crypto amd64 2.6.1-13ubuntu2 [237 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-ldb amd64 2:2.0.10-0ubuntu0.20.04.2 [37.7 kB]                                                                                                                                                     
Get:4 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 python3-tdb amd64 1.4.2-3build1 [13.4 kB]                                                                                                                                                                         
Get:5 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-samba amd64 2:4.11.6+dfsg-0ubuntu1.6 [2,408 kB]                                                                                                                                                   
Get:6 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 samba-common all 2:4.11.6+dfsg-0ubuntu1.6 [69.2 kB]                                                                                                                                                       
Get:7 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 samba-common-bin amd64 2:4.11.6+dfsg-0ubuntu1.6 [521 kB]                                                                                                                                                  
Get:8 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 tdb-tools amd64 1.4.2-3build1 [24.9 kB]                                                                                                                                                                           
Get:9 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 samba amd64 2:4.11.6+dfsg-0ubuntu1.6 [971 kB]                                                                                                                                                             
Get:10 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 attr amd64 1:2.4.48-5 [21.9 kB]                                                                                                                                                                                  
Get:11 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libibverbs1 amd64 28.0-1ubuntu1 [53.6 kB]                                                                                                                                                                        
Get:12 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 ibverbs-providers amd64 28.0-1ubuntu1 [232 kB]                                                                                                                                                                   
Get:13 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 librdmacm1 amd64 28.0-1ubuntu1 [64.9 kB]                                                                                                                                                                         
Get:14 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 librados2 amd64 15.2.7-0ubuntu0.20.04.2 [3,204 kB]                                                                                                                                                       
Get:15 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcephfs2 amd64 15.2.7-0ubuntu0.20.04.2 [468 kB]                                                                                                                                                        
Get:16 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 python3-gpg amd64 1.13.1-7ubuntu2 [165 kB]                                                                                                                                                                       
Get:17 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 python3-pyparsing all 2.4.6-1 [61.3 kB]                                                                                                                                                                          
Get:18 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 python3-packaging all 20.3-1 [26.8 kB]                                                                                                                                                                           
Get:19 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 python3-markdown all 3.1.1-3 [59.3 kB]                                                                                                                                                                           
Get:20 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 python3-pygments all 2.3.1+dfsg-1ubuntu2 [579 kB]                                                                                                                                                                
Get:21 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 samba-dsdb-modules amd64 2:4.11.6+dfsg-0ubuntu1.6 [290 kB]                                                                                                                                               
Get:22 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 samba-vfs-modules amd64 2:4.11.6+dfsg-0ubuntu1.6 [366 kB]                                                                                                                                                
Fetched 9,965 kB in 14s (713 kB/s)                                                                                                                                                                                                                                           
Preconfiguring packages ...
Selecting previously unselected package python3-dnspython.
(Reading database ... 154376 files and directories currently installed.)
Preparing to unpack .../00-python3-dnspython_1.16.0-1build1_all.deb ...
Unpacking python3-dnspython (1.16.0-1build1) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../01-python3-crypto_2.6.1-13ubuntu2_amd64.deb ...
Unpacking python3-crypto (2.6.1-13ubuntu2) ...
Selecting previously unselected package python3-ldb.
Preparing to unpack .../02-python3-ldb_2%3a2.0.10-0ubuntu0.20.04.2_amd64.deb ...
Unpacking python3-ldb (2:2.0.10-0ubuntu0.20.04.2) ...
Selecting previously unselected package python3-tdb.
Preparing to unpack .../03-python3-tdb_1.4.2-3build1_amd64.deb ...
Unpacking python3-tdb (1.4.2-3build1) ...
Selecting previously unselected package python3-samba.
Preparing to unpack .../04-python3-samba_2%3a4.11.6+dfsg-0ubuntu1.6_amd64.deb ...
Unpacking python3-samba (2:4.11.6+dfsg-0ubuntu1.6) ...
Selecting previously unselected package samba-common.
Preparing to unpack .../05-samba-common_2%3a4.11.6+dfsg-0ubuntu1.6_all.deb ...
Unpacking samba-common (2:4.11.6+dfsg-0ubuntu1.6) ...
Selecting previously unselected package samba-common-bin.
Preparing to unpack .../06-samba-common-bin_2%3a4.11.6+dfsg-0ubuntu1.6_amd64.deb ...
Unpacking samba-common-bin (2:4.11.6+dfsg-0ubuntu1.6) ...
Selecting previously unselected package tdb-tools.
Preparing to unpack .../07-tdb-tools_1.4.2-3build1_amd64.deb ...
Unpacking tdb-tools (1.4.2-3build1) ...
Selecting previously unselected package samba.
Preparing to unpack .../08-samba_2%3a4.11.6+dfsg-0ubuntu1.6_amd64.deb ...
Unpacking samba (2:4.11.6+dfsg-0ubuntu1.6) ...
Selecting previously unselected package attr.
Preparing to unpack .../09-attr_1%3a2.4.48-5_amd64.deb ...
Unpacking attr (1:2.4.48-5) ...
Selecting previously unselected package libibverbs1:amd64.
Preparing to unpack .../10-libibverbs1_28.0-1ubuntu1_amd64.deb ...
Unpacking libibverbs1:amd64 (28.0-1ubuntu1) ...
Selecting previously unselected package ibverbs-providers:amd64.
Preparing to unpack .../11-ibverbs-providers_28.0-1ubuntu1_amd64.deb ...
Unpacking ibverbs-providers:amd64 (28.0-1ubuntu1) ...
Selecting previously unselected package librdmacm1:amd64.
Preparing to unpack .../12-librdmacm1_28.0-1ubuntu1_amd64.deb ...
Unpacking librdmacm1:amd64 (28.0-1ubuntu1) ...
Selecting previously unselected package librados2.
Preparing to unpack .../13-librados2_15.2.7-0ubuntu0.20.04.2_amd64.deb ...
Unpacking librados2 (15.2.7-0ubuntu0.20.04.2) ...
Selecting previously unselected package libcephfs2.
Preparing to unpack .../14-libcephfs2_15.2.7-0ubuntu0.20.04.2_amd64.deb ...
Unpacking libcephfs2 (15.2.7-0ubuntu0.20.04.2) ...
Selecting previously unselected package python3-gpg.
Preparing to unpack .../15-python3-gpg_1.13.1-7ubuntu2_amd64.deb ...
Unpacking python3-gpg (1.13.1-7ubuntu2) ...
Selecting previously unselected package python3-pyparsing.
Preparing to unpack .../16-python3-pyparsing_2.4.6-1_all.deb ...
Unpacking python3-pyparsing (2.4.6-1) ...
Selecting previously unselected package python3-packaging.
Preparing to unpack .../17-python3-packaging_20.3-1_all.deb ...
Unpacking python3-packaging (20.3-1) ...
Selecting previously unselected package python3-markdown.
Preparing to unpack .../18-python3-markdown_3.1.1-3_all.deb ...
Unpacking python3-markdown (3.1.1-3) ...
Selecting previously unselected package python3-pygments.
Preparing to unpack .../19-python3-pygments_2.3.1+dfsg-1ubuntu2_all.deb ...
Unpacking python3-pygments (2.3.1+dfsg-1ubuntu2) ...
Selecting previously unselected package samba-dsdb-modules:amd64.
Preparing to unpack .../20-samba-dsdb-modules_2%3a4.11.6+dfsg-0ubuntu1.6_amd64.deb ...
Unpacking samba-dsdb-modules:amd64 (2:4.11.6+dfsg-0ubuntu1.6) ...
Selecting previously unselected package samba-vfs-modules:amd64.
Preparing to unpack .../21-samba-vfs-modules_2%3a4.11.6+dfsg-0ubuntu1.6_amd64.deb ...
Unpacking samba-vfs-modules:amd64 (2:4.11.6+dfsg-0ubuntu1.6) ...
Setting up libibverbs1:amd64 (28.0-1ubuntu1) ...
Setting up ibverbs-providers:amd64 (28.0-1ubuntu1) ...
Setting up attr (1:2.4.48-5) ...
Setting up samba-vfs-modules:amd64 (2:4.11.6+dfsg-0ubuntu1.6) ...
Setting up samba-common (2:4.11.6+dfsg-0ubuntu1.6) ...

Creating config file /etc/samba/smb.conf with new version
Setting up python3-tdb (1.4.2-3build1) ...
Setting up python3-pygments (2.3.1+dfsg-1ubuntu2) ...
Setting up python3-pyparsing (2.4.6-1) ...
Setting up python3-gpg (1.13.1-7ubuntu2) ...
Setting up tdb-tools (1.4.2-3build1) ...
update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode
Setting up python3-ldb (2:2.0.10-0ubuntu0.20.04.2) ...
Setting up python3-dnspython (1.16.0-1build1) ...
Setting up python3-crypto (2.6.1-13ubuntu2) ...
Setting up samba-dsdb-modules:amd64 (2:4.11.6+dfsg-0ubuntu1.6) ...
Setting up python3-samba (2:4.11.6+dfsg-0ubuntu1.6) ...
Setting up librdmacm1:amd64 (28.0-1ubuntu1) ...
Setting up librados2 (15.2.7-0ubuntu0.20.04.2) ...
Setting up libcephfs2 (15.2.7-0ubuntu0.20.04.2) ...
Setting up python3-packaging (20.3-1) ...
Setting up python3-markdown (3.1.1-3) ...
Setting up samba-common-bin (2:4.11.6+dfsg-0ubuntu1.6) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
WARNING: The 'netbios name' is too long (max. 15 chars).

Server role: ROLE_STANDALONE

Done
Setting up samba (2:4.11.6+dfsg-0ubuntu1.6) ...
Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service
Please ignore the following error about deb-systemd-helper not finding those services.
(samba-ad-dc.service masked)
Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
samba-ad-dc.service is a disabled or a static unit, not starting it.
Processing triggers for ufw (0.36-6) ...
Processing triggers for systemd (245.4-4ubuntu3.4) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 


在windows下,下载并安装WinSCP-5.17.10-Setup.exe,通过SCP模式修改smb.conf并回传。
熟悉VI的同学,可以在XShell中通过VI来修改smb.conf了。
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ sudo smbpasswd -a rootroot
New SMB password:
Retype new SMB password:
Added user rootroot.
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ cd /etc/samba/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ ll
total 36
drwxr-xr-x   3 root root  4096 2月  20 19:03 ./
drwxr-xr-x 131 root root 12288 2月  20 19:03 ../
-rw-r--r--   1 root root     8 10月 16 18:48 gdbcommands
-rw-r--r--   1 root root  8942 2月  20 19:03 smb.conf
drwxr-xr-x   2 root root  4096 10月 16 18:48 tls/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ sudo cp smb.conf smb.conf.bak1
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ sudo cp smb.conf ~
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ ll
total 48
drwxr-xr-x   3 root root  4096 2月  20 19:07 ./
drwxr-xr-x 131 root root 12288 2月  20 19:03 ../
-rw-r--r--   1 root root     8 10月 16 18:48 gdbcommands
-rw-r--r--   1 root root  8942 2月  20 19:03 smb.conf
-rw-r--r--   1 root root  8942 2月  20 19:07 smb.conf.bak1
drwxr-xr-x   2 root root  4096 10月 16 18:48 tls/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ cd ~
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ ll
total 88
drwxr-xr-x 15 rootroot rootroot 4096 2月  20 19:07 ./
drwxr-xr-x  4 root     root     4096 2月  20 17:21 ../
-rw-r--r--  1 rootroot rootroot  220 2月  20 17:21 .bash_logout
-rw-r--r--  1 rootroot rootroot 3771 2月  20 17:21 .bashrc
drwx------ 12 rootroot rootroot 4096 2月  20 18:23 .cache/
drwx------ 12 rootroot rootroot 4096 2月  20 17:45 .config/
drwxr-xr-x  2 rootroot rootroot 4096 2月  21  2021 Desktop/
drwxr-xr-x  2 rootroot rootroot 4096 2月  21  2021 Documents/
drwxr-xr-x  2 rootroot rootroot 4096 2月  21  2021 Downloads/
drwx------  3 rootroot rootroot 4096 2月  20 17:40 .gnupg/
drwx------  4 rootroot rootroot 4096 2月  20 18:23 .local/
drwxr-xr-x  2 rootroot rootroot 4096 2月  21  2021 Music/
drwxr-xr-x  2 rootroot rootroot 4096 2月  20 18:25 Pictures/
-rw-r--r--  1 rootroot rootroot  807 2月  20 17:21 .profile
drwxr-xr-x  2 rootroot rootroot 4096 2月  21  2021 Public/
-rw-r--r--  1 root     root     8942 2月  20 19:07 smb.conf
drwx------  2 rootroot rootroot 4096 2月  20 17:40 .ssh/
-rw-r--r--  1 rootroot rootroot    0 2月  20 17:42 .sudo_as_admin_successful
drwxr-xr-x  2 rootroot rootroot 4096 2月  21  2021 Templates/
drwxr-xr-x  2 rootroot rootroot 4096 2月  21  2021 Videos/
-rw-------  1 rootroot rootroot   77 2月  20 17:58 .Xauthority
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ sudo chmod 777 smb.conf 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ sudo cp smb.conf /etc/sa
samba/  sane.d/ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ sudo cp smb.conf /etc/samba/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ cd /etc/samba/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ ll
total 48
drwxr-xr-x   3 root root  4096 2月  20 19:07 ./
drwxr-xr-x 131 root root 12288 2月  20 19:03 ../
-rw-r--r--   1 root root     8 10月 16 18:48 gdbcommands
-rw-r--r--   1 root root  9077 2月  20 19:09 smb.conf
-rw-r--r--   1 root root  8942 2月  20 19:07 smb.conf.bak1
drwxr-xr-x   2 root root  4096 10月 16 18:48 tls/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ diff smb.conf smb.conf.bak1 
243,251d242

< [rootroot]
<    comment = Root Directories
<    path = /
<    public = yes
<    browseable = yes
<    writable = yes
<    valid users = rootroot

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ sudo /etc/init.d/smbd restart
Restarting smbd (via systemctl): smbd.service.
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:/etc/samba$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ ps -e | grep smb
  14617 ?        00:00:00 smbd
  14620 ?        00:00:00 smbd-notifyd
  14631 ?        00:00:00 smbd
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 


9、下载安装编译鸿蒙系统所必须的软件:
下载:
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ wget https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz
--2021-02-22 10:18:49--  https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz
Resolving www.python.org (www.python.org)... 151.101.228.223, 2a04:4e42:36::223
Connecting to www.python.org (www.python.org)|151.101.228.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24149103 (23M) [application/octet-stream]
Saving to: ‘Python-3.8.5.tgz’

Python-3.8.5.tgz                                                    100%[=================================================================================================================================================================>]  23.03M  2.70MB/s    in 3m 38s  

2021-02-22 10:22:48 (108 KB/s) - ‘Python-3.8.5.tgz’ saved [24149103/24149103]

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ wget https://repo.huaweicloud.com/harmonyos/compiler/gn/1523/linux/gn.1523.tar
--2021-02-22 10:25:25--  https://repo.huaweicloud.com/harmonyos/compiler/gn/1523/linux/gn.1523.tar
Resolving repo.huaweicloud.com (repo.huaweicloud.com)... 14.21.76.73
Connecting to repo.huaweicloud.com (repo.huaweicloud.com)|14.21.76.73|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2068480 (2.0M) [application/octet-stream]
Saving to: ‘gn.1523.tar’

gn.1523.tar                                                         100%[=================================================================================================================================================================>]   1.97M  11.1MB/s    in 0.2s    

2021-02-22 10:25:40 (11.1 MB/s) - ‘gn.1523.tar’ saved [2068480/2068480]

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ wget https://repo.huaweicloud.com/harmonyos/compiler/ninja/1.9.0/linux/ninja.1.9.0.tar
--2021-02-22 10:25:51--  https://repo.huaweicloud.com/harmonyos/compiler/ninja/1.9.0/linux/ninja.1.9.0.tar
Resolving repo.huaweicloud.com (repo.huaweicloud.com)... 14.21.76.73
Connecting to repo.huaweicloud.com (repo.huaweicloud.com)|14.21.76.73|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3512320 (3.3M) [application/octet-stream]
Saving to: ‘ninja.1.9.0.tar’

ninja.1.9.0.tar                                                     100%[=================================================================================================================================================================>]   3.35M  9.93MB/s    in 0.3s    

2021-02-22 10:26:07 (9.93 MB/s) - ‘ninja.1.9.0.tar’ saved [3512320/3512320]

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ wget https://repo.huaweicloud.com/harmonyos/compiler/clang/9.0.0-34042/linux/llvm-linux-9.0.0-34042.tar
--2021-02-22 10:26:21--  https://repo.huaweicloud.com/harmonyos/compiler/clang/9.0.0-34042/linux/llvm-linux-9.0.0-34042.tar
Resolving repo.huaweicloud.com (repo.huaweicloud.com)... 14.21.76.73
Connecting to repo.huaweicloud.com (repo.huaweicloud.com)|14.21.76.73|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 759541760 (724M) [application/octet-stream]
Saving to: ‘llvm-linux-9.0.0-34042.tar’

llvm-linux-9.0.0-34042.tar                                          100%[=================================================================================================================================================================>] 724.36M  10.9MB/s    in 67s     

2021-02-22 10:27:44 (10.7 MB/s) - ‘llvm-linux-9.0.0-34042.tar’ saved [759541760/759541760]

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ wget https://repo.huaweicloud.com/harmonyos/compiler/hc-gen/0.65/linux/hc-gen-0.65-linux.tar
--2021-02-22 10:28:07--  https://repo.huaweicloud.com/harmonyos/compiler/hc-gen/0.65/linux/hc-gen-0.65-linux.tar
Resolving repo.huaweicloud.com (repo.huaweicloud.com)... 14.21.76.73
Connecting to repo.huaweicloud.com (repo.huaweicloud.com)|14.21.76.73|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 112640 (110K) [application/octet-stream]
Saving to: ‘hc-gen-0.65-linux.tar’

hc-gen-0.65-linux.tar                                               100%[=================================================================================================================================================================>] 110.00K  --.-KB/s    in 0.01s   

2021-02-22 10:28:22 (10.7 MB/s) - ‘hc-gen-0.65-linux.tar’ saved [112640/112640]

rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ wget https://www.putty.org/
--2021-02-22 10:30:11--  https://www.putty.org/
Resolving www.putty.org (www.putty.org)... 13.226.124.117, 13.226.124.87, 13.226.124.11, ...
Connecting to www.putty.org (www.putty.org)|13.226.124.117|:443... connected.
^C
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 


安装:
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ ll
total 770900
drwxrwxr-x  2 rootroot rootroot      4096 2月  22 10:28 ./
drwxr-xr-x 16 rootroot rootroot      4096 2月  22 10:22 ../
-rw-rw-r--  1 rootroot rootroot   2068480 9月   2 20:35 gn.1523.tar
-rw-rw-r--  1 rootroot rootroot    112640 9月   7 17:31 hc-gen-0.65-linux.tar
-rw-rw-r--  1 rootroot rootroot 759541760 9月   2 20:34 llvm-linux-9.0.0-34042.tar
-rw-rw-r--  1 rootroot rootroot   3512320 9月   2 20:51 ninja.1.9.0.tar
-rw-rw-r--  1 rootroot rootroot  24149103 7月  20  2020 Python-3.8.5.tgz
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ tar xvf gn.1523.tar -c ~/
tar: You may not specify more than one '-Acdtrux', '--delete' or  '--test-label' option
Try 'tar --help' or 'tar --usage' for more information.
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ tar xvf gn.1523.tar -C ~/
gn/
gn/LICENCE
gn/gn
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ tar xvf ninja.1.9.0.tar -C ~
ninja/
ninja/ninja
ninja/COPYING
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ tar xvf llvm-linux-9.0.0-34042.tar -C ~
llvm/
llvm/lib/
llvm/lib/libRemarks.so.9
llvm/lib/libunwind.so
llvm/lib/liblldb.so.9.0.0
llvm/lib/CheckerOptionHandlingAnalyzerPlugin.so
llvm/lib/libc++.so.1
llvm/lib/aarch64-linux-ohos/
llvm/lib/aarch64-linux-ohos/c++/
llvm/lib/aarch64-linux-ohos/c++/libc++abi.a
llvm/lib/aarch64-linux-ohos/c++/libunwind.a
llvm/lib/aarch64-linux-ohos/c++/libc++.so
llvm/lib/aarch64-linux-ohos/c++/libc++.a
llvm/lib/libLLVM-9.0.0.so
llvm/lib/libLTO.so
llvm/lib/libclang.so.9
llvm/lib/arm-linux-ohos/
llvm/lib/arm-linux-ohos/c++/
llvm/lib/arm-linux-ohos/c++/libc++abi.a
llvm/lib/arm-linux-ohos/c++/libunwind.a
llvm/lib/arm-linux-ohos/c++/libc++.so
llvm/lib/arm-linux-ohos/c++/libc++.a
llvm/lib/libc++.so.1.0
llvm/lib/SampleAnalyzerPlugin.so
llvm/lib/CheckerDependencyHandlingAnalyzerPlugin.so
llvm/lib/libclang-cpp.so
llvm/lib/liblldb.so.9
llvm/lib/libc++.so
llvm/lib/libclang.so
llvm/lib/x86_64-linux-ohos/
llvm/lib/x86_64-linux-ohos/c++/
llvm/lib/x86_64-linux-ohos/c++/libc++abi.a
llvm/lib/x86_64-linux-ohos/c++/libunwind.a
llvm/lib/x86_64-linux-ohos/c++/libc++.so
llvm/lib/x86_64-linux-ohos/c++/libc++.a
llvm/lib/libLTO.so.9
llvm/lib/libc++abi.so
llvm/lib/libomptarget.so
llvm/lib/liblldb.so
llvm/lib/clang/
llvm/lib/clang/9.0.0/
llvm/lib/clang/9.0.0/lib/
llvm/lib/clang/9.0.0/lib/aarch64-linux-ohos/
llvm/lib/clang/9.0.0/lib/aarch64-linux-ohos/libomp.a
llvm/lib/clang/9.0.0/lib/aarch64-linux-ohos/libunwind.a
llvm/lib/clang/9.0.0/lib/aarch64-linux-ohos/clang_rt.crtend.o
llvm/lib/clang/9.0.0/lib/aarch64-linux-ohos/libclang_rt.builtins.a
llvm/lib/clang/9.0.0/lib/aarch64-linux-ohos/libclang_rt.profile.a
llvm/lib/clang/9.0.0/lib/aarch64-linux-ohos/clang_rt.crtbegin.o
llvm/lib/clang/9.0.0/lib/arm-linux-ohos/
llvm/lib/clang/9.0.0/lib/arm-linux-ohos/libomp.a
llvm/lib/clang/9.0.0/lib/arm-linux-ohos/libunwind.a
llvm/lib/clang/9.0.0/lib/arm-linux-ohos/clang_rt.crtend.o
llvm/lib/clang/9.0.0/lib/arm-linux-ohos/libclang_rt.builtins.a
llvm/lib/clang/9.0.0/lib/arm-linux-ohos/libclang_rt.profile.a
llvm/lib/clang/9.0.0/lib/arm-linux-ohos/clang_rt.crtbegin.o
llvm/lib/clang/9.0.0/lib/x86_64-linux-ohos/
llvm/lib/clang/9.0.0/lib/x86_64-linux-ohos/libomp.a
llvm/lib/clang/9.0.0/lib/x86_64-linux-ohos/libunwind.a
llvm/lib/clang/9.0.0/lib/x86_64-linux-ohos/clang_rt.crtend.o
llvm/lib/clang/9.0.0/lib/x86_64-linux-ohos/libclang_rt.builtins.a
llvm/lib/clang/9.0.0/lib/x86_64-linux-ohos/libclang_rt.profile.a
llvm/lib/clang/9.0.0/lib/x86_64-linux-ohos/clang_rt.crtbegin.o
llvm/lib/clang/9.0.0/lib/arm-liteos/
llvm/lib/clang/9.0.0/lib/arm-liteos/libunwind.a
llvm/lib/clang/9.0.0/lib/arm-liteos/clang_rt.crtend.o
llvm/lib/clang/9.0.0/lib/arm-liteos/libclang_rt.builtins.a
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_hard_neon-vfpv4/
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_hard_neon-vfpv4/libunwind.a
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_hard_neon-vfpv4/clang_rt.crtend.o
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_hard_neon-vfpv4/libclang_rt.builtins.a
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_hard_neon-vfpv4/libclang_rt.profile.a
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_hard_neon-vfpv4/clang_rt.crtbegin.o
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_softfp_neon-vfpv4/
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_softfp_neon-vfpv4/libunwind.a
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_softfp_neon-vfpv4/clang_rt.crtend.o
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_softfp_neon-vfpv4/libclang_rt.builtins.a
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_softfp_neon-vfpv4/libclang_rt.profile.a
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_softfp_neon-vfpv4/clang_rt.crtbegin.o
llvm/lib/clang/9.0.0/lib/arm-liteos/libclang_rt.profile.a
llvm/lib/clang/9.0.0/lib/arm-liteos/clang_rt.crtbegin.o
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_soft/
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_soft/libunwind.a
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_soft/clang_rt.crtend.o
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_soft/libclang_rt.builtins.a
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_soft/libclang_rt.profile.a
llvm/lib/clang/9.0.0/lib/arm-liteos/a7_soft/clang_rt.crtbegin.o
llvm/lib/clang/9.0.0/lib/riscv32-liteos/
llvm/lib/clang/9.0.0/lib/riscv32-liteos/libclang_rt.builtins.a
llvm/lib/clang/9.0.0/include/
llvm/lib/clang/9.0.0/include/__clang_cuda_intrinsics.h
llvm/lib/clang/9.0.0/include/avx512vbmivlintrin.h
llvm/lib/clang/9.0.0/include/avx512pfintrin.h
llvm/lib/clang/9.0.0/include/xsaveintrin.h
llvm/lib/clang/9.0.0/include/sgxintrin.h
llvm/lib/clang/9.0.0/include/avxintrin.h
llvm/lib/clang/9.0.0/include/arm_acle.h
llvm/lib/clang/9.0.0/include/ppc_wrappers/
llvm/lib/clang/9.0.0/include/ppc_wrappers/emmintrin.h
llvm/lib/clang/9.0.0/include/ppc_wrappers/mm_malloc.h
llvm/lib/clang/9.0.0/include/ppc_wrappers/mmintrin.h
llvm/lib/clang/9.0.0/include/ppc_wrappers/xmmintrin.h
llvm/lib/clang/9.0.0/include/fma4intrin.h
llvm/lib/clang/9.0.0/include/altivec.h
llvm/lib/clang/9.0.0/include/popcntintrin.h
llvm/lib/clang/9.0.0/include/omp.h
llvm/lib/clang/9.0.0/include/avx512fintrin.h
llvm/lib/clang/9.0.0/include/immintrin.h
llvm/lib/clang/9.0.0/include/avx512vlbwintrin.h
llvm/lib/clang/9.0.0/include/pkuintrin.h
llvm/lib/clang/9.0.0/include/vecintrin.h
llvm/lib/clang/9.0.0/include/tgmath.h
llvm/lib/clang/9.0.0/include/avx512dqintrin.h
llvm/lib/clang/9.0.0/include/avx512vldqintrin.h
llvm/lib/clang/9.0.0/include/emmintrin.h
llvm/lib/clang/9.0.0/include/mm_malloc.h
llvm/lib/clang/9.0.0/include/avx512ifmaintrin.h
llvm/lib/clang/9.0.0/include/nmmintrin.h
llvm/lib/clang/9.0.0/include/avx512vbmi2intrin.h
llvm/lib/clang/9.0.0/include/avx2intrin.h
llvm/lib/clang/9.0.0/include/__clang_cuda_runtime_wrapper.h
llvm/lib/clang/9.0.0/include/s390intrin.h
llvm/lib/clang/9.0.0/include/msa.h
llvm/lib/clang/9.0.0/include/stdint.h
llvm/lib/clang/9.0.0/include/wbnoinvdintrin.h
llvm/lib/clang/9.0.0/include/vaesintrin.h
llvm/lib/clang/9.0.0/include/xsavesintrin.h
llvm/lib/clang/9.0.0/include/stdalign.h
llvm/lib/clang/9.0.0/include/prfchwintrin.h
llvm/lib/clang/9.0.0/include/vpclmulqdqintrin.h
llvm/lib/clang/9.0.0/include/mwaitxintrin.h
llvm/lib/clang/9.0.0/include/avx512cdintrin.h
llvm/lib/clang/9.0.0/include/limits.h
llvm/lib/clang/9.0.0/include/xsavecintrin.h
llvm/lib/clang/9.0.0/include/__clang_cuda_cmath.h
llvm/lib/clang/9.0.0/include/clflushoptintrin.h
llvm/lib/clang/9.0.0/include/opencl-c-base.h
llvm/lib/clang/9.0.0/include/mm3dnow.h
llvm/lib/clang/9.0.0/include/cetintrin.h
llvm/lib/clang/9.0.0/include/armintr.h
llvm/lib/clang/9.0.0/include/avx512vlcdintrin.h
llvm/lib/clang/9.0.0/include/__stddef_max_align_t.h
llvm/lib/clang/9.0.0/include/invpcidintrin.h
llvm/lib/clang/9.0.0/include/htmintrin.h
llvm/lib/clang/9.0.0/include/ompt.h
llvm/lib/clang/9.0.0/include/htmxlintrin.h
llvm/lib/clang/9.0.0/include/module.modulemap
llvm/lib/clang/9.0.0/include/avx512vlvp2intersectintrin.h
llvm/lib/clang/9.0.0/include/__wmmintrin_aes.h
llvm/lib/clang/9.0.0/include/__clang_cuda_math_forward_declares.h
llvm/lib/clang/9.0.0/include/tmmintrin.h
llvm/lib/clang/9.0.0/include/stdnoreturn.h
llvm/lib/clang/9.0.0/include/__clang_cuda_complex_builtins.h
llvm/lib/clang/9.0.0/include/avx512ifmavlintrin.h
llvm/lib/clang/9.0.0/include/ptwriteintrin.h
llvm/lib/clang/9.0.0/include/gfniintrin.h
llvm/lib/clang/9.0.0/include/__clang_cuda_builtin_vars.h
llvm/lib/clang/9.0.0/include/xtestintrin.h
llvm/lib/clang/9.0.0/include/pconfigintrin.h
llvm/lib/clang/9.0.0/include/float.h
llvm/lib/clang/9.0.0/include/openmp_wrappers/
llvm/lib/clang/9.0.0/include/openmp_wrappers/cmath
llvm/lib/clang/9.0.0/include/openmp_wrappers/__clang_openmp_math.h
llvm/lib/clang/9.0.0/include/openmp_wrappers/math.h
llvm/lib/clang/9.0.0/include/openmp_wrappers/__clang_openmp_math_declares.h
llvm/lib/clang/9.0.0/include/arm64intr.h
llvm/lib/clang/9.0.0/include/mmintrin.h
llvm/lib/clang/9.0.0/include/fxsrintrin.h
llvm/lib/clang/9.0.0/include/smmintrin.h
llvm/lib/clang/9.0.0/include/movdirintrin.h
llvm/lib/clang/9.0.0/include/cuda_wrappers/
llvm/lib/clang/9.0.0/include/cuda_wrappers/complex
llvm/lib/clang/9.0.0/include/cuda_wrappers/new
llvm/lib/clang/9.0.0/include/cuda_wrappers/algorithm
llvm/lib/clang/9.0.0/include/xopintrin.h
llvm/lib/clang/9.0.0/include/clzerointrin.h
llvm/lib/clang/9.0.0/include/lzcntintrin.h
llvm/lib/clang/9.0.0/include/fmaintrin.h
llvm/lib/clang/9.0.0/include/iso646.h
llvm/lib/clang/9.0.0/include/xmmintrin.h
llvm/lib/clang/9.0.0/include/avx512bf16intrin.h
llvm/lib/clang/9.0.0/include/__wmmintrin_pclmul.h
llvm/lib/clang/9.0.0/include/xsaveoptintrin.h
llvm/lib/clang/9.0.0/include/stdarg.h
llvm/lib/clang/9.0.0/include/__clang_cuda_libdevice_declares.h
llvm/lib/clang/9.0.0/include/inttypes.h
llvm/lib/clang/9.0.0/include/waitpkgintrin.h
llvm/lib/clang/9.0.0/include/varargs.h
llvm/lib/clang/9.0.0/include/adxintrin.h
llvm/lib/clang/9.0.0/include/avx512erintrin.h
llvm/lib/clang/9.0.0/include/omp-tools.h
llvm/lib/clang/9.0.0/include/avx512vbmiintrin.h
llvm/lib/clang/9.0.0/include/avx512vlvnniintrin.h
llvm/lib/clang/9.0.0/include/avx512vlintrin.h
llvm/lib/clang/9.0.0/include/arm_fp16.h
llvm/lib/clang/9.0.0/include/enqcmdintrin.h
llvm/lib/clang/9.0.0/include/wmmintrin.h
llvm/lib/clang/9.0.0/include/unwind.h
llvm/lib/clang/9.0.0/include/avx512vpopcntdqvlintrin.h
llvm/lib/clang/9.0.0/include/avx512vp2intersectintrin.h
llvm/lib/clang/9.0.0/include/stdbool.h
llvm/lib/clang/9.0.0/include/__clang_cuda_device_functions.h
llvm/lib/clang/9.0.0/include/rdseedintrin.h
llvm/lib/clang/9.0.0/include/avx512vpopcntdqintrin.h
llvm/lib/clang/9.0.0/include/arm_neon.h
llvm/lib/clang/9.0.0/include/avx512bwintrin.h
llvm/lib/clang/9.0.0/include/vadefs.h
llvm/lib/clang/9.0.0/include/avx512vlvbmi2intrin.h
llvm/lib/clang/9.0.0/include/ia32intrin.h
llvm/lib/clang/9.0.0/include/lwpintrin.h
llvm/lib/clang/9.0.0/include/rtmintrin.h
llvm/lib/clang/9.0.0/include/opencl-c.h
llvm/lib/clang/9.0.0/include/x86intrin.h
llvm/lib/clang/9.0.0/include/avx512bitalgintrin.h
llvm/lib/clang/9.0.0/include/stddef.h
llvm/lib/clang/9.0.0/include/bmiintrin.h
llvm/lib/clang/9.0.0/include/ammintrin.h
llvm/lib/clang/9.0.0/include/clwbintrin.h
llvm/lib/clang/9.0.0/include/avx512vlbitalgintrin.h
llvm/lib/clang/9.0.0/include/f16cintrin.h
llvm/lib/clang/9.0.0/include/pmmintrin.h
llvm/lib/clang/9.0.0/include/avx512vnniintrin.h
llvm/lib/clang/9.0.0/include/cpuid.h
llvm/lib/clang/9.0.0/include/tbmintrin.h
llvm/lib/clang/9.0.0/include/avx512vlbf16intrin.h
llvm/lib/clang/9.0.0/include/cldemoteintrin.h
llvm/lib/clang/9.0.0/include/intrin.h
llvm/lib/clang/9.0.0/include/bmi2intrin.h
llvm/lib/clang/9.0.0/include/shaintrin.h
llvm/lib/clang/9.0.0/include/stdatomic.h
llvm/lib/clang/9.0.0/bin/
llvm/lib/clang/9.0.0/bin/aarch64-linux-ohos/
llvm/lib/clang/9.0.0/bin/aarch64-linux-ohos/lldb-server
llvm/lib/clang/9.0.0/bin/arm-linux-ohos/
llvm/lib/clang/9.0.0/bin/arm-linux-ohos/lldb-server
llvm/lib/clang/9.0.0/bin/x86_64-linux-ohos/
llvm/lib/clang/9.0.0/bin/x86_64-linux-ohos/lldb-server
llvm/lib/libunwind.so.1.0
llvm/lib/CheckApi.so
llvm/lib/libunwind.so.1
llvm/lib/libclang-cpp.so.9
llvm/lib/arm-liteos/
llvm/lib/arm-liteos/c++/
llvm/lib/arm-liteos/c++/libc++abi.a
llvm/lib/arm-liteos/c++/libunwind.a
llvm/lib/arm-liteos/c++/libc++.so
llvm/lib/arm-liteos/c++/a7_hard_neon-vfpv4/
llvm/lib/arm-liteos/c++/a7_hard_neon-vfpv4/libc++abi.a
llvm/lib/arm-liteos/c++/a7_hard_neon-vfpv4/libunwind.a
llvm/lib/arm-liteos/c++/a7_hard_neon-vfpv4/libc++.so
llvm/lib/arm-liteos/c++/a7_hard_neon-vfpv4/libc++.a
llvm/lib/arm-liteos/c++/a7_softfp_neon-vfpv4/
llvm/lib/arm-liteos/c++/a7_softfp_neon-vfpv4/libc++abi.a
llvm/lib/arm-liteos/c++/a7_softfp_neon-vfpv4/libunwind.a
llvm/lib/arm-liteos/c++/a7_softfp_neon-vfpv4/libc++.so
llvm/lib/arm-liteos/c++/a7_softfp_neon-vfpv4/libc++.a
llvm/lib/arm-liteos/c++/a7_soft/
llvm/lib/arm-liteos/c++/a7_soft/libc++abi.a
llvm/lib/arm-liteos/c++/a7_soft/libunwind.a
llvm/lib/arm-liteos/c++/a7_soft/libc++.so
llvm/lib/arm-liteos/c++/a7_soft/libc++.a
llvm/lib/arm-liteos/c++/libc++.a
llvm/lib/liblldbIntelFeatures.so.9
llvm/lib/libLLVM-9.so
llvm/lib/libLLVM.so
llvm/lib/libc++abi.so.1
llvm/lib/libc++abi.so.1.0
llvm/lib/liblldbIntelFeatures.so
llvm/lib/libRemarks.so
llvm/NOTICE
llvm/share/
llvm/share/opt-viewer/
llvm/share/opt-viewer/optpmap.py
llvm/share/opt-viewer/opt-stats.py
llvm/share/opt-viewer/optrecord.py
llvm/share/opt-viewer/style.css
llvm/share/opt-viewer/opt-diff.py
llvm/share/opt-viewer/opt-viewer.py
llvm/share/scan-build/
llvm/share/scan-build/sorttable.js
llvm/share/scan-build/scanview.css
llvm/share/man/
llvm/share/man/man1/
llvm/share/man/man1/scan-build.1
llvm/share/clang/
llvm/share/clang/clang-tidy-diff.py
llvm/share/clang/clang-format.py
llvm/share/clang/clang-format-bbedit.applescript
llvm/share/clang/clang-format-diff.py
llvm/share/clang/clang-format-sublime.py
llvm/share/clang/run-find-all-symbols.py
llvm/share/clang/run-clang-tidy.py
llvm/share/clang/clang-rename.py
llvm/share/clang/clang-rename.el
llvm/share/clang/clang-include-fixer.el
llvm/share/clang/clang-include-fixer.py
llvm/share/clang/clang-format.el
llvm/share/clang/bash-autocomplete.sh
llvm/share/scan-view/
llvm/share/scan-view/bugcatcher.ico
llvm/share/scan-view/GetRadarVersion.scpt
llvm/share/scan-view/Reporter.py
llvm/share/scan-view/FileRadar.scpt
llvm/share/scan-view/ScanView.py
llvm/share/scan-view/startfile.py
llvm/include/
llvm/include/c++/
llvm/include/c++/v1/
llvm/include/c++/v1/valarray
llvm/include/c++/v1/experimental/
llvm/include/c++/v1/experimental/map
llvm/include/c++/v1/experimental/coroutine
llvm/include/c++/v1/experimental/__config
llvm/include/c++/v1/experimental/type_traits
llvm/include/c++/v1/experimental/__memory
llvm/include/c++/v1/experimental/filesystem
llvm/include/c++/v1/experimental/regex
llvm/include/c++/v1/experimental/list
llvm/include/c++/v1/experimental/utility
llvm/include/c++/v1/experimental/simd
llvm/include/c++/v1/experimental/unordered_map
llvm/include/c++/v1/experimental/deque
llvm/include/c++/v1/experimental/propagate_const
llvm/include/c++/v1/experimental/string
llvm/include/c++/v1/experimental/forward_list
llvm/include/c++/v1/experimental/vector
llvm/include/c++/v1/experimental/iterator
llvm/include/c++/v1/experimental/memory_resource
llvm/include/c++/v1/experimental/functional
llvm/include/c++/v1/experimental/set
llvm/include/c++/v1/experimental/unordered_set
llvm/include/c++/v1/experimental/algorithm
llvm/include/c++/v1/errno.h
llvm/include/c++/v1/cassert
llvm/include/c++/v1/__functional_base
llvm/include/c++/v1/cstdarg
llvm/include/c++/v1/string.h
llvm/include/c++/v1/cwchar
llvm/include/c++/v1/__libcpp_version
llvm/include/c++/v1/streambuf
llvm/include/c++/v1/cmath
llvm/include/c++/v1/map
llvm/include/c++/v1/climits
llvm/include/c++/v1/complex
llvm/include/c++/v1/strstream
llvm/include/c++/v1/ccomplex
llvm/include/c++/v1/ciso646
llvm/include/c++/v1/cstdio
llvm/include/c++/v1/istream
llvm/include/c++/v1/initializer_list
llvm/include/c++/v1/ios
llvm/include/c++/v1/ratio
llvm/include/c++/v1/tgmath.h
llvm/include/c++/v1/bitset
llvm/include/c++/v1/ctime
llvm/include/c++/v1/cwctype
llvm/include/c++/v1/cstring
llvm/include/c++/v1/stdio.h
llvm/include/c++/v1/cfenv
llvm/include/c++/v1/__config
llvm/include/c++/v1/cctype
llvm/include/c++/v1/iosfwd
llvm/include/c++/v1/wchar.h
llvm/include/c++/v1/__hash_table
llvm/include/c++/v1/__undef_macros
llvm/include/c++/v1/__std_stream
llvm/include/c++/v1/setjmp.h
llvm/include/c++/v1/type_traits
llvm/include/c++/v1/stdlib.h
llvm/include/c++/v1/__mutex_base
llvm/include/c++/v1/random
llvm/include/c++/v1/chrono
llvm/include/c++/v1/fenv.h
llvm/include/c++/v1/stdint.h
llvm/include/c++/v1/cstdlib
llvm/include/c++/v1/filesystem
llvm/include/c++/v1/regex
llvm/include/c++/v1/__tuple
llvm/include/c++/v1/csetjmp
llvm/include/c++/v1/list
llvm/include/c++/v1/utility
llvm/include/c++/v1/__string
llvm/include/c++/v1/variant
llvm/include/c++/v1/fstream
llvm/include/c++/v1/ostream
llvm/include/c++/v1/limits.h
llvm/include/c++/v1/ctgmath
llvm/include/c++/v1/unordered_map
llvm/include/c++/v1/deque
llvm/include/c++/v1/math.h
llvm/include/c++/v1/clocale
llvm/include/c++/v1/__split_buffer
llvm/include/c++/v1/cstddef
llvm/include/c++/v1/__node_handle
llvm/include/c++/v1/any
llvm/include/c++/v1/__bsd_locale_fallbacks.h
llvm/include/c++/v1/module.modulemap
llvm/include/c++/v1/string
llvm/include/c++/v1/numeric
llvm/include/c++/v1/__cxxabi_config.h
llvm/include/c++/v1/exception
llvm/include/c++/v1/float.h
llvm/include/c++/v1/locale
llvm/include/c++/v1/cerrno
llvm/include/c++/v1/forward_list
llvm/include/c++/v1/limits
llvm/include/c++/v1/support/
llvm/include/c++/v1/support/newlib/
llvm/include/c++/v1/support/newlib/xlocale.h
llvm/include/c++/v1/support/musl/
llvm/include/c++/v1/support/musl/xlocale.h
llvm/include/c++/v1/support/ibm/
llvm/include/c++/v1/support/ibm/support.h
llvm/include/c++/v1/support/ibm/locale_mgmt_aix.h
llvm/include/c++/v1/support/ibm/limits.h
llvm/include/c++/v1/support/ibm/xlocale.h
llvm/include/c++/v1/support/fuchsia/
llvm/include/c++/v1/support/fuchsia/xlocale.h
llvm/include/c++/v1/support/android/
llvm/include/c++/v1/support/android/locale_bionic.h
llvm/include/c++/v1/support/win32/
llvm/include/c++/v1/support/win32/limits_msvc_win32.h
llvm/include/c++/v1/support/win32/locale_win32.h
llvm/include/c++/v1/support/solaris/
llvm/include/c++/v1/support/solaris/wchar.h
llvm/include/c++/v1/support/solaris/xlocale.h
llvm/include/c++/v1/support/solaris/floatingpoint.h
llvm/include/c++/v1/support/xlocale/
llvm/include/c++/v1/support/xlocale/__nop_locale_mgmt.h
llvm/include/c++/v1/support/xlocale/__strtonum_fallback.h
llvm/include/c++/v1/support/xlocale/__posix_l_fallback.h
llvm/include/c++/v1/stack
llvm/include/c++/v1/cxxabi.h
llvm/include/c++/v1/csignal
llvm/include/c++/v1/array
llvm/include/c++/v1/cstdbool
llvm/include/c++/v1/inttypes.h
llvm/include/c++/v1/atomic
llvm/include/c++/v1/typeindex
llvm/include/c++/v1/vector
llvm/include/c++/v1/system_error
llvm/include/c++/v1/bit
llvm/include/c++/v1/__tree
llvm/include/c++/v1/new
llvm/include/c++/v1/iterator
llvm/include/c++/v1/compare
llvm/include/c++/v1/mutex
llvm/include/c++/v1/__bit_reference
llvm/include/c++/v1/__nullptr
llvm/include/c++/v1/__threading_support
llvm/include/c++/v1/iostream
llvm/include/c++/v1/complex.h
llvm/include/c++/v1/wctype.h
llvm/include/c++/v1/stdbool.h
llvm/include/c++/v1/iomanip
llvm/include/c++/v1/thread
llvm/include/c++/v1/functional
llvm/include/c++/v1/scoped_allocator
llvm/include/c++/v1/queue
llvm/include/c++/v1/string_view
llvm/include/c++/v1/__debug
llvm/include/c++/v1/charconv
llvm/include/c++/v1/codecvt
llvm/include/c++/v1/__functional_03
llvm/include/c++/v1/stddef.h
llvm/include/c++/v1/__bsd_locale_defaults.h
llvm/include/c++/v1/__locale
llvm/include/c++/v1/ctype.h
llvm/include/c++/v1/future
llvm/include/c++/v1/sstream
llvm/include/c++/v1/shared_mutex
llvm/include/c++/v1/cinttypes
llvm/include/c++/v1/condition_variable
llvm/include/c++/v1/tuple
llvm/include/c++/v1/set
llvm/include/c++/v1/__errc
llvm/include/c++/v1/cstdint
llvm/include/c++/v1/version
llvm/include/c++/v1/unordered_set
llvm/include/c++/v1/__sso_allocator
llvm/include/c++/v1/memory
llvm/include/c++/v1/optional
llvm/include/c++/v1/ext/
llvm/include/c++/v1/ext/hash_set
llvm/include/c++/v1/ext/hash_map
llvm/include/c++/v1/ext/__hash
llvm/include/c++/v1/span
llvm/include/c++/v1/stdexcept
llvm/include/c++/v1/cfloat
llvm/include/c++/v1/__functional_base_03
llvm/include/c++/v1/typeinfo
llvm/include/c++/v1/algorithm
llvm/include/c++/v1/locale.h
llvm/libexec/
llvm/libexec/ccc-analyzer
llvm/libexec/c++-analyzer
llvm/bin/
llvm/bin/clang-tidy
llvm/bin/llvm-profdata
llvm/bin/clang++
llvm/bin/llvm-objdump
llvm/bin/llvm-symbolizer
llvm/bin/llvm-link
llvm/bin/llvm-ranlib
llvm/bin/ld.lld
llvm/bin/llvm-lib
llvm/bin/sanstats
llvm/bin/lldb-argdumper
llvm/bin/llvm-size
llvm/bin/lld-link
llvm/bin/clang-check
llvm/bin/clang-format
llvm/bin/llvm-objcopy
llvm/bin/scan-build
llvm/bin/git-clang-format
llvm/bin/llvm-ar
llvm/bin/llvm-dis
llvm/bin/llvm-modextract
llvm/bin/llvm-readobj
llvm/bin/llvm-cxxfilt
llvm/bin/llvm-config
llvm/bin/sancov
llvm/bin/lldb-mi
llvm/bin/clang-9
llvm/bin/clang-cl
llvm/bin/llvm-cfi-verify
llvm/bin/llvm-readelf
llvm/bin/clang
llvm/bin/llvm-strip
llvm/bin/llvm-as
llvm/bin/lldb
llvm/bin/scan-view
llvm/bin/llvm-strings
llvm/bin/llvm-addr2line
llvm/bin/llvm-cov
llvm/bin/llvm-nm
llvm/bin/ld64.lld
llvm/bin/dsymutil
llvm/bin/clangd
llvm/bin/lld
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ tar xvf hc-gen-0.65-linux.tar -C ~
hc-gen/
hc-gen/hc-gen
hc-gen/LICENSE
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 


环境变量的配置:
export PATH=~/gn:$PATH
export PATH=~/ninja:$PATH
export PATH=~/llvm/bin:$PATH
export PATH=~/hc-gen:$PATH
source ~/.bashrc


rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/compile3518$ cd ~
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ ll .bashrc
-rw-r--r-- 1 rootroot rootroot 3771 2月  20 17:21 .bashrc
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ cat .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color|*-256color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
    # We have color support; assume it's compliant with Ecma-48
    # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
    # a case would tend to support setf rather than setaf.)
    color_prompt=yes
    else
    color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}

\033[01;32m
\u@\h
\033[00m
:
\033[01;34m
\w
\033[00m
\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="

\e]0;$debianchroot:+($debianchroot)\u@\h:\w\a
$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Add an "alert" alias for long running commands.  Use like so:
#   sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ cp .bahsrc bak1.bashrc
cp: cannot stat '.bahsrc': No such file or directory
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 


以下语句块有问题。$后面的内容会被展开!^_
echo "export PATH=~/gn:$PATH" >> .bashrc
echo "export PATH=~/ninja:$PATH >> .bashrc
echo "export PATH=~/llvm/bin:$PATH >> .bashrc
echo "export PATH=~/hc-gen:$PATH >> .bashrc


https://jingyan.baidu.com/article/ce09321b0a28556aff858f94.html
Linux如何给文件末尾追加内容
方法1/步骤
事先建立好图示2个文本文件;

Linux如何给文件末尾追加内容
执行命令“cat second.txt >> first.txt”将second文本里面的答案追加到first文本里面。

Linux如何给文件末尾追加内容
Linux如何给文件末尾追加内容
END
方法2/步骤
执行命令“ echo "请问你来自哪里?"  >> first.txt ”将汉字内容追加到first文本里面(汉字内容,你可以自己发挥)。

Linux如何给文件末尾追加内容
END
方法3/步骤
1
执行命令“ sed -i '$a\我来自火星。' first.txt ”将汉字内容追加到first文本里面(汉字内容,你可以自己发挥)。

Linux如何给文件末尾追加内容


rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ echo "export PATH=~/gn:\$PATH" >> .bashrc
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ diff bak1.bashrc .bashrc
117a118
> export PATH=~/gn:$PATH
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ echo "export PATH=~/ninja:\$PATH" >> .bashrc
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ echo "export PATH=~/llvm/bin:\$PATH" >> .bashrc
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ echo "export PATH=~/hc-gen:\$PATH" >> .bashrc
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ diff bak1.bashrc .bashrc
117a118,121
> export PATH=~/gn:$PATH
> export PATH=~/ninja:$PATH
> export PATH=~/llvm/bin:$PATH
> export PATH=~/hc-gen:$PATH
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ 


参考链接:
http://cdimage.ubuntu.com/releases/
http://old-releases.ubuntu.com/releases/lucid/

http://www.linuxidc.com/Linux/2012-11/74695.htm
U盘安装Ubuntu 12.10

http://jingyan.baidu.com/article/a3761b2b66fe141577f9aa51.html
怎么用u盘安装ubuntu


https://hmxt.org/
HarmonyOS 鸿蒙系统 | 鸿蒙学堂

鸿蒙系统(HarmonyOS、鸿蒙OS)是一款“面向未来”、面向全场景的分布式操作系统 ,其开源项目为OpenHarmony。2019年8月,华为在开发者大会上正式发布鸿蒙系统。2020年9...
hmxt.org/

百度快照


(可选)
http://www.linuxidc.com/Linux/2014-04/100645.htm
Ubuntu 14.04 LTS下安装Google Chrome浏览器

https://www.virtualbox.org/
virtualbox

sudo apt-get install uboot-mkimage
sudo apt-get install meld
sudo apt-get install nautilus-open-terminal
sudo apt-get install wine(根据自己的需要可选安装)


(可选)
开启ubuntu系统的root用户的方法:
sudo passwd root
[sudo] password for rootroot:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/323147
推荐阅读
相关标签
  

闽ICP备14008679号