1.安裝瀏覽器linux
# apt-get install gonme # apt-get update # apt-get install google-chrome-stable
2.啓動Chrome瀏覽器chrome
# google-chrome
這時會報錯:
[31560:31560:0207/085601.085852:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See vim
# google-chrome --no-sandbox //以後重啓系統
3.設置快捷方式
# whereis google-chrome google-chrome: /usr/bin/google-chrome /usr/share/man/man1/google-chrome.1.gz # vim /usr/bin/google-chrome
將 exec -a "$0" "$HERE/chrome" "$@" 改成瀏覽器
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir --no-sandboxgoogle
之後只要 #google-chrome 就能夠打開Chrome了spa
雖然也會彈出一堆錯誤,可是終於成功打開了!!code