- Nov 22 Fri 2024 14:14
-
Docker 指令介紹
- Jun 05 Wed 2024 14:42
-
Docker Container Backup/Restore
引用網址:https://www.ichiayi.com/tech/docker/howto/backup
Docker Container Backup/Restore
docker export CentOS6 > /backup/CentOS6-backup.tar
還原已備份的 Docker Container 的語法 : docker import - <USERID/CONTAINER_ID|NAME>-backup < <CONTAINER_ID|NAME>-backup.tar
- Dec 20 Wed 2023 11:40
-
Android 在命令行日志输出中查看Firebase Analytics事件
可以在 Android Studio 调试日志中或命令行启用和查看详细的Analytics日志记录,从而帮助验证 SDK 是否已正确记录事件。其中包括自动和手动记录的事件。
通过以下一系列adb命令开启详细日志记录功能:
- Aug 10 Thu 2023 09:55
-
Elasticsearch常用配置及性能参数
引用網址:https://www.jianshu.com/p/a94e38da0039
[Elasticsearch常用配置及性能参数]
cluster.name: estest 集群名称
node.name: “testanya” 节点名称
node.master: false 是否主节点
- May 09 Tue 2023 14:24
-
Android SDK命令行工具apksigner
- May 03 Wed 2023 16:49
-
Google Drive File Upload Using The Terminal
引用網址:https://medium.com/@ianhutch90/google-drive-file-upload-using-the-terminal-3652ee90a6f6
In this article, I share with you a solution that authenticates a user to upload file data to a Google Drive repository. If you are interested in knowing how to do it, continue reading to find out.
Before we begin I would like to draw your attention to the following resources I stole. I mean borrowed from that were very helpful.
The first author isDaniel Ellisand the second author isAthiththan Kathirgamasegaran.
Prerequisite
- Feb 08 Wed 2023 11:18
-
Deploying an AES-128 Encrypted HTTP Live Stream (HLS)

引用:https://ggicci.me/deploying-an-aes-128-encrypted-http-live-stream-hls/
HTTP Live Streaming(HLS) is an HTTP-based adaptive bitrate streaming communications protocol developed by Apple Inc. and released in 2009.
Some key points of HLS:
- Created by Apple.
- Consists of a playlist/manifest file (e.g. index.m3u8) and segment video files (e.g. index01.ts).
- Jan 17 Tue 2023 23:26
-
Kafka 入門
- May 19 Thu 2022 16:31
-
Nginx的server_name和location配置
引用網址:https://segmentfault.com/a/1190000021771733
Nginx是目前最流行的Web服务器,由于具备高性能、高可靠以及支持热部署等特性被人们所青睐。Nginx用途广泛,其可作为静态资源服务器,也可充当代理服务器(HTTP/TCP/UDP/MAIL等),还可以用来实现一些简单的API服务。Nginx主要是通过其配置文件(一般名为nginx.conf)来控制它的行为,本文主要介绍其http模块下的server_name和location这两条指令的配置。
server指令块与虚拟主机
虚拟主机是一种在单一主机或主机群上运行多个网站或服务的技术,可以用来解决IP地址资源有限而网站数目日益增多的问题。实现方式主要有以下三种:
- 基于域名(Name-based)
- Apr 07 Thu 2022 11:37
-
securecrt密码获取

引用網址:https://www.cnblogs.com/Yang34/p/14237114.html
实际使用
找到目标securecrt保存在本地的所有连接会话文件,默认都存放在当前用户数据目录下的Config目录下的Sessions目录中,以.ini命名
%APPDATA%\VanDyke\Config\Sessions
C:\Users\yang\AppData\Roaming\VanDyke\Config\Sessions
- Jan 20 Thu 2022 17:53
-
Linux下apache以root身份运行
引用網址:https://zohead.com/archives/linux-apache-root/
最近在某个项目需求中需要在 Linux 下使 apache 以 root 身份运行(默认使用的是 apache 用户),直接修改 apache 配置文件 httpd.conf 中的运行身份为 User root 和 Group root 后启动 apache 结果会报下面的错误:
Error: Apache has not been designed to serve pages while running as root. There are known race conditions that will allow any local user to read any file on the system. If you still desire to serve pages as root then add -DBIG_SECURITY_HOLE to the EXTRA_CFLAGS line in your src/Configuration file and rebuild the server. It is strongly suggested that you instead modify the User directive in your httpd.conf file to list a non-root user.
看来 Linux 发行版中的 apache 因为安全原因默认就不允许以 root 身份运行了,必须修改编译选项 BIG_SECURITY_HOLE 重新编译安装 apache 才可以。
由于我使用的是 64 位的 RedHat Enterprise Linux 6 系统,考虑直接使用源代码 RPM 包的形式编译,我们实际上只需要替换 apache 的 httpd 这个二进制文件就可以启用 root 权限了,这样是最简单方便的方法了。
- Jan 20 Thu 2022 17:51
-
修改apache的httpd服务为root权限
引用網址:https://blog.csdn.net/wentinghe/article/details/41449433
一、修改配置文件
修改配置文件及重启服务
[root@localhost ~]# cd /etc/httpd/conf
[root@localhost conf]# vim httpd.conf修改配置文件

