[linux]Errors while making mosquitto in a new PC of Ubuntu12.04.

2016-3-4 写技术

Make mosquitto in a new PC of Ubuntu12.04.There is some errors: 1."openssl/*.h: No such file or directory"  install libssl-dev 2."ares.h: No such file or directory" install libc-ares-dev install libc-ares2 3."g++: command not found" install g++ 4."uuid/uuid.h No such file or dir...

阅读全文>>

标签: linux

评论(0) 浏览(1805)

[linux]一些常用的命令(2)

2016-3-4 写技术

1、man命令 该命令可以显示指定命令的用法和描述。 语法: man <command name> man ls root@nicholas:~# man ls LS(1)                            User Commands                           ...

阅读全文>>

标签: linux

评论(0) 浏览(1748)

[linux]一些常用的命令(1)

2016-3-4 写技术

1 ‘who -r’ 和 ‘runlevel’ 命令可以用来查看当前的Linux服务器的运行级别。 2 用 “route -n” 和 “netstat -nr” 命令,我们可以查看默认网关。除了默认的网关信息,这两个命令还可以显示当前的路由表。 3 在CentOS 5.X / RHEL 5.X中,可以用mkinitrd命令来创建初始化内存盘文件,举例如下: # mkinitrd -f -v /boot/initrd-$(uname -r).img $(uname -r) 如果你想要给特定的内核版本创建初始化内存盘,你就用所需的内核名替换掉 ‘uname -r’ 。 在Cent...

阅读全文>>

标签: linux

评论(0) 浏览(1695)

Powered by anycle 湘ICP备15001973号-1