摘要: 1. 启用 ssl 模块 sudo a2enmod ssl 2. 安装openssl sudo apt-get install openssl 3. 创建CA签名(不使用密码去除-des3选项) openssl genrsa -des3 -out server.key 1024 4. 创建CSR(C 阅读全文
posted @ 2018-01-31 11:57 橙子好甜 阅读(283) 评论(0) 推荐(0)
摘要: 多年没用linux上编辑c程序,忘记怎么生成了。刚刚试了一下 vim hello.c 在hello.c中 按下 i 或者 insert 输入以下内容 #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { pr 阅读全文
posted @ 2018-01-31 11:56 橙子好甜 阅读(184) 评论(0) 推荐(0)
摘要: 安装https://swift.org/download/#using-downloads1.Install required dependencies:下载安装包clangsudo apt-get install clang libicu-dev2.Download the latest bina 阅读全文
posted @ 2018-01-31 11:52 橙子好甜 阅读(247) 评论(0) 推荐(0)
摘要: ***gcc是C编译器; ***g++是C++编译器; ***linux下cc一般是一个符号连接,指向gcc ***gcc说明 1.gcc编译常用格式: gcc C源文件 -o 目标文件 或 gcc -o 目标文件 C源文件 或 gcc C源文件 最后一种情况产生的目标文件默认为a.out 2.gc 阅读全文
posted @ 2018-01-29 18:12 橙子好甜 阅读(999) 评论(0) 推荐(0)
摘要: 1. 首先,要在 /etc/ld.so.conf中写下“想要读入高速缓存中的动态函数库所在的目录”,注意,是目录而不是文件。 2. 利用ldconfig执行文件将 /etc/ld.so.conf的数据读入高速缓存中。 3. 同时在 /etc/ld.so.cache文件中记录数据。 范例一:假设MyS 阅读全文
posted @ 2018-01-29 17:39 橙子好甜 阅读(349) 评论(0) 推荐(0)
摘要: /etc/mysql/my.cnf中加 !includedir /etc/mysql/conf.d/ 阅读全文
posted @ 2018-01-24 15:07 橙子好甜 阅读(11075) 评论(0) 推荐(0)
摘要: linux .o,.a,.so文件 .o,是目标文件,相当于windows中的.obj文件 .so 为共享库,是shared object,用于动态连接的,相当于windows下的dll .a为静态库,是好多个.o合在一起,用于静态连接 阅读全文
posted @ 2018-01-24 10:01 橙子好甜 阅读(161) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-01-22 13:32 橙子好甜 阅读(4) 评论(0) 推荐(0)
摘要: http://zts.sigmadesigns.com/documentation/zipgateway-2-61-0-docs 能够在ubuntu上打开pyzipInstalling on Ubuntu LinuxNoteIf you are planning to run Pyzip from 阅读全文
posted @ 2018-01-22 12:41 橙子好甜 阅读(568) 评论(0) 推荐(0)