1、linux 下安装UUID库
1.1)ubuntu下安装uuid链接库
sudo apt-get install uuid-dev
1.2)CentOS
yum install libuuid-devel
2、获取系统的uuid
$ cat /proc/sys/kernel/random/uuid
1、linux 下安装UUID库
1.1)ubuntu下安装uuid链接库
sudo apt-get install uuid-dev
1.2)CentOS
yum install libuuid-devel
2、获取系统的uuid
$ cat /proc/sys/kernel/random/uuid