arapozojr
7/30/2018 - 12:34 AM

Huawei docker guia

docker run -idt --cap-add=ALL -v /lib/modules:/lib/modules -v /dev:/dev --net=host -e DISPLAY=$DISPLAY --volume="/home/adilson/.Xauthority:/root/.Xauthority:rw" -v /home/adilson/Downloads:/root/downloads -v /tmp/.X11-unix:/tmp/.X11-unix --name huawei2 ubuntu:14.04 /bin/bash

dpkg --add-architecture i386

apt-get update
apt-get install firefox libxext-dev libxrender-dev libxtst-dev libgstreamer0.10-dev psmisc libgstreamer-plugins-base0.10-dev gksu libx11-6:i386 libstdc++5:i386 libpam0g:i386 lib32z1 lib32ncurses5 libstdc++5:i386

export FONTCONFIG_PATH=/etc/fonts
echo "export FONTCONFIG_PATH=/etc/fonts" >> /root/.profile

export QT_X11_NO_MITSHM=1
echo "export QT_X11_NO_MITSHM=1" >> /root/.profile

mkdir /root/Desktop

./AccessClient_x64lnx.run disable-reboot

touch /root/.local/share/data/Huawei/cloudclient/options.xml
touch /root/.local/share/data/Huawei/cloudclient/servers.xml

mkdir /config
mkdir /config/.config
touch /config/.config/cloudurl

mkdir /root/.cloud
touch /root/.cloud/cloudurl

gksudo -k /usr/local/HDPClient/LinuxClient/CloudClient.sh