1、交叉编译 # tar -xvf sudo-1.8.6p7.tar.gz # cd sudo-1.8.6p7/ # mkdir build # ./configure --prefix=/home//sudo-1.8.6p7/build/ CC=aarch64-linux-gnu-gcc AR=a ...
分类:
其他好文 时间:
2019-11-12 13:07:36
阅读次数:
112
1. 查看时区的命令: timedatectl 2. 修改时区命令: dpkg-reconfigure tzdata 然后根据需求选择地区,我这里选的是Asia(亚洲) 时区选的是 shanghai(上海): ...
分类:
系统相关 时间:
2019-11-12 13:07:06
阅读次数:
102
https://linuxize.com/post/how-to-install-gcc-compiler-on-ubuntu-18-04/ sudo apt install software-properties-common sudo add-apt-repository ppa:ubuntu- ...
分类:
系统相关 时间:
2019-11-12 01:15:58
阅读次数:
109
本文首发于个人博客 "https://kezunlin.me/post/137aa5fc/" ,欢迎阅读! Part 3: Install and Configure PCL 1.8.1 with vtk qt support on Ubuntu 16.04 from source Series " ...
分类:
系统相关 时间:
2019-11-11 15:48:52
阅读次数:
227
1.安装工具和库 2.目录结构 3.下载解压源码 4.创建用户组和用户 5.编译源码 6.映射全局命令 7.启动,停止,重启 8.检测配置文件nginx.conf正确性 9.开机自启动 10.出现问题和解决方法 bash 如果 提示如下报错 Job for nginx.service failed ...
分类:
其他好文 时间:
2019-11-11 12:56:22
阅读次数:
126
下载源码包 (https://www.python.org/downloads/release/python-352/) 2 解压Python-3.5.2.tar.xz 3 sudo ./configure --prefix=/usr/local/python3.5.2 (/usr/local/py ...
分类:
编程语言 时间:
2019-11-10 17:42:22
阅读次数:
104
Apache是开源的的、最流行的Web服务器软件之一,它快速、可靠并且可通过简单的API扩充,将Perl/Python/PHP等解释器编译到服务器中。Apache的模块超多,以及具有运行稳定,强大的rewrite功能、动态处理能力强等优点,在追求稳定的业务环境下被广泛使用。 以下是Apache2.4 ...
分类:
Web程序 时间:
2019-11-10 15:41:56
阅读次数:
92
一直不喜欢 Startup 中这两个可读性很比较差的命名 ConfigureServices 与 Configure。ConfigureServices 用于配置依赖注入以在运行时根据依赖关系创建对象,Configure 用于配置中间件(middleware)以构建请求处理流水线。 ...
分类:
Web程序 时间:
2019-11-09 22:01:35
阅读次数:
118
1/ 概述 利用Spring Boot作为基础框架,Spring Security作为安全框架,WebSocket作为通信框架,实现点对点聊天和群聊天。 2/ 所需依赖 Spring Boot 版本 1.5.3,使用MongoDB存储数据(非必须),Maven依赖如下: 配置文件内容: 大致程序结构 ...
分类:
微信 时间:
2019-11-09 17:55:34
阅读次数:
119
1.在启动类Application中添加注解@EnableTransactionManagement import tk.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; ...
分类:
编程语言 时间:
2019-11-09 13:40:14
阅读次数:
79