会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
77
下一页
2020年9月27日
systemd-journald日志清理
摘要: 配置文件保留的时间(1w为一周): journalctl --vacuum-time=1w
阅读全文
posted @ 2020-09-27 10:08 ahuo
阅读(398)
评论(0)
推荐(0)
2020年9月17日
gdb+gdbserver 嵌入式调试
摘要: 编译: 下载 ftp://ftp.gnu.org/gnu/gdb/gdb-7.11.1.tar.gz gdbserver编译 ./configure --target=arm-linux --host=arm-linux make arm设置 ulimit -c 1024echo /tmp/core
阅读全文
posted @ 2020-09-17 15:32 ahuo
阅读(254)
评论(1)
推荐(0)
2020年9月15日
嵌入式 coredump
摘要: ulimit -c 1024echo /tmp/core > /proc/sys/kernel/core_pattern #include <stdio.h> int main() { int* a=NULL; char aa[1]; a=1; aa[20]=1; sleep(10000); pri
阅读全文
posted @ 2020-09-15 19:30 ahuo
阅读(259)
评论(0)
推荐(0)
2020年9月14日
CentOS7 systemctrl管理的服务,open files的神坑
摘要: 修改/etc/security/limits.conf: * soft nofile 204800* hard nofile 204800 bugbugbugbugbugbug:虽说是全局修改,但是用systemctrl启动的进程,最大值还是1024 在搭建keepalived遇到此问题 cento
阅读全文
posted @ 2020-09-14 21:07 ahuo
阅读(780)
评论(0)
推荐(0)
Linux 服务器网络流量查看工具
摘要: iptraf-ng nethogs
阅读全文
posted @ 2020-09-14 10:56 ahuo
阅读(303)
评论(0)
推荐(0)
2020年6月19日
ESP8266
摘要: make COMPILE=gcc BOOT=none APP=0 SPI_SPEED=40 SPI_MODE=DIO SPI_SIZE_MAP=4
阅读全文
posted @ 2020-06-19 17:27 ahuo
阅读(206)
评论(0)
推荐(0)
ESP8266 自动配网
摘要: 恢复出厂 AT+RESTORE STA模式 AT+CWMODE=1 smartconfig(广播) AT+CWSTARTSMART=1 停止 AT+CWSTOPSMART airkiss(组播) AT+CWSTARTSMART=2 停止 AT+CWSTOPSMART 获得IP AT+CIFSR
阅读全文
posted @ 2020-06-19 10:44 ahuo
阅读(1404)
评论(0)
推荐(0)
2020年6月9日
rc.local开机不执行
摘要: 在Centos7下,rc.local文件,开机默认是不执行的 必须运行 chmod +x /etc/rc.d/rc.local 命令来确保启动过程中执行此脚本 .
阅读全文
posted @ 2020-06-09 11:54 ahuo
阅读(1119)
评论(0)
推荐(0)
2020年6月3日
Nginx配置参数中文详细说明
摘要: #定义Nginx运行的用户和用户组 user www www; # #nginx进程数,建议设置为等于CPU总核心数. worker_processes 8; # #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ] error_lo
阅读全文
posted @ 2020-06-03 17:15 ahuo
阅读(846)
评论(0)
推荐(0)
2020年5月28日
vsftp 被动模式设置
摘要: pasv_enable=yes pasv_max_port=21080 pasv_min_port=21000
阅读全文
posted @ 2020-05-28 22:27 ahuo
阅读(1407)
评论(0)
推荐(0)
2020年5月3日
tcp连接状态
摘要: CLOSED:无连接是活动的或正在进行 LISTEN:服务器在等待进入呼叫 SYN_RECV:一个连接请求已经到达,等待确认 SYN_SENT:应用已经开始,打开一个连接 ESTABLISHED:正常数据传输状态 FIN_WAIT1:应用说它已经完成 FIN_WAIT2:另一边已同意释放 ITMED
阅读全文
posted @ 2020-05-03 12:53 ahuo
阅读(161)
评论(0)
推荐(0)
2020年4月27日
mosquitto安装
摘要: yum install mosquitto mosquitto_passwd -b pwfile.example admin 123 mosquitto -c mosquitto.conf -d systemctl enable mosquitto.service mosquitto_sub -h
阅读全文
posted @ 2020-04-27 16:32 ahuo
阅读(212)
评论(0)
推荐(0)
2020年4月23日
openssl 增加域名IP(SAN)
摘要: 拷贝openssl.cnf 增加 [ req ] default_bits = 2048default_md = sha256default_keyfile = privkey.pemdistinguished_name = req_distinguished_nameattributes = re
阅读全文
posted @ 2020-04-23 10:48 ahuo
阅读(1610)
评论(0)
推荐(0)
2020年4月20日
spring 启动属性注入
摘要: -Dspring.profiles.active="dev" --server.port=4444
阅读全文
posted @ 2020-04-20 15:55 ahuo
阅读(232)
评论(0)
推荐(0)
2020年4月13日
ss5安装和配置
摘要: wget https://nchc.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz yum -y install gcc gcc-c++ automake make pam-devel openldap-devel cyru
阅读全文
posted @ 2020-04-13 23:03 ahuo
阅读(3180)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
77
下一页
公告