Users Guide
如果 TPM 处于关闭状态,设备节点 (/dev/tpm0) 不存在。
(plano)ubuntu@localhost:~$ ls /dev/tpm0
ls: cannot access /dev/tpm0: No such file or directory
如果 TPM 处于打开状态,那么设备节点 (/dev/tpm0) 存在。
(plano)ubuntu@localhost:~$ ls /dev/tpm0
/dev/tpm0
访问 Snappy Store/Snapweb
1. 在浏览器中输入 ip_address:4200。
2. 选择 Advanced(高级),然后选择 proceed to the ip_address(unsafe)(转到 ip 地址(不安全))。
3. 使用默认登录名“admin”,将密码留空,然后打开终端和 ssh 远程登录
lo@lo-latitude-E7470:~$ ssh admin@10.101.46.209
admin@10.101.46.209's password:
4. 运行 sudo snapweb.generate-token 时,复制令牌。
lo@lo-latitude-E7470:~$ ssh admin@10.101.46.209
admin@10.101.46.209's password:
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-45-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Welcome to Snappy Ubuntu Core, a transactionally updated Ubuntu.
* See https://ubuntu.com/snappy
It's a brave new world here in Snappy Ubuntu Core
! This machine does not use apt-get or
deb packages. Please see 'snap --hwlp' for app installation and transactional updates.
Last login: Tue Nov 01:10:12 2016 from 10.101.46.187
Admin@localhost:~$ sudo snapweb.generate-toen
Snapweb Access Token:
GtYaoevIodhTgHDyFWczWtYkEhDYROpX0pf27K62TtTOVooUwRuQ)IgBB7ECznCP
Use the above token in the Snapweb interface to be granted access.
admin@localhost:~$
5. 将令牌粘贴到 web 页上,然后单击 Submit(提交)。
36