共 19 篇文章 |
|
lm-sensors ubuntu。sudo apt-get install lm-sensors Run the mkdev.sh script in the lm-sensors source.sudo sensors-detect.sudo modprobe i2c-sensor.> Now test the sensor output using the lm-sensors utility “sensors”.The sensor output may be tweaked by editing the “/etc/sensors.conf” file. It is possible to correct... 阅160 转0 评0 公众公开 19-12-03 00:17 |
How to Install Ubuntu Make on Ubuntu Linux 15.04 | LinuxPitStop.It was originally known as “Ubuntu Developer Tools Center” but was renamed to “Ubuntu Make” later.Installing Ubuntu Make on Ubuntu 15.04.In order to install Eclipse using Ubuntu Make, you need to run following command: umake ide eclipse Install Unity ... 阅47 转0 评0 公众公开 19-11-27 00:12 |
惊艳的cygwin。$ cygpath -au ''C:\Windows\System32\drivers\etc''/cygdrive/c/Windows/System32/drivers/etc$ cygpath -aw ''/cygdrive/c/Windows/System32/drivers/etc''C:\Windows\System32\drivers\etc.# 缺省是当前目录else XPATH=$1if $cygwin; then XPATH="$(cygpath -C ANSI -w "$XPATH&qu... 阅117 转0 评0 公众公开 19-04-03 18:30 |
linux下安装或升级GCC4.8,以支持C++11标准。目前来看GCC是对C++11支持程度最高最多的编译器,但需要GCC4.8及以上版本。原GCC版本:4.4.7;获取GCC 4.8.2包:wget http://gcc.skazkaforyou.com/releases/gcc-4.8.2/gcc-4.8.2.tar.gz;// except after =12 std::array<std::string, 2> a3 = { {std::string("a"), "b"... 阅256 转1 评0 公众公开 19-03-06 15:45 |
4、新建Makefile.am 新建Makefile.am文件,命令: $ vi Makefile.am 内容如下: AUTOMAKE_OPTIONS=foreign bin_PROGRAMS=helloworld helloworld_SOURCES=helloworld.c automake会根据你写的Makefile.am来自动生成Makefile.in。我们用automake产生出来的Makefile.in文件是符合GNU Makefile惯例的,接下来我们只要执行configure这个shell 脚本就可... 阅26 转0 评0 公众公开 18-08-30 13:29 |
阅2832 转11 评1 公众公开 18-07-17 23:10 |
linux找不到动态链接库 .so文件的解决方法。如果使用自己手动生成的动态链接库.so文件,但是这个.so文件,没有加入库文件搜索路劲中,程序运行时可能会出现找不到动态链接库的情形。sudo find / -name libjson_linux-gcc-4.6_libmt.so.结果:/home/liu/Desktop/jsoncpp-src-0.5.0/libs/linux-gcc-4.6/libjson_linux-gcc-4.6_libmt.so. 阅34 转0 评0 公众公开 18-07-17 23:08 |
CentOS默认安装是不能挂载和自动挂载NTFS的设备分区,自动挂载可以进行如下的安装和配置。$ tar ntfs-3g_ntfsprogs-xxxx.xx.xx.tgz$ cd ntfs-3g_ntfsprogs$ su# ./configure# make# make install.2、即插即用自动挂载(1)新增文件。# vi /sbin/mount.ntfs./bin/bashexport LANG=en_US.UTF-8exec /sbin/mount.ntfs-3g "$@"# chmod a+... 阅123 转0 评0 公众公开 18-06-19 16:39 |
SHELL#!使用变量时,变量名前带美元符号,只读变量,名前加readonly,不能为unset所删除边界符号{}单引号字符串的限制:单引号里的任何字符都会原样输出,单引号字符串中的变量是无效的;单引号字串中不能出现单引号(对单引号使用转义符后也不行)双引号的优点:双引号里可以有变量双引号里可以出现转义字符。查找for xxx in xxx; do xxxxxdo... 阅25 转0 评0 公众公开 17-12-26 15:25 |
CentOS的文件权限与目录配置。“d”代表目录,“-”代表文件,“l”代表链接文件(linkfile),“b”表示设备文件里面的可供存储的接口设备,“c”表示设备文件里面的串行端口设备,例如鼠标键盘(一次性读取设备)。权限对文件的作用:*.html、*.php:网页相关文件,分别代表HTML语法与PHP语法的网页文件。.html的文件可以使用网页浏览器来直... 阅14611 转7 评0 公众公开 17-12-20 13:25 |