33 Star 183 Fork 56

hihopeorg / HarmonyOS-IoT-Application-Development

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
README.md 1.40 KB
Copy Edit Web IDE Raw Blame History
许思维 authored 2020-11-20 16:35 . docs: update some section titles

从零开始搭建HarmonyOS开发环境

本节课程中向大家演示——如何从零搭建Hamony OS开发环境,具体包括:

  • Linux系统——源码下载和编译环境

  • Windows系统——源码编辑和烧录环境

  • Windows主机访问Linux主机

    • 支持远程终端访问

      • 安装openssh-server:sudo apt install openssh-server,完成后可以使用远程终端登录MobaXterm(或者Putty)
    • 支持Windows系统“映射网络驱动器”

      • 安装samba:sudo apt install samba
      • 添加samba账号并设置密码:sudo smbpasswd -a $USER(其中$USER为用户名),
      • 修改配置(修改完需要重启服务sudo service smbd restart):
        [home]
          comment = User Homes
          path = /home
          browsable = yes
          writable  = yes
          guest ok = no
          read only = no
          create mask = 0755
    • 如果是VirtualBox里面安装的Linux

      • 添加一个HostOnly的虚拟网卡,混杂模式:全部允许
      • 虚拟网卡设置成功后,Windows主机上应该可以ping通虚拟机

Comment ( 0 )

Sign in for post a comment

C
1
https://gitee.com/hihopeorg/HarmonyOS-IoT-Application-Development.git
git@gitee.com:hihopeorg/HarmonyOS-IoT-Application-Development.git
hihopeorg
HarmonyOS-IoT-Application-Development
HarmonyOS-IoT-Application-Development
master

Search

103611 48b8ff67 1899542 103622 4d02230c 1899542