mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2025-02-21 00:09:15 +08:00
small fixes, stat.cgi.local
This commit is contained in:
parent
1658067475
commit
eefe383bba
@ -5,5 +5,4 @@ printf "Domain: $SERVER_NAME\r\n"
|
||||
printf "Server: $SERVER_SOFTWARE\r\n"
|
||||
printf "OS: $(uname -or)\r\n"
|
||||
printf "Up: $(uptime)\r\n"
|
||||
printf "\n"
|
||||
printf "$(free -h)\r\n"
|
||||
sh stat.cgi.local || :
|
||||
|
@ -1,4 +1,5 @@
|
||||
#+TITLE: 个人历史
|
||||
#+OPTIONS: toc:nil
|
||||
#+TAGS: git(g) blog(b) video(v)
|
||||
|
||||
* 2023 暑假
|
||||
|
@ -70,6 +70,11 @@ service inetd onestart
|
||||
frp 这完意好啊, 但是 [[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030841][Debian 搁置了挺长时间]]也没加入
|
||||
我作为 RHEL7 入坑 Linux 的用户, 没有体验过 systemd 之前的服务管理, 这里可以体验一把.
|
||||
本来以为还得学 rc 脚本, 结果把同目录的 frps 改改就行了
|
||||
#+BEGIN_SRC sh
|
||||
cd /usr/local/etc/rc.d
|
||||
cp frps frpc
|
||||
sed -i '' 's/frps/frpc/g' frpc
|
||||
#+END_SRC
|
||||
别忘了把 gophernicus 的 host 和 port 改成远程主机的
|
||||
|
||||
** SSH 命根子
|
||||
@ -132,9 +137,6 @@ openssl req -x509 -newkey rsa:4096 -nodes \
|
||||
-out /usr/local/etc/ssl/gmid/example.com.crt \
|
||||
-keyout /usr/local/etc/ssl/gmid/example.com.key \
|
||||
-subj "/CN=example.com"
|
||||
|
||||
# disable save-entropy and adjkerntz
|
||||
vi /etc/crontab
|
||||
#+END_SRC
|
||||
|
||||
=/usr/local/etc/gmid.conf=:
|
||||
@ -166,7 +168,7 @@ server "example.com" {
|
||||
|
||||
cd /dongdigua.github.io
|
||||
git pull --rebase
|
||||
python misc/mdlist2gmi.py > posts.gmi
|
||||
python3.9 misc/mdlist2gmi.py > posts.gmi
|
||||
cp -r gmi/docker/cgi .
|
||||
rm index.gmi
|
||||
git checkout -- index.gmi
|
||||
|
2
posts.md
2
posts.md
@ -1,6 +1,6 @@
|
||||
## Table of Contents
|
||||
### Posts (sorted by time)
|
||||
- [2023-07-10 : 在 NanoPi R2S 上运行 FreeBSD/OpenBSD](nanopi_freebsd)<br>
|
||||
- [2023-07-10 : 在 NanoPi R2S 上运行 FreeBSD](nanopi_freebsd)<br>
|
||||
- [2023-06-08 : Org: Disable Gnus Loading when Org is Loaded](gmi/org_load_gnus_disable.gmi.txt)<br>
|
||||
- [2023-06-07 : Org Preserve Source Bock Highlighting when Exporting Non-Interactively](org_export_highlight)<br>
|
||||
- [2023-05-21 : Usenet 新闻组 和 命令行浏览器选择 (w3m, lynx, links, elpher, offpunk)](usenet_and_cli_browsers)<br>
|
||||
|
Loading…
Reference in New Issue
Block a user