上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 在ubuntu10.4server下安装nginx并支持上传和https功能环境:ubuntu18.04server在root权限下操作1. 安装编译环境 cd apt -y install make gcc libpcre3 libpcre3-dev openssl libssl-dev zlib 阅读全文
posted @ 2023-01-16 14:18 roverqqq 阅读(957) 评论(0) 推荐(0)
摘要: curl http://icanhazip.com 阅读全文
posted @ 2022-01-28 15:12 roverqqq 阅读(31) 评论(0) 推荐(0)
摘要: 生成公钥对 ssh-keygen -t rsa -c "注释" 连接主机 ssh user@host 将公钥发送到主机 ssh-copy-id user@host 配置快速登录 Host 自定义名称 Hostname ip地址 User 用户名 测试gitee ssh -T git@gitee.co 阅读全文
posted @ 2022-01-28 15:10 roverqqq 阅读(30) 评论(0) 推荐(0)
摘要: " 设置行号 set nu " 设置缩进为4 set smartindent set tabstop=4 set softtabstop=4 set shiftwidth=4 " 设置折叠 set fdm=syntax hi Folded ctermbg=blue ctermfg=black " 设 阅读全文
posted @ 2022-01-28 15:08 roverqqq 阅读(28) 评论(0) 推荐(0)
摘要: **出错命令:一个普通的下载命令** > sudo apt-get install htop **错误提示:** > E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unaviala 阅读全文
posted @ 2022-01-28 15:08 roverqqq 阅读(185) 评论(0) 推荐(0)
摘要: **下载** > $ sudo apt install msmtp **配置** > $ vim ~/.msmtprc **添加如下内容** > account default > host smtp.163.com > port 25 > from liqian986347706@163.com 阅读全文
posted @ 2022-01-28 15:08 roverqqq 阅读(121) 评论(0) 推荐(0)
摘要: 以frpc为例 将frpc和frpc.ini放入/usr/local/frpc/路径 # 编辑/etc/systemd/system/frpc.service文件,加入以下内容(其中frpc可自定义名称) [Unit] Description=Frp Client Service After=net 阅读全文
posted @ 2022-01-28 15:06 roverqqq 阅读(44) 评论(0) 推荐(0)
摘要: **设置定时更新** > \# crontab -e > *3**0 apt update && apt upgrade > 每个星期的星期天3点执行更新 1)crontab -u /*设定某个用户的cron服务*/ 2)crontab -l /*列出某个用户cron服务的详细内容*/ 3)cron 阅读全文
posted @ 2022-01-28 15:06 roverqqq 阅读(87) 评论(0) 推荐(0)
摘要: 单行变量 - var = hello 替换 - var += test 追加 - var := hello 常量 - var ?= hello 若没定义过,则定义,若定义过,则忽略 - foo = hello.c heq.c - bar = $(foo:.c=.o) 使用foo变量初始化bar变量, 阅读全文
posted @ 2022-01-28 14:59 roverqqq 阅读(66) 评论(0) 推荐(0)
摘要: 常用命令 查看当前行左右代码:l 查看指定函数代码:l func 下断点:b main+4(在main函数第4行下断点) 查看断点:info b 取消断点:delete n(n为断点编号) 查看变量:p a 查看堆栈:bt 运行程序:r 单步步入:s 单步步过:n 执行到下一个断点:c 执行到返回: 阅读全文
posted @ 2022-01-28 14:54 roverqqq 阅读(50) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页