git clone https://github.com/Ascend/tools.git
- make_sd_card.py
- make_ubuntu_sd.sh
- mini developerkit
su root
apt update
apt install qemu-user-static binfmt-support python3-yaml gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
fdisk -l
python3 make_sd_card.py local /dev/sda
USB_CARD_DEFAULT_IP: 192.168.1.2
USER_NAME: HwHiAiUser
USER_PSW: 修改
ROOT_PSW: 修改
- get tools
git clone https://github.com/Ascend/tools.git
- usb configure(root权限)
bash configure_usb_ethernet.sh -s ip_address
su root
ifconfig -a # 获取USB网卡名
vi /etc/network/interfaces
auto enp***
iface enp*** inet static
address 192.168.1.223
netmask 255.255.255.0
vi /etc/NetworkManager/NetworkManager.conf
managed=true
ifdown enp***
ifup enp***
service NetworkManager restart
useradd -d /home/username -m username
passwd username
chmod 750 /home/username
chmod u+w /etc/sudoers
vim /etc/sudoers
username ALL=(ALL:ALL) NOPASSWD:SETENV:/usr/bin/apt
chmod u-w /etc/sudoers
apt update
sudo apt install gcc g++ cmake curl libboost-all-dev libatlas-base-dev unzip haveged liblmdb-dev python-skimage python3-skimage python-pip python3-pip libhdf5-serial-dev libsnappy-dev libleveldb-dev swig python-enum python-future make graphviz autoconf libxml2-dev libxml2 libzip-dev libssl-dev sqlite3 python
sudo apt install openjdk-8-jdk
vim ~/.bashrc
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
source ~/.bashrc
mkdir director
chown username:usergroup director
chmod 750 director
unzip mini_mind_studio.Ubuntu.rar
su root
cd /home/username/director
./add_sudo.sh username
./install.sh
Mind Studio网址:https://IP:Port,默认端口8888,初始密码:Huawei123@
Profiling网址:https://IP:Profiler_port,默认端口8099,用户:msvpadmin,初始密码:Admin12#$
cd ~/tools/bin
bash start.sh
cd ~/tools/bin
bash stop.sh
su root
cd /usr/bin
./add_sudo.sh username
cd ~/tools/bin
./uninstall.sh